pub enum DataType16bitCopyWith<T: DataTypeCopy> {
Show 14 variants
None,
With(T),
U8,
I8,
ByteArray1,
Bool,
BitArray8,
U16,
I16,
ByteArray2,
BitArray16,
F16,
BF16,
ArrayString1,
}
Expand description
16-bit / 2-Byte data Type (extendable) (Copy)
See also:
- DataType16bitWith -Copy
- DataType16bitCopy -With
- DataType16bit -Copy -With
Variants§
None
Represents the absence of data type.
With(T)
A custom data type extension.
U8
8-bit unsigned integer
I8
8-bit signed integer
ByteArray1
1-Byte array of bytes
Bool
Boolean value
BitArray8
8-bit Array of bits
U16
16-bit unsigned integer
I16
16-bit signed integer
ByteArray2
2-Byte array of bytes
BitArray16
16-bit Array of bits
F16
Available on crate feature
half
only.16-bit half
’s binary16
floating-point number
BF16
Available on crate feature
half
only.16-bit half
’s bfloat16
floating-point number
ArrayString1
Available on crate feature
arraystring
only.2-Byte arraystring
’s ArrayString of len()=1
Trait Implementations§
Source§impl<T: Clone + DataTypeCopy> Clone for DataType16bitCopyWith<T>
impl<T: Clone + DataTypeCopy> Clone for DataType16bitCopyWith<T>
Source§fn clone(&self) -> DataType16bitCopyWith<T>
fn clone(&self) -> DataType16bitCopyWith<T>
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<T: DataTypeCopy> DataType for DataType16bitCopyWith<T>
impl<T: DataTypeCopy> DataType for DataType16bitCopyWith<T>
Source§impl<T: Debug + DataTypeCopy> Debug for DataType16bitCopyWith<T>
impl<T: Debug + DataTypeCopy> Debug for DataType16bitCopyWith<T>
impl<T: Copy + DataTypeCopy> Copy for DataType16bitCopyWith<T>
impl<T: DataTypeCopy> DataTypeCopy for DataType16bitCopyWith<T>
Auto Trait Implementations§
impl<T> Freeze for DataType16bitCopyWith<T>where
T: Freeze,
impl<T> RefUnwindSafe for DataType16bitCopyWith<T>where
T: RefUnwindSafe,
impl<T> Send for DataType16bitCopyWith<T>where
T: Send,
impl<T> Sync for DataType16bitCopyWith<T>where
T: Sync,
impl<T> Unpin for DataType16bitCopyWith<T>where
T: Unpin,
impl<T> UnwindSafe for DataType16bitCopyWith<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> Also for T
impl<T> Also for T
Source§impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
impl<T, Res> Apply<Res> for Twhere
T: ?Sized,
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DataSize for T
impl<T> DataSize for T
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.