#[repr(u8)]pub enum TensorType {
Show 14 variants
Bool = 0,
Int8 = 1,
Int16 = 2,
Int32 = 3,
Int64 = 4,
UInt8 = 5,
UInt16 = 6,
UInt32 = 7,
UInt64 = 8,
Float32 = 9,
Float64 = 10,
Timestamp = 11,
Duration = 12,
String = 13,
}
Variants§
Bool = 0
Int8 = 1
Int16 = 2
Int32 = 3
Int64 = 4
UInt8 = 5
UInt16 = 6
UInt32 = 7
UInt64 = 8
Float32 = 9
Float64 = 10
Timestamp = 11
Duration = 12
String = 13
Implementations§
Source§impl TensorType
impl TensorType
Source§impl TensorType
impl TensorType
Trait Implementations§
Source§impl Clone for TensorType
impl Clone for TensorType
Source§fn clone(&self) -> TensorType
fn clone(&self) -> TensorType
Returns a copy 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 Debug for TensorType
impl Debug for TensorType
Source§impl<'de> Deserialize<'de> for TensorType
impl<'de> Deserialize<'de> for TensorType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TensorType
impl Display for TensorType
Source§impl FromStr for TensorType
impl FromStr for TensorType
Source§impl Hash for TensorType
impl Hash for TensorType
Source§impl PartialEq for TensorType
impl PartialEq for TensorType
Source§impl Serialize for TensorType
impl Serialize for TensorType
Source§impl TryFrom<&str> for TensorType
impl TryFrom<&str> for TensorType
impl Eq for TensorType
impl StructuralPartialEq for TensorType
Auto Trait Implementations§
impl Freeze for TensorType
impl RefUnwindSafe for TensorType
impl Send for TensorType
impl Sync for TensorType
impl Unpin for TensorType
impl UnwindSafe for TensorType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more