pub enum CaretShapeStyleValue {
Auto(Ident),
Bar(Ident),
Block(Ident),
Underscore(Ident),
}Expand description
Represents the style value for caret-shape as defined in css-ui-4.
The caret-shape CSS property controls the shape of the insertion caret, the symbol that shows where the next character is to be inserted or deleted.
The grammar is defined as:
auto | bar | block | underscoreVariants§
Trait Implementations§
Source§impl Clone for CaretShapeStyleValue
impl Clone for CaretShapeStyleValue
Source§fn clone(&self) -> CaretShapeStyleValue
fn clone(&self) -> CaretShapeStyleValue
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 CaretShapeStyleValue
impl Debug for CaretShapeStyleValue
Source§impl Hash for CaretShapeStyleValue
impl Hash for CaretShapeStyleValue
Source§impl Ord for CaretShapeStyleValue
impl Ord for CaretShapeStyleValue
Source§fn cmp(&self, other: &CaretShapeStyleValue) -> Ordering
fn cmp(&self, other: &CaretShapeStyleValue) -> 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 CaretShapeStyleValue
impl<'a> Parse<'a> for CaretShapeStyleValue
Source§impl PartialEq for CaretShapeStyleValue
impl PartialEq for CaretShapeStyleValue
Source§impl PartialOrd for CaretShapeStyleValue
impl PartialOrd for CaretShapeStyleValue
Source§impl<'a> Peek<'a> for CaretShapeStyleValue
impl<'a> Peek<'a> for CaretShapeStyleValue
Source§impl ToCursors for CaretShapeStyleValue
impl ToCursors for CaretShapeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for CaretShapeStyleValue
impl StructuralPartialEq for CaretShapeStyleValue
Auto Trait Implementations§
impl Freeze for CaretShapeStyleValue
impl RefUnwindSafe for CaretShapeStyleValue
impl Send for CaretShapeStyleValue
impl Sync for CaretShapeStyleValue
impl Unpin for CaretShapeStyleValue
impl UnwindSafe for CaretShapeStyleValue
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