pub struct OrgKdeKwinOutputconfiguration { /* private fields */ }
Expand description
configure single output devices
outputconfiguration is a client-specific resource that can be used to ask the server to apply changes to available output devices.
The client receives a list of output devices from the registry. When it wants to apply new settings, it creates a configuration object from the outputmanagement global, writes changes through this object’s enable, scale, transform and mode calls. It then asks the server to apply these settings in an atomic fashion, for example through Linux’ DRM interface.
The server signals back whether the new settings have applied successfully or failed to apply. outputdevice objects are updated after the changes have been applied to the hardware and before the server side sends the applied event.
See also the Request enum for this interface.
Implementations§
Trait Implementations§
Source§impl Clone for OrgKdeKwinOutputconfiguration
impl Clone for OrgKdeKwinOutputconfiguration
Source§fn clone(&self) -> OrgKdeKwinOutputconfiguration
fn clone(&self) -> OrgKdeKwinOutputconfiguration
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Hash for OrgKdeKwinOutputconfiguration
impl Hash for OrgKdeKwinOutputconfiguration
Source§impl PartialEq<Weak<OrgKdeKwinOutputconfiguration>> for OrgKdeKwinOutputconfiguration
impl PartialEq<Weak<OrgKdeKwinOutputconfiguration>> for OrgKdeKwinOutputconfiguration
Source§impl PartialEq for OrgKdeKwinOutputconfiguration
impl PartialEq for OrgKdeKwinOutputconfiguration
Source§fn eq(&self, other: &OrgKdeKwinOutputconfiguration) -> bool
fn eq(&self, other: &OrgKdeKwinOutputconfiguration) -> bool
self
and other
values to be equal, and is used by ==
.Source§impl Resource for OrgKdeKwinOutputconfiguration
impl Resource for OrgKdeKwinOutputconfiguration
Source§fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
fn object_data(&self) -> Option<&Arc<dyn Any + Send + Sync>>
Source§fn handle(&self) -> &WeakHandle
fn handle(&self) -> &WeakHandle
Source§fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
fn from_id(conn: &DisplayHandle, id: ObjectId) -> Result<Self, InvalidId>
Source§fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
fn send_event(&self, evt: Self::Event<'_>) -> Result<(), InvalidId>
Source§fn parse_request(
conn: &DisplayHandle,
msg: Message<ObjectId, OwnedFd>,
) -> Result<(Self, Self::Request), DispatchError>
fn parse_request( conn: &DisplayHandle, msg: Message<ObjectId, OwnedFd>, ) -> Result<(Self, Self::Request), DispatchError>
Source§fn write_event<'a>(
&self,
conn: &DisplayHandle,
msg: Self::Event<'a>,
) -> Result<Message<ObjectId, BorrowedFd<'a>>, InvalidId>
fn write_event<'a>( &self, conn: &DisplayHandle, msg: Self::Event<'a>, ) -> Result<Message<ObjectId, BorrowedFd<'a>>, InvalidId>
Source§fn is_alive(&self) -> bool
fn is_alive(&self) -> bool
impl Eq for OrgKdeKwinOutputconfiguration
Auto Trait Implementations§
impl Freeze for OrgKdeKwinOutputconfiguration
impl !RefUnwindSafe for OrgKdeKwinOutputconfiguration
impl Send for OrgKdeKwinOutputconfiguration
impl Sync for OrgKdeKwinOutputconfiguration
impl Unpin for OrgKdeKwinOutputconfiguration
impl !UnwindSafe for OrgKdeKwinOutputconfiguration
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§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
.§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
.§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.§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.