pub struct Short;Expand description
short: i16.
Trait Implementations§
Source§impl IdlType for Short
impl IdlType for Short
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 = i16
type Borrowed = i16
What is written:
str for strings, a slice for sequences, else
Rust itself.Auto Trait Implementations§
impl Forget for Short
impl Freeze for Short
impl RefUnwindSafe for Short
impl Send for Short
impl Sync for Short
impl Unpin for Short
impl UnsafeUnpin for Short
impl UnwindSafe for Short
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