[][src]Struct wayland_protocols::wlr::unstable::output_management::v1::client::zwlr_output_configuration_head_v1::ZwlrOutputConfigurationHeadV1

pub struct ZwlrOutputConfigurationHeadV1(_);

Implementations

impl ZwlrOutputConfigurationHeadV1[src]

pub fn set_mode(&self, mode: &ZwlrOutputModeV1)[src]

set the mode

This request sets the head's mode.

pub fn set_custom_mode(&self, width: i32, height: i32, refresh: i32)[src]

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.

pub fn set_position(&self, x: i32, y: i32)[src]

set the position

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

pub fn set_transform(&self, transform: Transform)[src]

set the transform

This request sets the head's transform.

pub fn set_scale(&self, scale: f64)[src]

set the scale

This request sets the head's scale.

Trait Implementations

impl AsRef<Proxy<ZwlrOutputConfigurationHeadV1>> for ZwlrOutputConfigurationHeadV1[src]

impl Clone for ZwlrOutputConfigurationHeadV1[src]

impl Debug for ZwlrOutputConfigurationHeadV1[src]

impl Eq for ZwlrOutputConfigurationHeadV1[src]

impl From<Proxy<ZwlrOutputConfigurationHeadV1>> for ZwlrOutputConfigurationHeadV1[src]

impl From<ZwlrOutputConfigurationHeadV1> for Proxy<ZwlrOutputConfigurationHeadV1>[src]

impl Interface for ZwlrOutputConfigurationHeadV1[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<ZwlrOutputConfigurationHeadV1> for ZwlrOutputConfigurationHeadV1[src]

impl StructuralEq for ZwlrOutputConfigurationHeadV1[src]

impl StructuralPartialEq for ZwlrOutputConfigurationHeadV1[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.