#[non_exhaustive]pub enum PaddingBlockStart {
Length(Length),
Percentage(Percentage),
}Expand description
A value of padding-block-start.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PaddingBlockStart
impl Clone for PaddingBlockStart
Source§fn clone(&self) -> PaddingBlockStart
fn clone(&self) -> PaddingBlockStart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaddingBlockStart
impl Debug for PaddingBlockStart
Source§impl Display for PaddingBlockStart
impl Display for PaddingBlockStart
Source§impl From<Length> for PaddingBlockStart
impl From<Length> for PaddingBlockStart
Source§impl From<Percentage> for PaddingBlockStart
impl From<Percentage> for PaddingBlockStart
Source§fn from(v: Percentage) -> Self
fn from(v: Percentage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PaddingBlockStart
impl PartialEq for PaddingBlockStart
impl StructuralPartialEq for PaddingBlockStart
Auto Trait Implementations§
impl Freeze for PaddingBlockStart
impl RefUnwindSafe for PaddingBlockStart
impl Send for PaddingBlockStart
impl Sync for PaddingBlockStart
impl Unpin for PaddingBlockStart
impl UnsafeUnpin for PaddingBlockStart
impl UnwindSafe for PaddingBlockStart
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