#[non_exhaustive]pub enum InsetInlineStart {
Auto,
Length(Length),
Percentage(Percentage),
Raw(Raw),
}Expand description
A value of inset-inline-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.
Auto
auto.
Length(Length)
A length.
Percentage(Percentage)
A percentage.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for InsetInlineStart
impl Clone for InsetInlineStart
Source§fn clone(&self) -> InsetInlineStart
fn clone(&self) -> InsetInlineStart
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 InsetInlineStart
impl Debug for InsetInlineStart
Source§impl Display for InsetInlineStart
impl Display for InsetInlineStart
Source§impl From<Length> for InsetInlineStart
impl From<Length> for InsetInlineStart
Source§impl From<Percentage> for InsetInlineStart
impl From<Percentage> for InsetInlineStart
Source§fn from(v: Percentage) -> Self
fn from(v: Percentage) -> Self
Converts to this type from the input type.
Source§impl From<Raw> for InsetInlineStart
impl From<Raw> for InsetInlineStart
Source§impl PartialEq for InsetInlineStart
impl PartialEq for InsetInlineStart
impl StructuralPartialEq for InsetInlineStart
Auto Trait Implementations§
impl Freeze for InsetInlineStart
impl RefUnwindSafe for InsetInlineStart
impl Send for InsetInlineStart
impl Sync for InsetInlineStart
impl Unpin for InsetInlineStart
impl UnsafeUnpin for InsetInlineStart
impl UnwindSafe for InsetInlineStart
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