[][src]Struct tm_rs::ffi::tm_renderer_additional_image_view_t

#[repr(C)]pub struct tm_renderer_additional_image_view_t {
    pub first_layer: u16,
    pub layer_count: u16,
    pub first_mip: u8,
    pub mip_count: u8,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub _padding_152: [i8; 1],
}

Fields

first_layer: u16layer_count: u16first_mip: u8mip_count: u8_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>_padding_152: [i8; 1]

Implementations

impl tm_renderer_additional_image_view_t[src]

pub fn aspect(&self) -> u8[src]

pub fn set_aspect(&mut self, val: u8)[src]

pub fn padding(&self) -> u8[src]

pub fn set_padding(&mut self, val: u8)[src]

pub fn new_bitfield_1(
    aspect: u8,
    padding: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for tm_renderer_additional_image_view_t[src]

impl Copy for tm_renderer_additional_image_view_t[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> CloneAny for T where
    T: Clone + Any
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.