#[repr(C)]pub struct SDL_GPUBufferRegion {
pub buffer: *mut SDL_GPUBuffer,
pub offset: Uint32,
pub size: Uint32,
}Expand description
Fields§
§buffer: *mut SDL_GPUBufferThe buffer.
offset: Uint32The starting byte within the buffer.
size: Uint32The size in bytes of the region.
Trait Implementations§
Source§impl Clone for SDL_GPUBufferRegion
impl Clone for SDL_GPUBufferRegion
Source§fn clone(&self) -> SDL_GPUBufferRegion
fn clone(&self) -> SDL_GPUBufferRegion
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_GPUBufferRegion
impl Debug for SDL_GPUBufferRegion
impl Copy for SDL_GPUBufferRegion
Auto Trait Implementations§
impl Freeze for SDL_GPUBufferRegion
impl RefUnwindSafe for SDL_GPUBufferRegion
impl !Send for SDL_GPUBufferRegion
impl !Sync for SDL_GPUBufferRegion
impl Unpin for SDL_GPUBufferRegion
impl UnwindSafe for SDL_GPUBufferRegion
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