Struct wayland_protocols::wlr::unstable::output_management::v1::client::zwlr_output_configuration_head_v1::ZwlrOutputConfigurationHeadV1
source · pub struct ZwlrOutputConfigurationHeadV1(/* private fields */);
Implementations§
source§impl ZwlrOutputConfigurationHeadV1
impl ZwlrOutputConfigurationHeadV1
sourcepub fn set_mode(&self, mode: &ZwlrOutputModeV1)
pub fn set_mode(&self, mode: &ZwlrOutputModeV1)
set the mode
This request sets the head’s mode.
sourcepub fn set_custom_mode(&self, width: i32, height: i32, refresh: i32)
pub fn set_custom_mode(&self, width: i32, height: i32, refresh: i32)
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.
sourcepub fn set_position(&self, x: i32, y: i32)
pub fn set_position(&self, x: i32, y: i32)
set the position
This request sets the head’s position in the global compositor space.
sourcepub fn set_transform(&self, transform: Transform)
pub fn set_transform(&self, transform: Transform)
set the transform
This request sets the head’s transform.
Trait Implementations§
source§impl Clone for ZwlrOutputConfigurationHeadV1
impl Clone for ZwlrOutputConfigurationHeadV1
source§fn clone(&self) -> ZwlrOutputConfigurationHeadV1
fn clone(&self) -> ZwlrOutputConfigurationHeadV1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<ZwlrOutputConfigurationHeadV1> for Proxy<ZwlrOutputConfigurationHeadV1>
impl From<ZwlrOutputConfigurationHeadV1> for Proxy<ZwlrOutputConfigurationHeadV1>
source§fn from(value: ZwlrOutputConfigurationHeadV1) -> Self
fn from(value: ZwlrOutputConfigurationHeadV1) -> Self
Converts to this type from the input type.
source§impl Interface for ZwlrOutputConfigurationHeadV1
impl Interface for ZwlrOutputConfigurationHeadV1
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq for ZwlrOutputConfigurationHeadV1
impl PartialEq for ZwlrOutputConfigurationHeadV1
source§fn eq(&self, other: &ZwlrOutputConfigurationHeadV1) -> bool
fn eq(&self, other: &ZwlrOutputConfigurationHeadV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ZwlrOutputConfigurationHeadV1
impl StructuralEq for ZwlrOutputConfigurationHeadV1
impl StructuralPartialEq for ZwlrOutputConfigurationHeadV1
Auto Trait Implementations§
impl !RefUnwindSafe for ZwlrOutputConfigurationHeadV1
impl Send for ZwlrOutputConfigurationHeadV1
impl Sync for ZwlrOutputConfigurationHeadV1
impl Unpin for ZwlrOutputConfigurationHeadV1
impl !UnwindSafe for ZwlrOutputConfigurationHeadV1
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more