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