Struct rin::window::glfw_window::VidMode [−][src]
pub struct VidMode { pub width: u32, pub height: u32, pub red_bits: u32, pub green_bits: u32, pub blue_bits: u32, pub refresh_rate: u32, }
Describes a single video mode.
Fields
width: u32
height: u32
red_bits: u32
green_bits: u32
blue_bits: u32
refresh_rate: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VidMode
impl Send for VidMode
impl Sync for VidMode
impl Unpin for VidMode
impl UnwindSafe for VidMode
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,