[][src]Enum data_models::Short

pub enum Short {}

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 RefUnwindSafe for Short

impl Send for Short

impl Sync for Short

impl Unpin for Short

impl UnwindSafe for Short

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.