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