pub struct ZcosmicOutputConfigurationHeadV1 { /* private fields */ }
Expand description
Output configuration head extension object
Extension to zwlr_output_configuration_head_v1.
Adds additional/alternative parameters to the original zwlr_output_configuration_head_v1.
Once the original zwlr_output_configuration_head_v1
is destroyed this object will
become inert and all requests except release
will be ignored.
This interface has no events.
Implementations§
Source§impl ZcosmicOutputConfigurationHeadV1
impl ZcosmicOutputConfigurationHeadV1
Sourcepub fn set_scale_1000(&self, scale_1000: i32)
pub fn set_scale_1000(&self, scale_1000: i32)
set the scale multiplied by 1000
This request sets the head’s scale multiplied by 1000 for additional precision.
This request is meant to be used in place of zwlr_output_configuration_head_v1::set_scale
.
Using set_scale
and set_scale_1000
at once will thus raise an already_set
error on the
original zwlr_output_configuration_head_v1
.
Any request conflicting with set_scale
will also conflict with set_scale_1000
.
Sourcepub fn release(&self)
pub fn release(&self)
destroy the output configuration head
Using this request a client can tell the compositor that it is not going
to use the configuration object anymore. Already issued requests will
still be attached to the original zwlr_output_configuration_head_v1
until it is destroyed.
Sourcepub fn set_adaptive_sync_ext(&self, state: AdaptiveSyncStateExt)
pub fn set_adaptive_sync_ext(&self, state: AdaptiveSyncStateExt)
set adaptive sync state
This request requests a new adaptive sync state.
This request is meant to be used in place of zwlr_output_configuration_head_v1::set_adaptive_sync
.
Using set_adaptive_sync
and set_adaptive_sync_ext
at once will thus raise an already_set
error on the
original zwlr_output_configuration_head_v1
.
Any request conflicting with set_adaptive_sync
will also conflict with set_adaptive_sync_ext
.
Trait Implementations§
Source§impl Clone for ZcosmicOutputConfigurationHeadV1
impl Clone for ZcosmicOutputConfigurationHeadV1
Source§fn clone(&self) -> ZcosmicOutputConfigurationHeadV1
fn clone(&self) -> ZcosmicOutputConfigurationHeadV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl PartialEq<Weak<ZcosmicOutputConfigurationHeadV1>> for ZcosmicOutputConfigurationHeadV1
impl PartialEq<Weak<ZcosmicOutputConfigurationHeadV1>> for ZcosmicOutputConfigurationHeadV1
Source§impl PartialEq for ZcosmicOutputConfigurationHeadV1
impl PartialEq for ZcosmicOutputConfigurationHeadV1
Source§fn eq(&self, other: &ZcosmicOutputConfigurationHeadV1) -> bool
fn eq(&self, other: &ZcosmicOutputConfigurationHeadV1) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl Proxy for ZcosmicOutputConfigurationHeadV1
impl Proxy for ZcosmicOutputConfigurationHeadV1
Source§fn data<U: Send + Sync + 'static>(&self) -> Option<&U>
fn data<U: Send + Sync + 'static>(&self) -> Option<&U>
Source§fn object_data(&self) -> Option<&Arc<dyn ObjectData>>
fn object_data(&self) -> Option<&Arc<dyn ObjectData>>
Source§fn backend(&self) -> &WeakBackend
fn backend(&self) -> &WeakBackend
Source§fn send_request(&self, req: Self::Request<'_>) -> Result<(), InvalidId>
fn send_request(&self, req: Self::Request<'_>) -> Result<(), InvalidId>
Source§fn send_constructor<I: Proxy>(
&self,
req: Self::Request<'_>,
data: Arc<dyn ObjectData>,
) -> Result<I, InvalidId>
fn send_constructor<I: Proxy>( &self, req: Self::Request<'_>, data: Arc<dyn ObjectData>, ) -> Result<I, InvalidId>
Source§fn from_id(conn: &Connection, id: ObjectId) -> Result<Self, InvalidId>
fn from_id(conn: &Connection, id: ObjectId) -> Result<Self, InvalidId>
Source§fn inert(backend: WeakBackend) -> Self
fn inert(backend: WeakBackend) -> Self
Source§fn parse_event(
conn: &Connection,
msg: Message<ObjectId, OwnedFd>,
) -> Result<(Self, Self::Event), DispatchError>
fn parse_event( conn: &Connection, msg: Message<ObjectId, OwnedFd>, ) -> Result<(Self, Self::Event), DispatchError>
Source§fn write_request<'a>(
&self,
conn: &Connection,
msg: Self::Request<'a>,
) -> Result<(Message<ObjectId, BorrowedFd<'a>>, Option<(&'static Interface, u32)>), InvalidId>
fn write_request<'a>( &self, conn: &Connection, msg: Self::Request<'a>, ) -> Result<(Message<ObjectId, BorrowedFd<'a>>, Option<(&'static Interface, u32)>), InvalidId>
impl Eq for ZcosmicOutputConfigurationHeadV1
Auto Trait Implementations§
impl Freeze for ZcosmicOutputConfigurationHeadV1
impl !RefUnwindSafe for ZcosmicOutputConfigurationHeadV1
impl Send for ZcosmicOutputConfigurationHeadV1
impl Sync for ZcosmicOutputConfigurationHeadV1
impl Unpin for ZcosmicOutputConfigurationHeadV1
impl !UnwindSafe for ZcosmicOutputConfigurationHeadV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.