pub enum SpatialNavigationFunctionStyleValue {
Normal(Ident),
Grid(Ident),
}Expand description
Represents the style value for spatial-navigation-function as defined in css-nav-1.
The grammar is defined as:
normal | gridVariants§
Trait Implementations§
Source§fn clone(&self) -> SpatialNavigationFunctionStyleValue
fn clone(&self) -> SpatialNavigationFunctionStyleValue
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§fn cmp(&self, other: &SpatialNavigationFunctionStyleValue) -> Ordering
fn cmp(&self, other: &SpatialNavigationFunctionStyleValue) -> 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§fn eq(&self, other: &SpatialNavigationFunctionStyleValue) -> bool
fn eq(&self, other: &SpatialNavigationFunctionStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.fn to_cursors(&self, s: &mut impl CursorSink)
Auto Trait Implementations§
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