Enum atspi_proxies::events::terminal::TerminalEvents
source · pub enum TerminalEvents {
LineChanged(LineChangedEvent),
ColumnCountChanged(ColumnCountChangedEvent),
LineCountChanged(LineCountChangedEvent),
ApplicationChanged(ApplicationChangedEvent),
CharWidthChanged(CharWidthChangedEvent),
}
Expand description
All events related to the org.a11y.atspi.Event.Terminal
interface.
Variants§
LineChanged(LineChangedEvent)
See: LineChangedEvent
.
ColumnCountChanged(ColumnCountChangedEvent)
See: ColumnCountChangedEvent
.
LineCountChanged(LineCountChangedEvent)
See: LineCountChangedEvent
.
ApplicationChanged(ApplicationChangedEvent)
See: ApplicationChangedEvent
.
CharWidthChanged(CharWidthChangedEvent)
See: CharWidthChangedEvent
.
Trait Implementations§
source§impl Clone for TerminalEvents
impl Clone for TerminalEvents
source§fn clone(&self) -> TerminalEvents
fn clone(&self) -> TerminalEvents
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 Debug for TerminalEvents
impl Debug for TerminalEvents
source§impl<'de> Deserialize<'de> for TerminalEvents
impl<'de> Deserialize<'de> for TerminalEvents
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TerminalEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TerminalEvents, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl EventProperties for TerminalEvents
impl EventProperties for TerminalEvents
fn path(&self) -> ObjectPath<'_>
fn sender(&self) -> UniqueName<'_>
fn object_ref(&self) -> ObjectRef
source§impl EventTypeProperties for TerminalEvents
impl EventTypeProperties for TerminalEvents
source§impl From<ApplicationChangedEvent> for TerminalEvents
impl From<ApplicationChangedEvent> for TerminalEvents
source§fn from(specific_event: ApplicationChangedEvent) -> TerminalEvents
fn from(specific_event: ApplicationChangedEvent) -> TerminalEvents
Converts to this type from the input type.
source§impl From<CharWidthChangedEvent> for TerminalEvents
impl From<CharWidthChangedEvent> for TerminalEvents
source§fn from(specific_event: CharWidthChangedEvent) -> TerminalEvents
fn from(specific_event: CharWidthChangedEvent) -> TerminalEvents
Converts to this type from the input type.
source§impl From<ColumnCountChangedEvent> for TerminalEvents
impl From<ColumnCountChangedEvent> for TerminalEvents
source§fn from(specific_event: ColumnCountChangedEvent) -> TerminalEvents
fn from(specific_event: ColumnCountChangedEvent) -> TerminalEvents
Converts to this type from the input type.
source§impl From<LineChangedEvent> for TerminalEvents
impl From<LineChangedEvent> for TerminalEvents
source§fn from(specific_event: LineChangedEvent) -> TerminalEvents
fn from(specific_event: LineChangedEvent) -> TerminalEvents
Converts to this type from the input type.
source§impl From<LineCountChangedEvent> for TerminalEvents
impl From<LineCountChangedEvent> for TerminalEvents
source§fn from(specific_event: LineCountChangedEvent) -> TerminalEvents
fn from(specific_event: LineCountChangedEvent) -> TerminalEvents
Converts to this type from the input type.
source§impl From<TerminalEvents> for Event
impl From<TerminalEvents> for Event
source§fn from(event_variant: TerminalEvents) -> Event
fn from(event_variant: TerminalEvents) -> Event
Converts to this type from the input type.
source§impl HasMatchRule for TerminalEvents
impl HasMatchRule for TerminalEvents
source§const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Terminal'"
const MATCH_RULE_STRING: &'static str = "type='signal',interface='org.a11y.atspi.Event.Terminal'"
A static match rule string for
DBus
.
This should usually be a string that looks like this: "type='signal',interface='org.a11y.atspi.Event.Object',member='PropertyChange'"
;
This should be deprecated in favour of composing the string from BusProperties::DBUS_MEMBER
and BusProperties::DBUS_INTERFACE
.source§impl HasRegistryEventString for TerminalEvents
impl HasRegistryEventString for TerminalEvents
source§const REGISTRY_EVENT_STRING: &'static str = "Terminal:"
const REGISTRY_EVENT_STRING: &'static str = "Terminal:"
A registry event string for registering for event receiving via the
RegistryProxy
.
This should be deprecated in favour of composing the string from BusProperties::DBUS_MEMBER
and BusProperties::DBUS_INTERFACE
.source§impl Hash for TerminalEvents
impl Hash for TerminalEvents
source§impl PartialEq for TerminalEvents
impl PartialEq for TerminalEvents
source§impl Serialize for TerminalEvents
impl Serialize for TerminalEvents
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl TryFrom<&Message> for TerminalEvents
impl TryFrom<&Message> for TerminalEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
ev: &Message,
) -> Result<TerminalEvents, <TerminalEvents as TryFrom<&Message>>::Error>
fn try_from( ev: &Message, ) -> Result<TerminalEvents, <TerminalEvents as TryFrom<&Message>>::Error>
Performs the conversion.
source§impl TryFrom<Event> for TerminalEvents
impl TryFrom<Event> for TerminalEvents
§type Error = AtspiError
type Error = AtspiError
The type returned in the event of a conversion error.
source§fn try_from(
generic_event: Event,
) -> Result<TerminalEvents, <TerminalEvents as TryFrom<Event>>::Error>
fn try_from( generic_event: Event, ) -> Result<TerminalEvents, <TerminalEvents as TryFrom<Event>>::Error>
Performs the conversion.
impl Eq for TerminalEvents
impl StructuralPartialEq for TerminalEvents
Auto Trait Implementations§
impl Freeze for TerminalEvents
impl RefUnwindSafe for TerminalEvents
impl Send for TerminalEvents
impl Sync for TerminalEvents
impl Unpin for TerminalEvents
impl UnwindSafe for TerminalEvents
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)