pub struct DnRef<'a> { /* private fields */ }Expand description
Zero-copy borrow of a Dn payload (the bytes after the 2-byte,
byte-order-dependent bit-count prefix).
Implementations§
Trait Implementations§
impl<'a> Copy for DnRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for DnRef<'a>
impl<'a> RefUnwindSafe for DnRef<'a>
impl<'a> Send for DnRef<'a>
impl<'a> Sync for DnRef<'a>
impl<'a> Unpin for DnRef<'a>
impl<'a> UnsafeUnpin for DnRef<'a>
impl<'a> UnwindSafe for DnRef<'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