Struct sdl2::video::DisplayMode
[−]
[src]
pub struct DisplayMode { pub format: u32, pub w: i32, pub h: i32, pub refresh_rate: i32, }
Fields
format | |
w | |
h | |
refresh_rate |
pub struct DisplayMode { pub format: u32, pub w: i32, pub h: i32, pub refresh_rate: i32, }
format | |
w | |
h | |
refresh_rate |
impl DisplayMode
fn new(format: u32, w: i32, h: i32, refresh_rate: i32) -> DisplayMode
fn from_ll(raw: &SDL_DisplayMode) -> DisplayMode
fn to_ll(&self) -> SDL_DisplayMode
impl Debug for DisplayMode
impl Hash for DisplayMode
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl PartialEq for DisplayMode
fn eq(&self, __arg_0: &DisplayMode) -> bool
fn ne(&self, __arg_0: &DisplayMode) -> bool
impl Eq for DisplayMode
impl Clone for DisplayMode
fn clone(&self) -> DisplayMode
fn clone_from(&mut self, source: &Self)
impl Copy for DisplayMode
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
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)