pub struct Offset16(pub u16);
Expand description
A type-safe u16 offset.
Tuple Fields§
§0: u16
Trait Implementations§
impl Copy for Offset16
Auto Trait Implementations§
impl Freeze for Offset16
impl RefUnwindSafe for Offset16
impl Send for Offset16
impl Sync for Offset16
impl Unpin for Offset16
impl UnwindSafe for Offset16
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)