pub struct ScrollMargin<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Source§impl AbsoluteLengthStorage for ScrollMargin<ScrollMarginValue>
impl AbsoluteLengthStorage for ScrollMargin<ScrollMarginValue>
fn absolute_length(value: AbsoluteLength) -> Selfwhere
Self: Sized,
Source§impl<T> Clone for ScrollMargin<T>
impl<T> Clone for ScrollMargin<T>
Source§fn clone(&self) -> ScrollMargin<T>
fn clone(&self) -> ScrollMargin<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContainerLengthStorage for ScrollMargin<ScrollMarginValue>
impl ContainerLengthStorage for ScrollMargin<ScrollMarginValue>
fn container_length(value: ContainerLength) -> Selfwhere
Self: Sized,
Source§impl<T> Debug for ScrollMargin<T>
impl<T> Debug for ScrollMargin<T>
Source§impl Default for ScrollMargin<ScrollMarginValue>
impl Default for ScrollMargin<ScrollMarginValue>
Source§impl<T> Display for ScrollMargin<T>
impl<T> Display for ScrollMargin<T>
Source§impl EmStorage for ScrollMargin<ScrollMarginValue>
impl EmStorage for ScrollMargin<ScrollMarginValue>
Source§impl ExStorage for ScrollMargin<ScrollMarginValue>
impl ExStorage for ScrollMargin<ScrollMarginValue>
Source§impl FontLengthStorage for ScrollMargin<ScrollMarginValue>
impl FontLengthStorage for ScrollMargin<ScrollMarginValue>
fn font_length(value: FontLength) -> Selfwhere
Self: Sized,
Source§impl<T> From<T> for ScrollMargin<ScrollMarginValue>
impl<T> From<T> for ScrollMargin<ScrollMarginValue>
Source§impl<T> From<T> for ScrollMargin<T>
impl<T> From<T> for ScrollMargin<T>
Source§impl IcStorage for ScrollMargin<ScrollMarginValue>
impl IcStorage for ScrollMargin<ScrollMarginValue>
Source§impl InchStorage for ScrollMargin<ScrollMarginValue>
impl InchStorage for ScrollMargin<ScrollMarginValue>
Source§impl<T> PartialEq for ScrollMargin<T>
impl<T> PartialEq for ScrollMargin<T>
Source§impl PicaStorage for ScrollMargin<ScrollMarginValue>
impl PicaStorage for ScrollMargin<ScrollMarginValue>
Source§impl PixelStorage for ScrollMargin<ScrollMarginValue>
impl PixelStorage for ScrollMargin<ScrollMarginValue>
Source§impl PointStorage for ScrollMargin<ScrollMarginValue>
impl PointStorage for ScrollMargin<ScrollMarginValue>
Source§impl<T> Property for ScrollMargin<T>
impl<T> Property for ScrollMargin<T>
Source§fn declaration(&self) -> String
fn declaration(&self) -> String
Returns the stringified property name with its value
as a CSS declaration to be used within a declaration block. Read more
Source§impl<T> PropertyName for ScrollMargin<T>
impl<T> PropertyName for ScrollMargin<T>
fn property_name<'a>(&self) -> &'a str
Source§impl RelativeLengthStorage for ScrollMargin<ScrollMarginValue>
impl RelativeLengthStorage for ScrollMargin<ScrollMarginValue>
fn relative_length(value: RelativeLength) -> Selfwhere
Self: Sized,
Source§impl ViewportLengthStorage for ScrollMargin<ScrollMarginValue>
impl ViewportLengthStorage for ScrollMargin<ScrollMarginValue>
fn viewport_length(value: ViewportLength) -> Selfwhere
Self: Sized,
impl<T> StructuralPartialEq for ScrollMargin<T>
impl UnitDataType<ScrollMargin<Nothing>> for Nothing
impl UnitDataType<ScrollMargin<ScrollMarginValue>> for ScrollMarginValue
impl<T> UnitDataType<ScrollMargin<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for ScrollMargin<T>
Auto Trait Implementations§
impl<T> Freeze for ScrollMargin<T>where
T: Freeze,
impl<T> RefUnwindSafe for ScrollMargin<T>where
T: RefUnwindSafe,
impl<T> Send for ScrollMargin<T>where
T: Send,
impl<T> Sync for ScrollMargin<T>where
T: Sync,
impl<T> Unpin for ScrollMargin<T>where
T: Unpin,
impl<T> UnwindSafe for ScrollMargin<T>where
T: UnwindSafe,
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