Enum menoh::Dtype [−][src]
pub enum Dtype {
Float,
}Dtype that accepted by menoh model.
Variants
Float
Methods
impl Dtype[src]
impl Dtypepub fn value(&self) -> menoh_dtype[src]
pub fn value(&self) -> menoh_dtypepub fn from(dtype: menoh_dtype) -> Self[src]
pub fn from(dtype: menoh_dtype) -> Selfpub fn type_id(&self) -> TypeId[src]
pub fn type_id(&self) -> TypeIdpub fn is_compatible<T: DtypeCompatible>(&self) -> bool[src]
pub fn is_compatible<T: DtypeCompatible>(&self) -> boolTrait Implementations
impl Debug for Dtype[src]
impl Debug for Dtypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Dtype[src]
impl Clone for Dtypefn clone(&self) -> Dtype[src]
fn clone(&self) -> DtypeReturns 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