[][src]Struct qt_gui::q_accessible::RelationFlag

#[repr(transparent)]pub struct RelationFlag(_);

This enum type defines bit flags that can be combined to indicate the relationship between two accessible objects.

C++ enum: QAccessible::RelationFlag.

C++ documentation:

This enum type defines bit flags that can be combined to indicate the relationship between two accessible objects.

Implementations of relations() return a combination of these flags. Some values are mutually exclusive.

The Relation type is a typedef for QFlags<RelationFlag>. It stores an OR combination of RelationFlag values.

Methods

impl RelationFlag[src]

pub fn to_int(&self) -> c_int[src]

impl RelationFlag[src]

pub const Label: RelationFlag[src]

The first object is the label of the second object. (C++ enum variant: Label = 1)

pub const Labelled: RelationFlag[src]

The first object is labelled by the second object. (C++ enum variant: Labelled = 2)

pub const Controller: RelationFlag[src]

The first object controls the second object. (C++ enum variant: Controller = 4)

pub const Controlled: RelationFlag[src]

The first object is controlled by the second object. (C++ enum variant: Controlled = 8)

pub const AllRelations: RelationFlag[src]

Used as a mask to specify that we are interesting in information about all relations (C++ enum variant: AllRelations = -1)

Trait Implementations

impl<T: Into<QFlags<RelationFlag>>> BitOr<T> for RelationFlag[src]

type Output = QFlags<RelationFlag>

The resulting type after applying the | operator.

impl Clone for RelationFlag[src]

impl Copy for RelationFlag[src]

impl Debug for RelationFlag[src]

impl Eq for RelationFlag[src]

impl From<RelationFlag> for c_int[src]

impl From<RelationFlag> for QFlags<RelationFlag>[src]

impl From<i32> for RelationFlag[src]

impl PartialEq<RelationFlag> for RelationFlag[src]

impl StructuralEq for RelationFlag[src]

impl StructuralPartialEq for RelationFlag[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.