Struct decthings_api::tensor::DecthingsTensorRules
source · pub struct DecthingsTensorRules {
pub shape: Vec<Option<u32>>,
pub allowed_types: Vec<DecthingsElementType>,
}
Fields§
§shape: Vec<Option<u32>>
§allowed_types: Vec<DecthingsElementType>
Trait Implementations§
source§impl Clone for DecthingsTensorRules
impl Clone for DecthingsTensorRules
source§fn clone(&self) -> DecthingsTensorRules
fn clone(&self) -> DecthingsTensorRules
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 DecthingsTensorRules
impl Debug for DecthingsTensorRules
source§impl<'de> Deserialize<'de> for DecthingsTensorRules
impl<'de> Deserialize<'de> for DecthingsTensorRules
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for DecthingsTensorRules
impl PartialEq for DecthingsTensorRules
source§fn eq(&self, other: &DecthingsTensorRules) -> bool
fn eq(&self, other: &DecthingsTensorRules) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DecthingsTensorRules
impl Serialize for DecthingsTensorRules
impl StructuralPartialEq for DecthingsTensorRules
Auto Trait Implementations§
impl Freeze for DecthingsTensorRules
impl RefUnwindSafe for DecthingsTensorRules
impl Send for DecthingsTensorRules
impl Sync for DecthingsTensorRules
impl Unpin for DecthingsTensorRules
impl UnwindSafe for DecthingsTensorRules
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