pub enum ResizeStyleValue {
None(Ident),
Both(Ident),
Horizontal(Ident),
Vertical(Ident),
Block(Ident),
Inline(Ident),
}Expand description
Represents the style value for resize as defined in css-ui-4.
The resize CSS property sets whether an element can be resized by the user, and on which axes.
The grammar is defined as:
none | both | horizontal | vertical | block | inlineVariants§
Trait Implementations§
Source§impl Clone for ResizeStyleValue
impl Clone for ResizeStyleValue
Source§fn clone(&self) -> ResizeStyleValue
fn clone(&self) -> ResizeStyleValue
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 ResizeStyleValue
impl Debug for ResizeStyleValue
Source§impl Hash for ResizeStyleValue
impl Hash for ResizeStyleValue
Source§impl Ord for ResizeStyleValue
impl Ord for ResizeStyleValue
Source§fn cmp(&self, other: &ResizeStyleValue) -> Ordering
fn cmp(&self, other: &ResizeStyleValue) -> 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 ResizeStyleValue
impl<'a> Parse<'a> for ResizeStyleValue
Source§impl PartialEq for ResizeStyleValue
impl PartialEq for ResizeStyleValue
Source§impl PartialOrd for ResizeStyleValue
impl PartialOrd for ResizeStyleValue
Source§impl<'a> Peek<'a> for ResizeStyleValue
impl<'a> Peek<'a> for ResizeStyleValue
Source§impl ToCursors for ResizeStyleValue
impl ToCursors for ResizeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for ResizeStyleValue
impl StructuralPartialEq for ResizeStyleValue
Auto Trait Implementations§
impl Freeze for ResizeStyleValue
impl RefUnwindSafe for ResizeStyleValue
impl Send for ResizeStyleValue
impl Sync for ResizeStyleValue
impl Unpin for ResizeStyleValue
impl UnwindSafe for ResizeStyleValue
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