#[non_exhaustive]pub enum VariableType {
str,
u8_blob,
u16_blob,
u32_blob,
u64_blob,
}
Expand description
An enumeration to describe a variable-length type
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.
Implementations§
Source§impl VariableType
impl VariableType
Trait Implementations§
Source§impl Clone for VariableType
impl Clone for VariableType
Source§fn clone(&self) -> VariableType
fn clone(&self) -> VariableType
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 VariableType
impl Debug for VariableType
Source§impl EnumIterItem for VariableType
impl EnumIterItem for VariableType
type Item = VariableType
fn iter_items() -> IntoIter<Self::Item>
Source§impl From<VariableType> for PrimitiveType
impl From<VariableType> for PrimitiveType
Source§fn from(value: VariableType) -> Self
fn from(value: VariableType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VariableType
impl PartialEq for VariableType
Source§impl TryFrom<&str> for VariableType
impl TryFrom<&str> for VariableType
impl Copy for VariableType
impl Eq for VariableType
impl StructuralPartialEq for VariableType
Auto Trait Implementations§
impl Freeze for VariableType
impl RefUnwindSafe for VariableType
impl Send for VariableType
impl Sync for VariableType
impl Unpin for VariableType
impl UnwindSafe for VariableType
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