pub struct StaticBuffer<T, S: ConstShape, A: Allocator = Global> { /* private fields */ }Expand description
Array buffer type with inline allocation.
Trait Implementations§
Source§impl<T, S: ConstShape, A: Allocator> Buffer for StaticBuffer<T, S, A>
impl<T, S: ConstShape, A: Allocator> Buffer for StaticBuffer<T, S, A>
Source§impl<T: Clone, S: ConstShape, A: Allocator + Clone> Clone for StaticBuffer<T, S, A>
impl<T: Clone, S: ConstShape, A: Allocator + Clone> Clone for StaticBuffer<T, S, A>
Source§impl<T, S: ConstShape, A: Allocator> Owned for StaticBuffer<T, S, A>
impl<T, S: ConstShape, A: Allocator> Owned for StaticBuffer<T, S, A>
impl<T: Copy, S: ConstShape<Inner<T>: Copy>, A: Allocator + Copy> Copy for StaticBuffer<T, S, A>
Auto Trait Implementations§
impl<T, S, A> Freeze for StaticBuffer<T, S, A>
impl<T, S, A> RefUnwindSafe for StaticBuffer<T, S, A>
impl<T, S, A> Send for StaticBuffer<T, S, A>
impl<T, S, A> Sync for StaticBuffer<T, S, A>
impl<T, S, A> Unpin for StaticBuffer<T, S, A>
impl<T, S, A> UnwindSafe for StaticBuffer<T, S, A>
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