pub struct ByteArray<const LEN: usize> {
pub data: [u8; LEN],
/* private fields */
}
Expand description
Helps building up a byte array for serialization. Similar to Pool.
Fields§
§data: [u8; LEN]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const LEN: usize> Freeze for ByteArray<LEN>
impl<const LEN: usize> RefUnwindSafe for ByteArray<LEN>
impl<const LEN: usize> Send for ByteArray<LEN>
impl<const LEN: usize> Sync for ByteArray<LEN>
impl<const LEN: usize> Unpin for ByteArray<LEN>
impl<const LEN: usize> UnwindSafe for ByteArray<LEN>
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