#[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: [c_char; 1],
}Fields§
§first_layer: u16§layer_count: u16§first_mip: u8§mip_count: u8§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§_padding_152: [c_char; 1]Implementations§
Source§impl tm_renderer_additional_image_view_t
impl tm_renderer_additional_image_view_t
pub fn aspect(&self) -> u8
pub fn set_aspect(&mut self, val: u8)
pub fn padding(&self) -> u8
pub fn set_padding(&mut self, val: u8)
pub fn new_bitfield_1( aspect: u8, padding: u8, ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
Source§impl Clone for tm_renderer_additional_image_view_t
impl Clone for tm_renderer_additional_image_view_t
Source§fn clone(&self) -> tm_renderer_additional_image_view_t
fn clone(&self) -> tm_renderer_additional_image_view_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for tm_renderer_additional_image_view_t
Auto Trait Implementations§
impl Freeze for tm_renderer_additional_image_view_t
impl RefUnwindSafe for tm_renderer_additional_image_view_t
impl Send for tm_renderer_additional_image_view_t
impl Sync for tm_renderer_additional_image_view_t
impl Unpin for tm_renderer_additional_image_view_t
impl UnsafeUnpin for tm_renderer_additional_image_view_t
impl UnwindSafe for tm_renderer_additional_image_view_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more