#[repr(C)]pub struct NdArrayDef {
pub vtable: &'static NdArrayVTable,
pub t: fn() -> &'static Shape,
}
Expand description
Fields for n-dimensional array types
Fields§
§vtable: &'static NdArrayVTable
vtable for interacting with the array
t: fn() -> &'static Shape
shape of the items in the array
Implementations§
Source§impl NdArrayDef
impl NdArrayDef
Trait Implementations§
Source§impl Clone for NdArrayDef
impl Clone for NdArrayDef
Source§fn clone(&self) -> NdArrayDef
fn clone(&self) -> NdArrayDef
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 moreSource§impl Debug for NdArrayDef
impl Debug for NdArrayDef
impl Copy for NdArrayDef
Auto Trait Implementations§
impl Freeze for NdArrayDef
impl RefUnwindSafe for NdArrayDef
impl Send for NdArrayDef
impl Sync for NdArrayDef
impl Unpin for NdArrayDef
impl UnwindSafe for NdArrayDef
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