Enum spacetimedb_table::layout::PrimitiveType
source · pub enum PrimitiveType {
Show 13 variants
Bool,
I8,
U8,
I16,
U16,
I32,
U32,
I64,
U64,
I128,
U128,
F32,
F64,
}Expand description
Variants of BuiltinType which do not require a VarLenRef indirection,
i.e. bools, integers and floats.
Variants§
Trait Implementations§
source§impl Debug for PrimitiveType
impl Debug for PrimitiveType
source§impl HasLayout for PrimitiveType
impl HasLayout for PrimitiveType
source§impl PartialEq for PrimitiveType
impl PartialEq for PrimitiveType
source§fn eq(&self, other: &PrimitiveType) -> bool
fn eq(&self, other: &PrimitiveType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PrimitiveType
impl StructuralPartialEq for PrimitiveType
Auto Trait Implementations§
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnwindSafe for PrimitiveType
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