pub struct LeftStyleValue(pub AutoOr<LengthPercentage>);Expand description
Represents the style value for left as defined in css-position-4.
The physical CSS properties, top, right, bottom, and left, set the inset position of an element relative to the corresponding side of a container determined by the element’s position property.
The grammar is defined as:
auto | <length-percentage>Tuple Fields§
§0: AutoOr<LengthPercentage>Trait Implementations§
Source§impl Clone for LeftStyleValue
impl Clone for LeftStyleValue
Source§fn clone(&self) -> LeftStyleValue
fn clone(&self) -> LeftStyleValue
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 LeftStyleValue
impl Debug for LeftStyleValue
Source§impl Hash for LeftStyleValue
impl Hash for LeftStyleValue
Source§impl Ord for LeftStyleValue
impl Ord for LeftStyleValue
Source§fn cmp(&self, other: &LeftStyleValue) -> Ordering
fn cmp(&self, other: &LeftStyleValue) -> 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 LeftStyleValue
impl<'a> Parse<'a> for LeftStyleValue
Source§impl PartialEq for LeftStyleValue
impl PartialEq for LeftStyleValue
Source§impl PartialOrd for LeftStyleValue
impl PartialOrd for LeftStyleValue
Source§impl<'a> Peek<'a> for LeftStyleValue
impl<'a> Peek<'a> for LeftStyleValue
Source§impl ToCursors for LeftStyleValue
impl ToCursors for LeftStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for LeftStyleValue
impl StructuralPartialEq for LeftStyleValue
Auto Trait Implementations§
impl Freeze for LeftStyleValue
impl RefUnwindSafe for LeftStyleValue
impl Send for LeftStyleValue
impl Sync for LeftStyleValue
impl Unpin for LeftStyleValue
impl UnwindSafe for LeftStyleValue
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