pub struct StaticArray<T: Default + Copy, const SIZE: usize> { /* private fields */ }Trait Implementations§
Source§impl<T: Clone + Default + Copy, const SIZE: usize> Clone for StaticArray<T, SIZE>
impl<T: Clone + Default + Copy, const SIZE: usize> Clone for StaticArray<T, SIZE>
Source§fn clone(&self) -> StaticArray<T, SIZE>
fn clone(&self) -> StaticArray<T, SIZE>
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 moreimpl<T: Copy + Default + Copy, const SIZE: usize> Copy for StaticArray<T, SIZE>
Auto Trait Implementations§
impl<T, const SIZE: usize> Freeze for StaticArray<T, SIZE>where
T: Freeze,
impl<T, const SIZE: usize> RefUnwindSafe for StaticArray<T, SIZE>where
T: RefUnwindSafe,
impl<T, const SIZE: usize> Send for StaticArray<T, SIZE>where
T: Send,
impl<T, const SIZE: usize> Sync for StaticArray<T, SIZE>where
T: Sync,
impl<T, const SIZE: usize> Unpin for StaticArray<T, SIZE>where
T: Unpin,
impl<T, const SIZE: usize> UnwindSafe for StaticArray<T, SIZE>where
T: UnwindSafe,
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