pub struct CosmicA11yManagerV1 { /* private fields */ }
Expand description
Implementations§
Source§impl CosmicA11yManagerV1
impl CosmicA11yManagerV1
Sourcepub fn magnifier(&self, active: ActiveState)
pub fn magnifier(&self, active: ActiveState)
State of the screen magnifier
State of the screen magnifier.
This event will be emitted by the compositor when binding the protocol and whenever the state changes.
Sourcepub fn screen_filter(&self, inverted: ActiveState, filter: Filter)
pub fn screen_filter(&self, inverted: ActiveState, filter: Filter)
State of screen filtering
Parameters used for screen filtering.
This event will be emitted by the compositor when binding the protocol and whenever the state changes.
If a screen filter is used not known to the protocol or the bound version filter will be set to unknown.
Since version 3 this event will not be emitted anymore, instead use screen_filter2
.
Sourcepub fn screen_filter2(
&self,
inverted: ActiveState,
filter: Filter,
filter_state: ActiveState,
)
pub fn screen_filter2( &self, inverted: ActiveState, filter: Filter, filter_state: ActiveState, )
State of screen filtering
Parameters used for screen filtering.
This event will be emitted by the compositor when binding the protocol and whenever the state changes.
If a screen filter is used not known to the protocol or the bound version filter will be set to unknown.
The compositor must never send “disabled” as the “filter” argument.
Trait Implementations§
Source§impl Borrow<ObjectId> for CosmicA11yManagerV1
impl Borrow<ObjectId> for CosmicA11yManagerV1
Source§impl Clone for CosmicA11yManagerV1
impl Clone for CosmicA11yManagerV1
Source§fn clone(&self) -> CosmicA11yManagerV1
fn clone(&self) -> CosmicA11yManagerV1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CosmicA11yManagerV1
impl Debug for CosmicA11yManagerV1
Source§impl Hash for CosmicA11yManagerV1
impl Hash for CosmicA11yManagerV1
Source§impl PartialEq for CosmicA11yManagerV1
impl PartialEq for CosmicA11yManagerV1
Source§impl Resource for CosmicA11yManagerV1
impl Resource for CosmicA11yManagerV1
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 CosmicA11yManagerV1
Auto Trait Implementations§
impl Freeze for CosmicA11yManagerV1
impl !RefUnwindSafe for CosmicA11yManagerV1
impl Send for CosmicA11yManagerV1
impl Sync for CosmicA11yManagerV1
impl Unpin for CosmicA11yManagerV1
impl !UnwindSafe for CosmicA11yManagerV1
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.