#[repr(u32)]pub enum TF_AttrType {
TF_ATTR_STRING = 0,
TF_ATTR_INT = 1,
TF_ATTR_FLOAT = 2,
TF_ATTR_BOOL = 3,
TF_ATTR_TYPE = 4,
TF_ATTR_SHAPE = 5,
TF_ATTR_TENSOR = 6,
TF_ATTR_PLACEHOLDER = 7,
TF_ATTR_FUNC = 8,
}
Variants§
TF_ATTR_STRING = 0
TF_ATTR_INT = 1
TF_ATTR_FLOAT = 2
TF_ATTR_BOOL = 3
TF_ATTR_TYPE = 4
TF_ATTR_SHAPE = 5
TF_ATTR_TENSOR = 6
TF_ATTR_PLACEHOLDER = 7
TF_ATTR_FUNC = 8
Trait Implementations§
Source§impl Clone for TF_AttrType
impl Clone for TF_AttrType
Source§fn clone(&self) -> TF_AttrType
fn clone(&self) -> TF_AttrType
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 TF_AttrType
impl Debug for TF_AttrType
Source§impl Hash for TF_AttrType
impl Hash for TF_AttrType
Source§impl PartialEq for TF_AttrType
impl PartialEq for TF_AttrType
impl Copy for TF_AttrType
impl Eq for TF_AttrType
impl StructuralPartialEq for TF_AttrType
Auto Trait Implementations§
impl Freeze for TF_AttrType
impl RefUnwindSafe for TF_AttrType
impl Send for TF_AttrType
impl Sync for TF_AttrType
impl Unpin for TF_AttrType
impl UnwindSafe for TF_AttrType
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