Skip to main content

State

Struct State 

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

C++ class: QAccessible::State.

Implementations§

Source§

impl State

Source

pub unsafe fn active(&self) -> c_ulonglong

Returns the value of the active field.

Source

pub unsafe fn animated(&self) -> c_ulonglong

Returns the value of the animated field.

Source

pub unsafe fn busy(&self) -> c_ulonglong

Returns the value of the busy field.

Source

pub unsafe fn check_state_mixed(&self) -> c_ulonglong

Returns the value of the checkStateMixed field.

Source

pub unsafe fn checkable(&self) -> c_ulonglong

Returns the value of the checkable field.

Source

pub unsafe fn checked(&self) -> c_ulonglong

Returns the value of the checked field.

Source

pub unsafe fn collapsed(&self) -> c_ulonglong

Returns the value of the collapsed field.

Source

pub unsafe fn copy_from(&self, other: impl CastInto<Ref<State>>) -> Ref<State>

Calls C++ function: QAccessible::State& QAccessible::State::operator=(const QAccessible::State& other).

Source

pub unsafe fn default_button(&self) -> c_ulonglong

Returns the value of the defaultButton field.

Source

pub unsafe fn disabled(&self) -> c_ulonglong

Returns the value of the disabled field.

Source

pub unsafe fn editable(&self) -> c_ulonglong

Returns the value of the editable field.

Source

pub unsafe fn expandable(&self) -> c_ulonglong

Returns the value of the expandable field.

Source

pub unsafe fn expanded(&self) -> c_ulonglong

Returns the value of the expanded field.

Source

pub unsafe fn ext_selectable(&self) -> c_ulonglong

Returns the value of the extSelectable field.

Source

pub unsafe fn focusable(&self) -> c_ulonglong

Returns the value of the focusable field.

Source

pub unsafe fn focused(&self) -> c_ulonglong

Returns the value of the focused field.

Source

pub unsafe fn has_popup(&self) -> c_ulonglong

Returns the value of the hasPopup field.

Source

pub unsafe fn hot_tracked(&self) -> c_ulonglong

Returns the value of the hotTracked field.

Source

pub unsafe fn invalid(&self) -> c_ulonglong

Returns the value of the invalid field.

Source

pub unsafe fn invisible(&self) -> c_ulonglong

Returns the value of the invisible field.

Source

pub unsafe fn linked(&self) -> c_ulonglong

Returns the value of the linked field.

Source

pub unsafe fn marqueed(&self) -> c_ulonglong

Returns the value of the marqueed field.

Source

pub unsafe fn modal(&self) -> c_ulonglong

Returns the value of the modal field.

Source

pub unsafe fn movable(&self) -> c_ulonglong

Returns the value of the movable field.

Source

pub unsafe fn multi_line(&self) -> c_ulonglong

Returns the value of the multiLine field.

Source

pub unsafe fn multi_selectable(&self) -> c_ulonglong

Returns the value of the multiSelectable field.

Source

pub unsafe fn new() -> CppBox<State>

Calls C++ function: [constructor] void QAccessible::State::State().

Source

pub unsafe fn new_copy(other: impl CastInto<Ref<State>>) -> CppBox<State>

Calls C++ function: [constructor] void QAccessible::State::State(const QAccessible::State& other).

Source

pub unsafe fn offscreen(&self) -> c_ulonglong

Returns the value of the offscreen field.

Source

pub unsafe fn password_edit(&self) -> c_ulonglong

Returns the value of the passwordEdit field.

Source

pub unsafe fn pressed(&self) -> c_ulonglong

Returns the value of the pressed field.

Source

pub unsafe fn read_only(&self) -> c_ulonglong

Returns the value of the readOnly field.

Source

pub unsafe fn search_edit(&self) -> c_ulonglong

Returns the value of the searchEdit field.

Source

pub unsafe fn selectable(&self) -> c_ulonglong

Returns the value of the selectable field.

Source

pub unsafe fn selectable_text(&self) -> c_ulonglong

Returns the value of the selectableText field.

Source

pub unsafe fn selected(&self) -> c_ulonglong

Returns the value of the selected field.

Source

pub unsafe fn self_voicing(&self) -> c_ulonglong

Returns the value of the selfVoicing field.

Source

pub unsafe fn set_active(&self, value: c_ulonglong)

Sets the value of the active field.

Source

pub unsafe fn set_animated(&self, value: c_ulonglong)

Sets the value of the animated field.

Source

pub unsafe fn set_busy(&self, value: c_ulonglong)

Sets the value of the busy field.

Source

pub unsafe fn set_check_state_mixed(&self, value: c_ulonglong)

Sets the value of the checkStateMixed field.

