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