#[repr(i32)]pub enum TextureAccess {
Static = 0,
Streaming = 1,
Target = 2,
}Variants§
Trait Implementations§
Source§impl Clone for TextureAccess
impl Clone for TextureAccess
Source§fn clone(&self) -> TextureAccess
fn clone(&self) -> TextureAccess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextureAccess
Source§impl Debug for TextureAccess
impl Debug for TextureAccess
impl Eq for TextureAccess
Source§impl From<SDL_TextureAccess> for TextureAccess
impl From<SDL_TextureAccess> for TextureAccess
Source§fn from(access: SDL_TextureAccess) -> TextureAccess
fn from(access: SDL_TextureAccess) -> TextureAccess
Converts to this type from the input type.
Source§impl From<TextureAccess> for SDL_TextureAccess
impl From<TextureAccess> for SDL_TextureAccess
Source§fn from(access: TextureAccess) -> SDL_TextureAccess
fn from(access: TextureAccess) -> SDL_TextureAccess
Converts to this type from the input type.
Source§impl From<i64> for TextureAccess
impl From<i64> for TextureAccess
Source§fn from(n: i64) -> TextureAccess
fn from(n: i64) -> TextureAccess
Converts to this type from the input type.
Source§impl Hash for TextureAccess
impl Hash for TextureAccess
Source§impl PartialEq for TextureAccess
impl PartialEq for TextureAccess
impl StructuralPartialEq for TextureAccess
Auto Trait Implementations§
impl Freeze for TextureAccess
impl RefUnwindSafe for TextureAccess
impl Send for TextureAccess
impl Sync for TextureAccess
impl Unpin for TextureAccess
impl UnsafeUnpin for TextureAccess
impl UnwindSafe for 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