[][src]Struct tcod_sys::TCOD_value_t

#[repr(C)]
pub struct TCOD_value_t { pub b: __BindgenUnionField<bool_>, pub c: __BindgenUnionField<c_char>, pub i: __BindgenUnionField<int32>, pub f: __BindgenUnionField<f32>, pub s: __BindgenUnionField<*mut c_char>, pub col: __BindgenUnionField<TCOD_color_t>, pub dice: __BindgenUnionField<TCOD_dice_t>, pub list: __BindgenUnionField<TCOD_list_t>, pub custom: __BindgenUnionField<*mut c_void>, pub bindgen_union_field: [u64; 2], }

Fields

b: __BindgenUnionField<bool_>c: __BindgenUnionField<c_char>i: __BindgenUnionField<int32>f: __BindgenUnionField<f32>s: __BindgenUnionField<*mut c_char>col: __BindgenUnionField<TCOD_color_t>dice: __BindgenUnionField<TCOD_dice_t>list: __BindgenUnionField<TCOD_list_t>custom: __BindgenUnionField<*mut c_void>bindgen_union_field: [u64; 2]

Trait Implementations

impl Copy for TCOD_value_t[src]

impl Clone for TCOD_value_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for TCOD_value_t[src]

Auto Trait Implementations

impl !Send for TCOD_value_t

impl !Sync for TCOD_value_t

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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