#[non_exhaustive]pub enum Caret {
Auto,
Bar,
Block,
Manual,
Underscore,
Color(Color),
Raw(Raw),
}Expand description
A value of caret.
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.
Auto
auto.
Bar
bar.
Block
block.
Manual
manual.
Underscore
underscore.
Color(Color)
A color.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
impl StructuralPartialEq for Caret
Auto Trait Implementations§
impl Freeze for Caret
impl RefUnwindSafe for Caret
impl Send for Caret
impl Sync for Caret
impl Unpin for Caret
impl UnsafeUnpin for Caret
impl UnwindSafe for Caret
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