#[repr(C)]pub struct ArrayDef<'shape> {
pub vtable: &'shape ArrayVTable,
pub t: &'shape Shape<'shape>,
pub n: usize,
}
Expand description
Fields for array types
Fields§
§vtable: &'shape ArrayVTable
vtable for interacting with the array
t: &'shape Shape<'shape>
shape of the items in the array
n: usize
The length of the array
Implementations§
Trait Implementations§
impl<'shape> Copy for ArrayDef<'shape>
Auto Trait Implementations§
impl<'shape> Freeze for ArrayDef<'shape>
impl<'shape> RefUnwindSafe for ArrayDef<'shape>
impl<'shape> Send for ArrayDef<'shape>
impl<'shape> Sync for ArrayDef<'shape>
impl<'shape> Unpin for ArrayDef<'shape>
impl<'shape> UnwindSafe for ArrayDef<'shape>
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