Enum sdl2::video::WindowPos [] [src]

pub enum WindowPos {
    PosUndefined,
    PosCentered,
    Positioned(i32),
}

Variants

PosUndefined
PosCentered
Positioned

Trait Implementations

Derived Implementations

impl Debug for WindowPos

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

impl Hash for WindowPos

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

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

impl PartialEq for WindowPos

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

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

impl Eq for WindowPos

impl Clone for WindowPos

fn clone(&self) -> WindowPos

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

impl Copy for WindowPos