[−][src]Enum b3_rs::datatypes::DataType
Data type container.
Variants
The null data type.
StandardType(KnownType)
A standard-defined data type.
The type is encoded in the "data type" bits of an item's control byte.
StandardExtendedType(KnownExtendedType)
A standard-defined extended data type.
The type is encoded as a UVarInt
(unsigned LEB128) added after the
item's control byte, and the "data type" bits of the control byte are
all set to 1
.
UserExtendedType(u64)
A user-defined extended data type.
The type is encoded as a UVarInt
(unsigned LEB128) added after the
item's control byte, and the "data type" bits of the control byte are
all set to 1
.
Data type numbers 96 through 8191 (inclusive) are available for use as user-defined types.
Implementations
impl DataType
[src]
Trait Implementations
impl Clone for DataType
[src]
impl Copy for DataType
[src]
impl Debug for DataType
[src]
impl From<KnownExtendedType> for DataType
[src]
fn from(t: KnownExtendedType) -> Self
[src]
impl From<KnownType> for DataType
[src]
impl From<u64> for DataType
[src]
impl PartialEq<DataType> for DataType
[src]
impl StructuralPartialEq for DataType
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,