[][src]Struct wayland_protocols::wlr::unstable::output_management::v1::client::zwlr_output_configuration_v1::ZwlrOutputConfigurationV1

pub struct ZwlrOutputConfigurationV1(_);

Implementations

impl ZwlrOutputConfigurationV1[src]

pub fn enable_head(
    &self,
    head: &ZwlrOutputHeadV1
) -> Main<ZwlrOutputConfigurationHeadV1>
[src]

enable and configure a head

Enable a head. This request creates a head configuration object that can be used to change the head's properties.

pub fn disable_head(&self, head: &ZwlrOutputHeadV1)[src]

disable a head

Disable a head.

pub fn apply(&self)[src]

apply the configuration

Apply the new output configuration.

In case the configuration is successfully applied, there is no guarantee that the new output state matches completely the requested configuration. For instance, a compositor might round the scale if it doesn't support fractional scaling.

After this request has been sent, the compositor must respond with an succeeded, failed or cancelled event. Sending a request that isn't the destructor is a protocol error.

pub fn test(&self)[src]

test the configuration

Test the new output configuration. The configuration won't be applied, but will only be validated.

Even if the compositor succeeds to test a configuration, applying it may fail.

After this request has been sent, the compositor must respond with an succeeded, failed or cancelled event. Sending a request that isn't the destructor is a protocol error.

pub fn destroy(&self)[src]

destroy the output configuration

Using this request a client can tell the compositor that it is not going to use the configuration object anymore. Any changes to the outputs that have not been applied will be discarded.

This request also destroys wlr_output_configuration_head objects created via this object.

This is a destructor, you cannot send requests to this object any longer once this method is called.

Trait Implementations

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

impl Clone for ZwlrOutputConfigurationV1[src]

impl Debug for ZwlrOutputConfigurationV1[src]

impl Eq for ZwlrOutputConfigurationV1[src]

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

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

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

impl StructuralEq for ZwlrOutputConfigurationV1[src]

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