pub struct RootMargin {
pub top: MarginValue,
pub right: MarginValue,
pub bottom: MarginValue,
pub left: MarginValue,
}Expand description
rootMargin 定義 (top, right, bottom, left)
Fields§
§top: MarginValue§right: MarginValue§bottom: MarginValue§left: MarginValueImplementations§
Source§impl RootMargin
impl RootMargin
Trait Implementations§
Source§impl Clone for RootMargin
impl Clone for RootMargin
Source§fn clone(&self) -> RootMargin
fn clone(&self) -> RootMargin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RootMargin
Source§impl Debug for RootMargin
impl Debug for RootMargin
Source§impl PartialEq for RootMargin
impl PartialEq for RootMargin
impl StructuralPartialEq for RootMargin
Auto Trait Implementations§
impl Freeze for RootMargin
impl RefUnwindSafe for RootMargin
impl Send for RootMargin
impl Sync for RootMargin
impl Unpin for RootMargin
impl UnsafeUnpin for RootMargin
impl UnwindSafe for RootMargin
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more