#[repr(transparent)]pub struct SDL_GPUIndexElementSize(pub c_uint);Expand description
Specifies the size of elements in an index buffer.
Available Since: This enum is available since SDL 3.2.0.
See Also: SDL_CreateGPUGraphicsPipeline
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_GPUIndexElementSize
impl SDL_GPUIndexElementSize
Sourcepub const SDL_GPU_INDEXELEMENTSIZE_16BIT: SDL_GPUIndexElementSize
pub const SDL_GPU_INDEXELEMENTSIZE_16BIT: SDL_GPUIndexElementSize
< The index elements are 16-bit.
Sourcepub const SDL_GPU_INDEXELEMENTSIZE_32BIT: SDL_GPUIndexElementSize
pub const SDL_GPU_INDEXELEMENTSIZE_32BIT: SDL_GPUIndexElementSize
< The index elements are 32-bit.
Trait Implementations§
Source§impl Clone for SDL_GPUIndexElementSize
impl Clone for SDL_GPUIndexElementSize
Source§fn clone(&self) -> SDL_GPUIndexElementSize
fn clone(&self) -> SDL_GPUIndexElementSize
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 moreSource§impl Debug for SDL_GPUIndexElementSize
impl Debug for SDL_GPUIndexElementSize
Source§impl Hash for SDL_GPUIndexElementSize
impl Hash for SDL_GPUIndexElementSize
Source§impl PartialEq for SDL_GPUIndexElementSize
impl PartialEq for SDL_GPUIndexElementSize
impl Copy for SDL_GPUIndexElementSize
impl Eq for SDL_GPUIndexElementSize
impl StructuralPartialEq for SDL_GPUIndexElementSize
Auto Trait Implementations§
impl Freeze for SDL_GPUIndexElementSize
impl RefUnwindSafe for SDL_GPUIndexElementSize
impl Send for SDL_GPUIndexElementSize
impl Sync for SDL_GPUIndexElementSize
impl Unpin for SDL_GPUIndexElementSize
impl UnsafeUnpin for SDL_GPUIndexElementSize
impl UnwindSafe for SDL_GPUIndexElementSize
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