Struct sdl2::video::DisplayMode[src]
pub struct DisplayMode { pub format: u32, pub w: int, pub h: int, pub refresh_rate: int, }
Fields
format | |
w | |
h | |
refresh_rate |
pub struct DisplayMode { pub format: u32, pub w: int, pub h: int, pub refresh_rate: int, }
format | |
w | |
h | |
refresh_rate |
impl DisplayMode
fn new(format: u32, w: int, h: int, refresh_rate: int) -> DisplayMode
fn from_ll(raw: &SDL_DisplayMode) -> DisplayMode
fn to_ll(&self) -> SDL_DisplayMode
impl Eq for DisplayMode
fn eq(&self, __arg_0: &DisplayMode) -> bool
fn ne(&self, __arg_0: &DisplayMode) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).