Skip to main content

QAccessibleStateChangeEvent

Struct QAccessibleStateChangeEvent 

Source
pub struct QAccessibleStateChangeEvent { /* private fields */ }
Expand description

C++ class: QAccessibleStateChangeEvent.

Implementations§

Source§

impl QAccessibleStateChangeEvent

Source

pub unsafe fn changed_states(&self) -> CppBox<State>

Calls C++ function: QAccessible::State QAccessibleStateChangeEvent::changedStates() const.

Source

pub unsafe fn from_q_object_state( obj: impl CastInto<Ptr<QObject>>, state: impl CastInto<Ref<State>>, ) -> CppBox<QAccessibleStateChangeEvent>

Calls C++ function: [constructor] void QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QObject* obj, QAccessible::State state).

Source

pub unsafe fn from_q_accessible_interface_state( iface: impl CastInto<Ptr<QAccessibleInterface>>, state: impl CastInto<Ref<State>>, ) -> CppBox<QAccessibleStateChangeEvent>

Calls C++ function: [constructor] void QAccessibleStateChangeEvent::QAccessibleStateChangeEvent(QAccessibleInterface* iface, QAccessible::State state).

Methods from Deref<Target = QAccessibleEvent>§

Source

pub unsafe fn accessible_interface(&self) -> Ptr<QAccessibleInterface>

Calls C++ function: virtual QAccessibleInterface* QAccessibleEvent::accessibleInterface() const.

Source

pub unsafe fn child(&self) -> c_int

Calls C++ function: int QAccessibleEvent::child() const.

Source

pub unsafe fn object(&self) -> QPtr<QObject>

Calls C++ function: QObject* QAccessibleEvent::object() const.

Source

pub unsafe fn set_child(&self, chld: c_int)

Calls C++ function: void QAccessibleEvent::setChild(int chld).

Source

pub unsafe fn type_(&self) -> Event

Calls C++ function: QAccessible::Event QAccessibleEvent::type() const.

Source

pub unsafe fn unique_id(&self) -> c_uint

Calls C++ function: unsigned int QAccessibleEvent::uniqueId() const.

Trait Implementations§

Source§

impl CppDeletable for QAccessibleStateChangeEvent

Source§

unsafe fn delete(&self)

Calls C++ function: virtual [destructor] void QAccessibleStateChangeEvent::~QAccessibleStateChangeEvent().

Source§

impl Deref for QAccessibleStateChangeEvent

Source§

fn deref(&self) -> &QAccessibleEvent

Calls C++ function: QAccessibleEvent* static_cast<QAccessibleEvent*>(QAccessibleStateChangeEvent* ptr).

Source§

type Target = QAccessibleEvent

The resulting type after dereferencing.
Source§

impl DynamicCast<QAccessibleStateChangeEvent> for QAccessibleEvent

Source§

unsafe fn dynamic_cast( ptr: Ptr<QAccessibleEvent>, ) -> Ptr<QAccessibleStateChangeEvent>

Calls C++ function: QAccessibleStateChangeEvent* dynamic_cast<QAccessibleStateChangeEvent*>(QAccessibleEvent* ptr).

Source§

impl StaticDowncast<QAccessibleStateChangeEvent> for QAccessibleEvent

Source§

unsafe fn static_downcast( ptr: Ptr<QAccessibleEvent>, ) -> Ptr<QAccessibleStateChangeEvent>

Calls C++ function: QAccessibleStateChangeEvent* static_cast<QAccessibleStateChangeEvent*>(QAccessibleEvent* ptr).

Source§

impl StaticUpcast<QAccessibleEvent> for QAccessibleStateChangeEvent

Source§

unsafe fn static_upcast( ptr: Ptr<QAccessibleStateChangeEvent>, ) -> Ptr<QAccessibleEvent>

Calls C++ function: QAccessibleEvent* static_cast<QAccessibleEvent*>(QAccessibleStateChangeEvent* ptr).

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.