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