Struct wasi_nn::TensorType
source · #[repr(transparent)]pub struct TensorType(_);
Implementations§
Trait Implementations§
source§impl Clone for TensorType
impl Clone for TensorType
source§fn clone(&self) -> TensorType
fn clone(&self) -> TensorType
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 TensorType
impl Debug for TensorType
source§impl Hash for TensorType
impl Hash for TensorType
source§impl Ord for TensorType
impl Ord for TensorType
source§fn cmp(&self, other: &TensorType) -> Ordering
fn cmp(&self, other: &TensorType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TensorType> for TensorType
impl PartialEq<TensorType> for TensorType
source§fn eq(&self, other: &TensorType) -> bool
fn eq(&self, other: &TensorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TensorType> for TensorType
impl PartialOrd<TensorType> for TensorType
source§fn partial_cmp(&self, other: &TensorType) -> Option<Ordering>
fn partial_cmp(&self, other: &TensorType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more