[−][src]Struct wayland_protocols::wlr::unstable::output_management::v1::client::zwlr_output_configuration_v1::ZwlrOutputConfigurationV1
Implementations
impl ZwlrOutputConfigurationV1
[src]
pub fn enable_head(
&self,
head: &ZwlrOutputHeadV1
) -> Main<ZwlrOutputConfigurationHeadV1>
[src]
&self,
head: &ZwlrOutputHeadV1
) -> Main<ZwlrOutputConfigurationHeadV1>
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]
fn clone(&self) -> ZwlrOutputConfigurationV1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn from(value: ZwlrOutputConfigurationV1) -> Self
[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
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwlrOutputConfigurationV1> for ZwlrOutputConfigurationV1
[src]
fn eq(&self, other: &ZwlrOutputConfigurationV1) -> bool
[src]
fn ne(&self, other: &ZwlrOutputConfigurationV1) -> bool
[src]
impl StructuralEq for ZwlrOutputConfigurationV1
[src]
impl StructuralPartialEq for ZwlrOutputConfigurationV1
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwlrOutputConfigurationV1
impl Send for ZwlrOutputConfigurationV1
impl Sync for ZwlrOutputConfigurationV1
impl Unpin for ZwlrOutputConfigurationV1
impl !UnwindSafe for ZwlrOutputConfigurationV1
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>,