pub enum AttributeType {
Show 15 variants
UNDEFINED = 0,
FLOAT = 1,
INT = 2,
STRING = 3,
TENSOR = 4,
GRAPH = 5,
SPARSE_TENSOR = 11,
TYPE_PROTO = 13,
FLOATS = 6,
INTS = 7,
STRINGS = 8,
TENSORS = 9,
GRAPHS = 10,
SPARSE_TENSORS = 12,
TYPE_PROTOS = 14,
}
Variants§
UNDEFINED = 0
FLOAT = 1
INT = 2
STRING = 3
TENSOR = 4
GRAPH = 5
SPARSE_TENSOR = 11
TYPE_PROTO = 13
FLOATS = 6
INTS = 7
STRINGS = 8
TENSORS = 9
GRAPHS = 10
SPARSE_TENSORS = 12
TYPE_PROTOS = 14
Trait Implementations§
source§impl Clone for AttributeType
impl Clone for AttributeType
source§fn clone(&self) -> AttributeType
fn clone(&self) -> AttributeType
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 AttributeType
impl Debug for AttributeType
source§impl Default for AttributeType
impl Default for AttributeType
source§impl Enum for AttributeType
impl Enum for AttributeType
source§fn from_i32(value: i32) -> Option<AttributeType>
fn from_i32(value: i32) -> Option<AttributeType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<AttributeType>
fn from_str(str: &str) -> Option<AttributeType>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [AttributeType] = _
const VALUES: &'static [AttributeType] = _
All enum values for enum type.
source§impl Hash for AttributeType
impl Hash for AttributeType
source§impl PartialEq for AttributeType
impl PartialEq for AttributeType
source§fn eq(&self, other: &AttributeType) -> bool
fn eq(&self, other: &AttributeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AttributeType
impl Eq for AttributeType
impl StructuralPartialEq for AttributeType
Auto Trait Implementations§
impl Freeze for AttributeType
impl RefUnwindSafe for AttributeType
impl Send for AttributeType
impl Sync for AttributeType
impl Unpin for AttributeType
impl UnwindSafe for AttributeType
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