pub enum ValueFamily {
Numeric,
Textual,
Identifier,
Enum,
Collection,
Blob,
Bool,
Null,
Unit,
Unsupported,
}Expand description
High-level semantic classification of a Value.
Variants§
Implementations§
Source§impl ValueFamily
impl ValueFamily
pub const fn is_numeric(self) -> bool
pub const fn is_textual(self) -> bool
pub const fn is_identifier(self) -> bool
pub const fn is_collection(self) -> bool
pub const fn is_enum(self) -> bool
pub const fn is_null(self) -> bool
pub const fn is_scalar(self) -> bool
Trait Implementations§
Source§impl Clone for ValueFamily
impl Clone for ValueFamily
Source§fn clone(&self) -> ValueFamily
fn clone(&self) -> ValueFamily
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 ValueFamily
impl Debug for ValueFamily
Source§impl PartialEq for ValueFamily
impl PartialEq for ValueFamily
impl Copy for ValueFamily
impl Eq for ValueFamily
impl StructuralPartialEq for ValueFamily
Auto Trait Implementations§
impl Freeze for ValueFamily
impl RefUnwindSafe for ValueFamily
impl Send for ValueFamily
impl Sync for ValueFamily
impl Unpin for ValueFamily
impl UnwindSafe for ValueFamily
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