#[non_exhaustive]pub enum OptionKind {
Bool,
Int,
Text,
}Expand description
The kind of value a format option takes.
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 OptionKind
impl Clone for OptionKind
impl Copy for OptionKind
Source§impl Debug for OptionKind
impl Debug for OptionKind
impl Eq for OptionKind
Source§impl Hash for OptionKind
impl Hash for OptionKind
Source§impl PartialEq for OptionKind
impl PartialEq for OptionKind
impl StructuralPartialEq for OptionKind
Auto Trait Implementations§
impl Forget for OptionKind
impl Freeze for OptionKind
impl Move for OptionKind
impl RefUnwindSafe for OptionKind
impl Send for OptionKind
impl Sync for OptionKind
impl Unpin for OptionKind
impl UnsafeUnpin for OptionKind
impl UnwindSafe for OptionKind
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