#[repr(u32)]pub enum ModelEncoding {
TensorFlowLite = 0,
}Expand description
Model serialization formats supported by inference backends.
Variants§
TensorFlowLite = 0
TensorFlow Lite FlatBuffer format (0).
Implementations§
Trait Implementations§
Source§impl Clone for ModelEncoding
impl Clone for ModelEncoding
Source§fn clone(&self) -> ModelEncoding
fn clone(&self) -> ModelEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModelEncoding
impl Debug for ModelEncoding
Source§impl From<ModelEncoding> for u32
impl From<ModelEncoding> for u32
Source§fn from(encoding: ModelEncoding) -> Self
fn from(encoding: ModelEncoding) -> Self
Converts to this type from the input type.
Source§impl Hash for ModelEncoding
impl Hash for ModelEncoding
Source§impl PartialEq for ModelEncoding
impl PartialEq for ModelEncoding
Source§fn eq(&self, other: &ModelEncoding) -> bool
fn eq(&self, other: &ModelEncoding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for ModelEncoding
impl TryFrom<u32> for ModelEncoding
impl Copy for ModelEncoding
impl Eq for ModelEncoding
impl StructuralPartialEq for ModelEncoding
Auto Trait Implementations§
impl Freeze for ModelEncoding
impl RefUnwindSafe for ModelEncoding
impl Send for ModelEncoding
impl Sync for ModelEncoding
impl Unpin for ModelEncoding
impl UnsafeUnpin for ModelEncoding
impl UnwindSafe for ModelEncoding
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