#[non_exhaustive]pub enum CaretShape {
Auto,
Bar,
Block,
Underscore,
}Expand description
A value of caret-shape.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CaretShape
impl Clone for CaretShape
Source§fn clone(&self) -> CaretShape
fn clone(&self) -> CaretShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CaretShape
impl Debug for CaretShape
Source§impl Display for CaretShape
impl Display for CaretShape
Source§impl PartialEq for CaretShape
impl PartialEq for CaretShape
impl StructuralPartialEq for CaretShape
Auto Trait Implementations§
impl Freeze for CaretShape
impl RefUnwindSafe for CaretShape
impl Send for CaretShape
impl Sync for CaretShape
impl Unpin for CaretShape
impl UnsafeUnpin for CaretShape
impl UnwindSafe for CaretShape
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