Source

pub unsafe fn set_checkable(&self, value: c_ulonglong)

Sets the value of the checkable field.

Source

pub unsafe fn set_checked(&self, value: c_ulonglong)

Sets the value of the checked field.

Source

pub unsafe fn set_collapsed(&self, value: c_ulonglong)

Sets the value of the collapsed field.

Source

pub unsafe fn set_default_button(&self, value: c_ulonglong)

Sets the value of the defaultButton field.

Source

pub unsafe fn set_disabled(&self, value: c_ulonglong)

Sets the value of the disabled field.

Source

pub unsafe fn set_editable(&self, value: c_ulonglong)

Sets the value of the editable field.

Source

pub unsafe fn set_expandable(&self, value: c_ulonglong)

Sets the value of the expandable field.

Source

pub unsafe fn set_expanded(&self, value: c_ulonglong)

Sets the value of the expanded field.

Source

pub unsafe fn set_ext_selectable(&self, value: c_ulonglong)

Sets the value of the extSelectable field.

Source

pub unsafe fn set_focusable(&self, value: c_ulonglong)

Sets the value of the focusable field.

Source

pub unsafe fn set_focused(&self, value: c_ulonglong)

Sets the value of the focused field.

Source

pub unsafe fn set_has_popup(&self, value: c_ulonglong)

Sets the value of the hasPopup field.

Source

pub unsafe fn set_hot_tracked(&self, value: c_ulonglong)

Sets the value of the hotTracked field.

Source

pub unsafe fn set_invalid(&self, value: c_ulonglong)

Sets the value of the invalid field.

Source

pub unsafe fn set_invisible(&self, value: c_ulonglong)

Sets the value of the invisible field.

Source

pub unsafe fn set_linked(&self, value: c_ulonglong)

Sets the value of the linked field.

Source

pub unsafe fn set_marqueed(&self, value: c_ulonglong)

Sets the value of the marqueed field.

Source

pub unsafe fn set_modal(&self, value: c_ulonglong)

Sets the value of the modal field.

Source

pub unsafe fn set_movable(&self, value: c_ulonglong)

Sets the value of the movable field.

Source

pub unsafe fn set_multi_line(&self, value: c_ulonglong)

Sets the value of the multiLine field.

Source

pub unsafe fn set_multi_selectable(&self, value: c_ulonglong)

Sets the value of the multiSelectable field.

Source

pub unsafe fn set_offscreen(&self, value: c_ulonglong)

Sets the value of the offscreen field.

Source

pub unsafe fn set_password_edit(&self, value: c_ulonglong)

Sets the value of the passwordEdit field.

Source

pub unsafe fn set_pressed(&self, value: c_ulonglong)

Sets the value of the pressed field.

Source

pub unsafe fn set_read_only(&self, value: c_ulonglong)

Sets the value of the readOnly field.

Source

pub unsafe fn set_search_edit(&self, value: c_ulonglong)

Sets the value of the searchEdit field.

Source

pub unsafe fn set_selectable(&self, value: c_ulonglong)

Sets the value of the selectable field.

Source

pub unsafe fn set_selectable_text(&self, value: c_ulonglong)

Sets the value of the selectableText field.

Source

pub unsafe fn set_selected(&self, value: c_ulonglong)

Sets the value of the selected field.

Source

pub unsafe fn set_self_voicing(&self, value: c_ulonglong)

Sets the value of the selfVoicing field.

Source

pub unsafe fn set_sizeable(&self, value: c_ulonglong)

Sets the value of the sizeable field.

Source

pub unsafe fn set_supports_auto_completion(&self, value: c_ulonglong)

Sets the value of the supportsAutoCompletion field.

Source

pub unsafe fn set_traversed(&self, value: c_ulonglong)

Sets the value of the traversed field.

Source

pub unsafe fn sizeable(&self) -> c_ulonglong

Returns the value of the sizeable field.

Source

pub unsafe fn supports_auto_completion(&self) -> c_ulonglong

Returns the value of the supportsAutoCompletion field.

Source

pub unsafe fn traversed(&self) -> c_ulonglong

Returns the value of the traversed field.

Trait Implementations§

Source§

impl CppDeletable for State

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QAccessible::State::~State().

Source§

impl PartialEq<Ref<State>> for State

Source§

fn eq(&self, second: &Ref<State>) -> bool

Calls C++ function: bool operator==(const QAccessible::State& first, const QAccessible::State& second).

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

§

impl Freeze for State

§

impl RefUnwindSafe for State

§

impl Send for State

§

impl Sync for State

§

impl Unpin for State

§

impl UnsafeUnpin for State

§

impl UnwindSafe for State

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<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.