pub struct ResidentWeight {
pub dtype: DataType,
pub shape: Vec<usize>,
/* private fields */
}Fields§
§dtype: DataType§shape: Vec<usize>Implementations§
Trait Implementations§
Source§impl Clone for ResidentWeight
impl Clone for ResidentWeight
Source§fn clone(&self) -> ResidentWeight
fn clone(&self) -> ResidentWeight
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 ResidentWeight
impl Debug for ResidentWeight
impl Eq for ResidentWeight
Source§impl PartialEq for ResidentWeight
impl PartialEq for ResidentWeight
impl StructuralPartialEq for ResidentWeight
Auto Trait Implementations§
impl Freeze for ResidentWeight
impl RefUnwindSafe for ResidentWeight
impl Send for ResidentWeight
impl Sync for ResidentWeight
impl Unpin for ResidentWeight
impl UnsafeUnpin for ResidentWeight
impl UnwindSafe for ResidentWeight
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