[][src]Enum wayland_protocols::wlr::unstable::output_management::v1::client::zwlr_output_configuration_head_v1::Request

#[non_exhaustive]pub enum Request {
    SetMode {
        mode: ZwlrOutputModeV1,
    },
    SetCustomMode {
        width: i32,
        height: i32,
        refresh: i32,
    },
    SetPosition {
        x: i32,
        y: i32,
    },
    SetTransform {
        transform: Transform,
    },
    SetScale {
        scale: f64,
    },
}

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SetMode

set the mode

This request sets the head's mode.

Fields of SetMode

mode: ZwlrOutputModeV1
SetCustomMode

set a custom mode

This request assigns a custom mode to the head. The size is given in physical hardware units of the output device. If set to zero, the refresh rate is unspecified.

It is a protocol error to set both a mode and a custom mode.

Fields of SetCustomMode

width: i32height: i32refresh: i32
SetPosition

set the position

This request sets the head's position in the global compositor space.

Fields of SetPosition

x: i32y: i32
SetTransform

set the transform

This request sets the head's transform.

Fields of SetTransform

transform: Transform
SetScale

set the scale

This request sets the head's scale.

Fields of SetScale

scale: f64

Trait Implementations

impl Debug for Request[src]

impl MessageGroup for Request[src]

type Map = ProxyMap

The wrapper type for ObjectMap allowing the mapping of Object and NewId arguments to the object map during parsing. Read more

Auto Trait Implementations

impl !RefUnwindSafe for Request

impl Send for Request

impl Sync for Request

impl Unpin for Request

impl !UnwindSafe for Request

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, 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.