pub struct MarginBottom<T>(pub T)
where
T: Clone + Debug + Display + PartialEq + UnitDataType<Self>;Expand description
Tuple Fields§
§0: TImplementations§
Trait Implementations§
Source§impl AbsoluteLengthStorage for MarginBottom<MarginBottomValue>
impl AbsoluteLengthStorage for MarginBottom<MarginBottomValue>
fn absolute_length(value: AbsoluteLength) -> Selfwhere
Self: Sized,
Source§impl<T> Clone for MarginBottom<T>
impl<T> Clone for MarginBottom<T>
Source§fn clone(&self) -> MarginBottom<T>
fn clone(&self) -> MarginBottom<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 MarginBottom<MarginBottomValue>
impl ContainerLengthStorage for MarginBottom<MarginBottomValue>
fn container_length(value: ContainerLength) -> Selfwhere
Self: Sized,
Source§impl<T> Debug for MarginBottom<T>
impl<T> Debug for MarginBottom<T>
Source§impl Default for MarginBottom<MarginBottomValue>
impl Default for MarginBottom<MarginBottomValue>
Source§impl<T> Display for MarginBottom<T>
impl<T> Display for MarginBottom<T>
Source§impl EmStorage for MarginBottom<MarginBottomValue>
impl EmStorage for MarginBottom<MarginBottomValue>
Source§impl ExStorage for MarginBottom<MarginBottomValue>
impl ExStorage for MarginBottom<MarginBottomValue>
Source§impl FontLengthStorage for MarginBottom<MarginBottomValue>
impl FontLengthStorage for MarginBottom<MarginBottomValue>
fn font_length(value: FontLength) -> Selfwhere
Self: Sized,
Source§impl<T> From<T> for MarginBottom<MarginBottomValue>where
T: Into<LengthPercentage>,
impl<T> From<T> for MarginBottom<MarginBottomValue>where
T: Into<LengthPercentage>,
Source§impl<T> From<T> for MarginBottom<T>
impl<T> From<T> for MarginBottom<T>
Source§impl IcStorage for MarginBottom<MarginBottomValue>
impl IcStorage for MarginBottom<MarginBottomValue>
Source§impl InchStorage for MarginBottom<MarginBottomValue>
impl InchStorage for MarginBottom<MarginBottomValue>
Source§impl LengthPercentageStorage for MarginBottom<MarginBottomValue>
impl LengthPercentageStorage for MarginBottom<MarginBottomValue>
fn length_percentage(value: LengthPercentage) -> Selfwhere
Self: Sized,
Source§impl<T> PartialEq for MarginBottom<T>
impl<T> PartialEq for MarginBottom<T>
Source§impl PicaStorage for MarginBottom<MarginBottomValue>
impl PicaStorage for MarginBottom<MarginBottomValue>
Source§impl PixelStorage for MarginBottom<MarginBottomValue>
impl PixelStorage for MarginBottom<MarginBottomValue>
Source§impl PointStorage for MarginBottom<MarginBottomValue>
impl PointStorage for MarginBottom<MarginBottomValue>
Source§impl<T> Property for MarginBottom<T>
impl<T> Property for MarginBottom<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 MarginBottom<T>
impl<T> PropertyName for MarginBottom<T>
fn property_name<'a>(&self) -> &'a str
Source§impl RelativeLengthStorage for MarginBottom<MarginBottomValue>
impl RelativeLengthStorage for MarginBottom<MarginBottomValue>
fn relative_length(value: RelativeLength) -> Selfwhere
Self: Sized,
Source§impl ViewportLengthStorage for MarginBottom<MarginBottomValue>
impl ViewportLengthStorage for MarginBottom<MarginBottomValue>
fn viewport_length(value: ViewportLength) -> Selfwhere
Self: Sized,
impl<T> StructuralPartialEq for MarginBottom<T>
impl UnitDataType<MarginBottom<MarginBottomValue>> for MarginBottomValue
impl UnitDataType<MarginBottom<Nothing>> for Nothing
impl<T> UnitDataType<MarginBottom<Var<T>>> for Var<T>
impl<T> UnitDataTypeContainer<T> for MarginBottom<T>
Auto Trait Implementations§
impl<T> Freeze for MarginBottom<T>where
T: Freeze,
impl<T> RefUnwindSafe for MarginBottom<T>where
T: RefUnwindSafe,
impl<T> Send for MarginBottom<T>where
T: Send,
impl<T> Sync for MarginBottom<T>where
T: Sync,
impl<T> Unpin for MarginBottom<T>where
T: Unpin,
impl<T> UnwindSafe for MarginBottom<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