#[repr(C)]pub struct SDL_GPUTextureSamplerBinding {
pub texture: *mut SDL_GPUTexture,
pub sampler: *mut SDL_GPUSampler,
}Expand description
Fields§
§texture: *mut SDL_GPUTextureThe texture to bind. Must have been created with SDL_GPU_TEXTUREUSAGE_SAMPLER.
sampler: *mut SDL_GPUSamplerThe sampler to bind.
Trait Implementations§
Source§impl Clone for SDL_GPUTextureSamplerBinding
impl Clone for SDL_GPUTextureSamplerBinding
Source§fn clone(&self) -> SDL_GPUTextureSamplerBinding
fn clone(&self) -> SDL_GPUTextureSamplerBinding
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_GPUTextureSamplerBinding
impl Debug for SDL_GPUTextureSamplerBinding
impl Copy for SDL_GPUTextureSamplerBinding
Auto Trait Implementations§
impl Freeze for SDL_GPUTextureSamplerBinding
impl RefUnwindSafe for SDL_GPUTextureSamplerBinding
impl !Send for SDL_GPUTextureSamplerBinding
impl !Sync for SDL_GPUTextureSamplerBinding
impl Unpin for SDL_GPUTextureSamplerBinding
impl UnwindSafe for SDL_GPUTextureSamplerBinding
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