pub struct UShort;Expand description
unsigned short: u16.
Trait Implementations§
Source§impl IdlType for UShort
impl IdlType for UShort
Source§const MIN_SIZE: usize = 2
const MIN_SIZE: usize = 2
The smallest size of a value on the wire, to check the lengths of
sequences before reading them.
Source§type Borrowed = u16
type Borrowed = u16
What is written:
str for strings, a slice for sequences, else
Rust itself.Auto Trait Implementations§
impl Forget for UShort
impl Freeze for UShort
impl RefUnwindSafe for UShort
impl Send for UShort
impl Sync for UShort
impl Unpin for UShort
impl UnsafeUnpin for UShort
impl UnwindSafe for UShort
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