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