[][src]Enum data_models::Char

pub enum Char {}

Char represents the char C type. Smallest addressable unit of the machine. It contains CHAR_BIT bits (typically 8).

Values stored in non-bit-field objects of any other integer type consist of n × CHAR_BIT bits, where n is the size of an object of that type, in bytes.

Example

use data_models::*;
let model = DataModel::LP64;
let p = model.size_of::<Char>();
assert_eq!(p, 1);

Auto Trait Implementations

impl RefUnwindSafe for Char

impl Send for Char

impl Sync for Char

impl Unpin for Char

impl UnwindSafe for Char

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.