#[repr(C)]pub struct ArrayType<'shape> {
pub t: &'shape Shape<'shape>,
pub n: usize,
}Expand description
Describes a fixed-size array ([T; N])
Fields§
§t: &'shape Shape<'shape>Shape of the underlying object stored on array
n: usizeConstant length of the array
Trait Implementations§
impl<'shape> Copy for ArrayType<'shape>
Auto Trait Implementations§
impl<'shape> Freeze for ArrayType<'shape>
impl<'shape> RefUnwindSafe for ArrayType<'shape>
impl<'shape> Send for ArrayType<'shape>
impl<'shape> Sync for ArrayType<'shape>
impl<'shape> Unpin for ArrayType<'shape>
impl<'shape> UnwindSafe for ArrayType<'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