Struct bgfx_sys::bgfx_transient_index_buffer_s
source · #[repr(C)]pub struct bgfx_transient_index_buffer_s {
pub data: *mut u8,
pub size: u32,
pub startIndex: u32,
pub handle: bgfx_index_buffer_handle_t,
pub isIndex16: bool,
}
Expand description
Transient index buffer.
Fields§
§data: *mut u8
§size: u32
Pointer to data.
startIndex: u32
Data size.
handle: bgfx_index_buffer_handle_t
First index.
isIndex16: bool
Index buffer handle.
Trait Implementations§
source§impl Clone for bgfx_transient_index_buffer_s
impl Clone for bgfx_transient_index_buffer_s
source§fn clone(&self) -> bgfx_transient_index_buffer_s
fn clone(&self) -> bgfx_transient_index_buffer_s
Returns a copy 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 bgfx_transient_index_buffer_s
Auto Trait Implementations§
impl Freeze for bgfx_transient_index_buffer_s
impl RefUnwindSafe for bgfx_transient_index_buffer_s
impl !Send for bgfx_transient_index_buffer_s
impl !Sync for bgfx_transient_index_buffer_s
impl Unpin for bgfx_transient_index_buffer_s
impl UnwindSafe for bgfx_transient_index_buffer_s
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