#[non_exhaustive]pub enum KnowledgeType {
Bool,
Counter,
Flags,
Other(u8),
}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 KnowledgeType
impl Clone for KnowledgeType
impl Copy for KnowledgeType
Source§impl Debug for KnowledgeType
impl Debug for KnowledgeType
impl Eq for KnowledgeType
Source§impl Hash for KnowledgeType
impl Hash for KnowledgeType
Source§impl PartialEq for KnowledgeType
impl PartialEq for KnowledgeType
impl StructuralPartialEq for KnowledgeType
Auto Trait Implementations§
impl Freeze for KnowledgeType
impl RefUnwindSafe for KnowledgeType
impl Send for KnowledgeType
impl Sync for KnowledgeType
impl Unpin for KnowledgeType
impl UnsafeUnpin for KnowledgeType
impl UnwindSafe for KnowledgeType
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