#[repr(C)]pub struct SDL_GPUTransferBufferLocation {
pub transfer_buffer: *mut SDL_GPUTransferBuffer,
pub offset: Uint32,
}Expand description
Fields§
§transfer_buffer: *mut SDL_GPUTransferBufferThe transfer buffer used in the transfer operation.
offset: Uint32The starting byte of the buffer data in the transfer buffer.
Trait Implementations§
Source§impl Clone for SDL_GPUTransferBufferLocation
impl Clone for SDL_GPUTransferBufferLocation
Source§fn clone(&self) -> SDL_GPUTransferBufferLocation
fn clone(&self) -> SDL_GPUTransferBufferLocation
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 SDL_GPUTransferBufferLocation
Auto Trait Implementations§
impl Freeze for SDL_GPUTransferBufferLocation
impl RefUnwindSafe for SDL_GPUTransferBufferLocation
impl !Send for SDL_GPUTransferBufferLocation
impl !Sync for SDL_GPUTransferBufferLocation
impl Unpin for SDL_GPUTransferBufferLocation
impl UnwindSafe for SDL_GPUTransferBufferLocation
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