[][src]Struct std140::int

#[repr(C)]
pub struct int(pub i32);

A 32-bit signed integer value.

Example

let value = std140::int(1);

Trait Implementations

impl Clone for int[src]

impl Copy for int[src]

impl Debug for int[src]

impl PartialEq<int> for int[src]

impl ReprStd140 for int[src]

impl Std140ArrayElement for int[src]

impl StructuralPartialEq for int[src]

Auto Trait Implementations

impl RefUnwindSafe for int

impl Send for int

impl Sync for int

impl Unpin for int

impl UnwindSafe for int

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> ReprStd140 for T where
    T: Std140Struct
[src]

impl<T> Std140ArrayElement for T where
    T: Std140Struct
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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.