Enum sdl2_sys::SDL_TextureAccess
source · [−]#[repr(u32)]
pub enum SDL_TextureAccess {
SDL_TEXTUREACCESS_STATIC,
SDL_TEXTUREACCESS_STREAMING,
SDL_TEXTUREACCESS_TARGET,
}
Expand description
\brief The access pattern allowed for a texture.
Variants
SDL_TEXTUREACCESS_STATIC
< Changes rarely, not lockable
SDL_TEXTUREACCESS_STREAMING
< Changes frequently, lockable
SDL_TEXTUREACCESS_TARGET
< Texture can be used as a render target
Trait Implementations
sourceimpl Clone for SDL_TextureAccess
impl Clone for SDL_TextureAccess
sourcefn clone(&self) -> SDL_TextureAccess
fn clone(&self) -> SDL_TextureAccess
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SDL_TextureAccess
impl Debug for SDL_TextureAccess
sourceimpl Hash for SDL_TextureAccess
impl Hash for SDL_TextureAccess
impl Copy for SDL_TextureAccess
impl Eq for SDL_TextureAccess
impl StructuralEq for SDL_TextureAccess
impl StructuralPartialEq for SDL_TextureAccess
Auto Trait Implementations
impl RefUnwindSafe for SDL_TextureAccess
impl Send for SDL_TextureAccess
impl Sync for SDL_TextureAccess
impl Unpin for SDL_TextureAccess
impl UnwindSafe for SDL_TextureAccess
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more