#[repr(C, packed(1))]pub struct packed_u16 {
pub v: u16,
}
Fields§
§v: u16
Trait Implementations§
Source§impl Clone for packed_u16
impl Clone for packed_u16
Source§fn clone(&self) -> packed_u16
fn clone(&self) -> packed_u16
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for packed_u16
impl Debug for packed_u16
impl Copy for packed_u16
Auto Trait Implementations§
impl Freeze for packed_u16
impl RefUnwindSafe for packed_u16
impl Send for packed_u16
impl Sync for packed_u16
impl Unpin for packed_u16
impl UnwindSafe for packed_u16
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