#[repr(transparent)]pub struct SDL_TextureAccess(pub c_uint);Expand description
The access pattern allowed for a texture.
Available Since: This enum is available since SDL 3.2.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_TextureAccess
impl SDL_TextureAccess
Sourcepub const SDL_TEXTUREACCESS_STATIC: SDL_TextureAccess
pub const SDL_TEXTUREACCESS_STATIC: SDL_TextureAccess
< Changes rarely, not lockable
Sourcepub const SDL_TEXTUREACCESS_STREAMING: SDL_TextureAccess
pub const SDL_TEXTUREACCESS_STREAMING: SDL_TextureAccess
< Changes frequently, lockable
Sourcepub const SDL_TEXTUREACCESS_TARGET: SDL_TextureAccess
pub const SDL_TEXTUREACCESS_TARGET: SDL_TextureAccess
< Texture can be used as a render target
Trait Implementations§
Source§impl Clone for SDL_TextureAccess
impl Clone for SDL_TextureAccess
Source§fn clone(&self) -> SDL_TextureAccess
fn clone(&self) -> SDL_TextureAccess
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_TextureAccess
impl Debug for SDL_TextureAccess
Source§impl Hash for SDL_TextureAccess
impl Hash for SDL_TextureAccess
Source§impl PartialEq for SDL_TextureAccess
impl PartialEq for SDL_TextureAccess
impl Copy for SDL_TextureAccess
impl Eq for SDL_TextureAccess
impl StructuralPartialEq for SDL_TextureAccess
Auto Trait Implementations§
impl Freeze for SDL_TextureAccess
impl RefUnwindSafe for SDL_TextureAccess
impl Send for SDL_TextureAccess
impl Sync for SDL_TextureAccess
impl Unpin for SDL_TextureAccess
impl UnsafeUnpin for SDL_TextureAccess
impl UnwindSafe for SDL_TextureAccess
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