pub enum Short {}Expand description
Short represents the short C type.
It is required to be at least 16-bits.
§Example
use data_models::*;
let model = DataModel::LP64;
let p = model.size_of::<Short>();
assert_eq!(p, 2);Auto Trait Implementations§
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