pub struct Array<const N: usize, F, B> { /* private fields */ }
Implementations§
Source§impl<const N: usize, F: ArrayAppend + Length, B: MemorySize + RemoveFirst> Array<N, F, B>
impl<const N: usize, F: ArrayAppend + Length, B: MemorySize + RemoveFirst> Array<N, F, B>
pub fn push<V>(self, value: V) -> Array<N, F::Output<V>, Node<V, B>>
pub const fn forward(&self) -> RefIterator<'_, F, Empty, Self>
pub const fn backward(&self) -> RefIterator<'_, B::Element, B::Rest, Self>
pub const fn len(&self) -> usize
pub const fn is_empty(&self) -> bool
Auto Trait Implementations§
impl<const N: usize, F, B> Freeze for Array<N, F, B>
impl<const N: usize, F, B> RefUnwindSafe for Array<N, F, B>where
F: RefUnwindSafe,
B: RefUnwindSafe,
impl<const N: usize, F, B> Send for Array<N, F, B>
impl<const N: usize, F, B> Sync for Array<N, F, B>
impl<const N: usize, F, B> Unpin for Array<N, F, B>
impl<const N: usize, F, B> UnwindSafe for Array<N, F, B>where
F: UnwindSafe,
B: 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