Enum sdl2::render::TextureAccess [] [src]

pub enum TextureAccess {
    Static,
    Streaming,
    Target,
}

Variants

Static
Streaming
Target

Trait Implementations

impl FromPrimitive for TextureAccess

fn from_i64(n: i64) -> Option<TextureAccess>

fn from_u64(n: u64) -> Option<TextureAccess>

fn from_isize(n: isize) -> Option<Self>

fn from_i8(n: i8) -> Option<Self>

fn from_i16(n: i16) -> Option<Self>

fn from_i32(n: i32) -> Option<Self>

fn from_usize(n: usize) -> Option<Self>

fn from_u8(n: u8) -> Option<Self>

fn from_u16(n: u16) -> Option<Self>

fn from_u32(n: u32) -> Option<Self>

fn from_f32(n: f32) -> Option<Self>

fn from_f64(n: f64) -> Option<Self>

Derived Implementations

impl Debug for TextureAccess

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for TextureAccess

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialEq for TextureAccess

fn eq(&self, __arg_0: &TextureAccess) -> bool

fn ne(&self, __arg_0: &TextureAccess) -> bool

impl Eq for TextureAccess

impl Clone for TextureAccess

fn clone(&self) -> TextureAccess

fn clone_from(&mut self, source: &Self)

impl Copy for TextureAccess