[][src]Struct wayland_protocols::wlr::unstable::output_management::v1::server::zwlr_output_mode_v1::ZwlrOutputModeV1

pub struct 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]

impl Debug for ZwlrOutputModeV1[src]

impl Eq for ZwlrOutputModeV1[src]

impl From<Resource<ZwlrOutputModeV1>> for ZwlrOutputModeV1[src]

impl From<ZwlrOutputModeV1> for Resource<ZwlrOutputModeV1>[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

impl PartialEq<ZwlrOutputModeV1> for ZwlrOutputModeV1[src]

impl StructuralEq for ZwlrOutputModeV1[src]

impl StructuralPartialEq for ZwlrOutputModeV1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.