pub struct Buffer<const SIZE: usize> { /* private fields */ }
Expand description
Array-backed buffer for storing BER computed at compile-time.
Implementations§
Trait Implementations§
source§impl<const SIZE: usize> Ord for Buffer<SIZE>
impl<const SIZE: usize> Ord for Buffer<SIZE>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<const SIZE: usize> PartialEq for Buffer<SIZE>
impl<const SIZE: usize> PartialEq for Buffer<SIZE>
source§impl<const SIZE: usize> PartialOrd for Buffer<SIZE>
impl<const SIZE: usize> PartialOrd for Buffer<SIZE>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<const SIZE: usize> Copy for Buffer<SIZE>
impl<const SIZE: usize> Eq for Buffer<SIZE>
impl<const SIZE: usize> StructuralEq for Buffer<SIZE>
impl<const SIZE: usize> StructuralPartialEq for Buffer<SIZE>
Auto Trait Implementations§
impl<const SIZE: usize> RefUnwindSafe for Buffer<SIZE>
impl<const SIZE: usize> Send for Buffer<SIZE>
impl<const SIZE: usize> Sync for Buffer<SIZE>
impl<const SIZE: usize> Unpin for Buffer<SIZE>
impl<const SIZE: usize> UnwindSafe for Buffer<SIZE>
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