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