pub struct InsetBlockStartStyleValue(pub AutoOr<LengthPercentage>);Expand description
Represents the style value for inset-block-start as defined in css-position-4.
CSS logical properties control borders, size, margin, and padding with directions and dimensions relative to the writing mode. For example, in a left to right, top to bottom writing mode, block-end refers to the bottom. Also known as flow relative.
The grammar is defined as:
auto | <length-percentage>Tuple Fields§
§0: AutoOr<LengthPercentage>Trait Implementations§
Source§impl Clone for InsetBlockStartStyleValue
impl Clone for InsetBlockStartStyleValue
Source§fn clone(&self) -> InsetBlockStartStyleValue
fn clone(&self) -> InsetBlockStartStyleValue
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 Debug for InsetBlockStartStyleValue
impl Debug for InsetBlockStartStyleValue
Source§impl Hash for InsetBlockStartStyleValue
impl Hash for InsetBlockStartStyleValue
Source§impl Ord for InsetBlockStartStyleValue
impl Ord for InsetBlockStartStyleValue
Source§fn cmp(&self, other: &InsetBlockStartStyleValue) -> Ordering
fn cmp(&self, other: &InsetBlockStartStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for InsetBlockStartStyleValue
impl<'a> Parse<'a> for InsetBlockStartStyleValue
Source§impl PartialOrd for InsetBlockStartStyleValue
impl PartialOrd for InsetBlockStartStyleValue
Source§impl<'a> Peek<'a> for InsetBlockStartStyleValue
impl<'a> Peek<'a> for InsetBlockStartStyleValue
Source§impl ToCursors for InsetBlockStartStyleValue
impl ToCursors for InsetBlockStartStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for InsetBlockStartStyleValue
impl StructuralPartialEq for InsetBlockStartStyleValue
Auto Trait Implementations§
impl Freeze for InsetBlockStartStyleValue
impl RefUnwindSafe for InsetBlockStartStyleValue
impl Send for InsetBlockStartStyleValue
impl Sync for InsetBlockStartStyleValue
impl Unpin for InsetBlockStartStyleValue
impl UnwindSafe for InsetBlockStartStyleValue
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