pub struct RightStyleValue(pub AutoOr<LengthPercentage>);Expand description
Represents the style value for right 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 RightStyleValue
impl Clone for RightStyleValue
Source§fn clone(&self) -> RightStyleValue
fn clone(&self) -> RightStyleValue
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 RightStyleValue
impl Debug for RightStyleValue
Source§impl Hash for RightStyleValue
impl Hash for RightStyleValue
Source§impl Ord for RightStyleValue
impl Ord for RightStyleValue
Source§fn cmp(&self, other: &RightStyleValue) -> Ordering
fn cmp(&self, other: &RightStyleValue) -> 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 RightStyleValue
impl<'a> Parse<'a> for RightStyleValue
Source§impl PartialEq for RightStyleValue
impl PartialEq for RightStyleValue
Source§impl PartialOrd for RightStyleValue
impl PartialOrd for RightStyleValue
Source§impl<'a> Peek<'a> for RightStyleValue
impl<'a> Peek<'a> for RightStyleValue
Source§impl ToCursors for RightStyleValue
impl ToCursors for RightStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for RightStyleValue
impl StructuralPartialEq for RightStyleValue
Auto Trait Implementations§
impl Freeze for RightStyleValue
impl RefUnwindSafe for RightStyleValue
impl Send for RightStyleValue
impl Sync for RightStyleValue
impl Unpin for RightStyleValue
impl UnwindSafe for RightStyleValue
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