Struct rin::window::glfw_window::Monitor [−][src]
pub struct Monitor<'a> { /* fields omitted */ }
Implementations
impl<'a> Monitor<'a>
[src]
impl<'a> Monitor<'a>
[src]pub fn pos(&self) -> (i32, i32)
[src]
Wrapper for glfwGetMonitorPos
.
pub fn physical_size(&self) -> (i32, i32)
[src]
Wrapper for glfwGetMonitorPhysicalSize
.
pub fn name(&self) -> Option<String>
[src]
Wrapper for glfwGetMonitorName
.
pub fn video_modes(&self) -> Vec<VidMode, Global>ⓘ
[src]
Wrapper for glfwGetVideoModes
.
pub fn video_mode(&self) -> Option<VidMode>
[src]
Wrapper for glfwGetVideoMode
.
pub fn set_gamma(&mut self, gamma: f32)
[src]
Wrapper for glfwSetGamma
.
pub fn gamma_ramp(&self) -> GammaRamp
[src]
Wrapper for glfwGetGammaRamp
.
pub fn set_gamma_ramp(&mut self, ramp: &mut GammaRamp)
[src]
Wrapper for glfwSetGammaRamp
.
pub fn content_scale(&self) -> (f32, f32)
[src]
Wrapper for glfwGetMonitorContentScale
.
pub fn workarea(&self) -> (i32, i32, i32, i32)
[src]
Wrapper for glfwGetMonitorWorkarea
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Monitor<'a>
impl<'a> !Send for Monitor<'a>
impl<'a> !Sync for Monitor<'a>
impl<'a> Unpin for Monitor<'a>
impl<'a> !UnwindSafe for Monitor<'a>
Blanket Implementations
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]