Enum menoh::Dtype [−][src]
pub enum Dtype { Float, }
Dtype that accepted by menoh model.
Variants
Float
Methods
impl Dtype
[src]
impl Dtype
pub fn value(&self) -> menoh_dtype
[src]
pub fn value(&self) -> menoh_dtype
pub fn from(dtype: menoh_dtype) -> Self
[src]
pub fn from(dtype: menoh_dtype) -> Self
pub fn type_id(&self) -> TypeId
[src]
pub fn type_id(&self) -> TypeId
pub fn is_compatible<T: DtypeCompatible>(&self) -> bool
[src]
pub fn is_compatible<T: DtypeCompatible>(&self) -> bool
Trait Implementations
impl Debug for Dtype
[src]
impl Debug for Dtype
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Dtype
[src]
impl Clone for Dtype
fn clone(&self) -> Dtype
[src]
fn clone(&self) -> Dtype
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Dtype
[src]
impl Copy for Dtype