pub enum ScalarType<'i> {
Versioned(VersionedType<'i>),
Primitive(PrimitiveType),
Void {
bits: u8,
},
}
Expand description
Scalar types (single values)
Variants
Versioned(VersionedType<'i>)
A composite type with a name and version
Primitive(PrimitiveType)
A primitive type
Void
Fields
bits: u8
A void type
Trait Implementations
Auto Trait Implementations
impl<'i> RefUnwindSafe for ScalarType<'i>
impl<'i> Send for ScalarType<'i>
impl<'i> Sync for ScalarType<'i>
impl<'i> Unpin for ScalarType<'i>
impl<'i> UnwindSafe for ScalarType<'i>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more