pub enum Type {
}
Expand description
Represents a POD type: scalar, fixed-size array or compound (struct). May be arbitrarily nested.
Variants§
Int8
1-byte signed integer
Int16
2-byte signed integer
Int32
4-byte signed integer
Int64
8-byte signed integer
UInt8
1-byte unsigned integer
UInt16
2-byte unsigned integer
UInt32
3-byte unsigned integer
UInt64
4-byte unsigned integer
Float32
4-byte floating-point number
Float64
8-byte floating-point number
Char
4-byte unicode character type
Bool
1-byte boolean type
Array(Box<Type>, usize)
fixed-size array with POD elements
Compound(Vec<Field>, usize)
compound type whose fields are POD
Implementations§
Trait Implementations§
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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