pub enum PositionSingleValue {
Left(Ident),
Right(Ident),
Center(Ident),
Top(Ident),
Bottom(Ident),
LengthPercentage(LengthPercentage),
}Variants§
Trait Implementations§
Source§impl Clone for PositionSingleValue
impl Clone for PositionSingleValue
Source§fn clone(&self) -> PositionSingleValue
fn clone(&self) -> PositionSingleValue
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 PositionSingleValue
impl Debug for PositionSingleValue
Source§impl From<PositionSingleValue> for Cursor
impl From<PositionSingleValue> for Cursor
Source§fn from(value: PositionSingleValue) -> Cursor
fn from(value: PositionSingleValue) -> Cursor
Converts to this type from the input type.
Source§impl From<PositionSingleValue> for Kind
impl From<PositionSingleValue> for Kind
Source§fn from(value: PositionSingleValue) -> Self
fn from(value: PositionSingleValue) -> Self
Converts to this type from the input type.
Source§impl From<PositionSingleValue> for Token
impl From<PositionSingleValue> for Token
Source§fn from(value: PositionSingleValue) -> Token
fn from(value: PositionSingleValue) -> Token
Converts to this type from the input type.
Source§impl Hash for PositionSingleValue
impl Hash for PositionSingleValue
Source§impl Ord for PositionSingleValue
impl Ord for PositionSingleValue
Source§fn cmp(&self, other: &PositionSingleValue) -> Ordering
fn cmp(&self, other: &PositionSingleValue) -> 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 PositionSingleValue
impl<'a> Parse<'a> for PositionSingleValue
Source§impl PartialEq for PositionSingleValue
impl PartialEq for PositionSingleValue
Source§impl PartialOrd for PositionSingleValue
impl PartialOrd for PositionSingleValue
Source§impl<'a> Peek<'a> for PositionSingleValue
impl<'a> Peek<'a> for PositionSingleValue
Source§impl ToCursors for PositionSingleValue
impl ToCursors for PositionSingleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for PositionSingleValue
impl Eq for PositionSingleValue
impl StructuralPartialEq for PositionSingleValue
Auto Trait Implementations§
impl Freeze for PositionSingleValue
impl RefUnwindSafe for PositionSingleValue
impl Send for PositionSingleValue
impl Sync for PositionSingleValue
impl Unpin for PositionSingleValue
impl UnwindSafe for PositionSingleValue
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