[−][src]Struct wayland_protocols::wlr::unstable::output_management::v1::server::zwlr_output_mode_v1::ZwlrOutputModeV1
Implementations
impl ZwlrOutputModeV1
[src]
pub fn size(&self, width: i32, height: i32)
[src]
mode size
This event describes the mode size. The size is given in physical hardware units of the output device. This is not necessarily the same as the output size in the global compositor space. For instance, the output may be scaled or transformed.
pub fn refresh(&self, refresh: i32)
[src]
mode refresh rate
This event describes the mode's fixed vertical refresh rate. It is only sent if the mode has a fixed refresh rate.
pub fn preferred(&self)
[src]
mode is preferred
This event advertises this mode as preferred.
pub fn finished(&self)
[src]
the mode has been destroyed
The compositor will destroy the object immediately after sending this event, so it will become invalid and the client should release any resources associated with it.
Trait Implementations
impl AsRef<Resource<ZwlrOutputModeV1>> for ZwlrOutputModeV1
[src]
impl Clone for ZwlrOutputModeV1
[src]
fn clone(&self) -> ZwlrOutputModeV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZwlrOutputModeV1
[src]
impl Eq for ZwlrOutputModeV1
[src]
impl From<Resource<ZwlrOutputModeV1>> for ZwlrOutputModeV1
[src]
impl From<ZwlrOutputModeV1> for Resource<ZwlrOutputModeV1>
[src]
fn from(value: ZwlrOutputModeV1) -> Self
[src]
impl Interface for ZwlrOutputModeV1
[src]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwlrOutputModeV1> for ZwlrOutputModeV1
[src]
fn eq(&self, other: &ZwlrOutputModeV1) -> bool
[src]
fn ne(&self, other: &ZwlrOutputModeV1) -> bool
[src]
impl StructuralEq for ZwlrOutputModeV1
[src]
impl StructuralPartialEq for ZwlrOutputModeV1
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwlrOutputModeV1
impl Send for ZwlrOutputModeV1
impl Sync for ZwlrOutputModeV1
impl Unpin for ZwlrOutputModeV1
impl !UnwindSafe for ZwlrOutputModeV1
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,