Struct wgpu_core::command::render::IndexState
source · struct IndexState {
buffer_format: Option<IndexFormat>,
limit: u64,
}
Fields§
§buffer_format: Option<IndexFormat>
§limit: u64
Implementations§
source§impl IndexState
impl IndexState
fn update_buffer(&mut self, range: Range<BufferAddress>, format: IndexFormat)
fn reset(&mut self)
Trait Implementations§
source§impl Debug for IndexState
impl Debug for IndexState
source§impl Default for IndexState
impl Default for IndexState
source§fn default() -> IndexState
fn default() -> IndexState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndexState
impl RefUnwindSafe for IndexState
impl Send for IndexState
impl Sync for IndexState
impl Unpin for IndexState
impl UnwindSafe for IndexState
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