pub struct StorageRef {
pub key: String,
pub dtype: DType,
pub size_elems: usize,
}Fields§
§key: String§dtype: DType§size_elems: usizeTrait Implementations§
Source§impl Clone for StorageRef
impl Clone for StorageRef
Source§fn clone(&self) -> StorageRef
fn clone(&self) -> StorageRef
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for StorageRef
impl RefUnwindSafe for StorageRef
impl Send for StorageRef
impl Sync for StorageRef
impl Unpin for StorageRef
impl UnsafeUnpin for StorageRef
impl UnwindSafe for StorageRef
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