Struct qt_gui::q_accessible::RelationFlag
source · pub struct RelationFlag(/* private fields */);
Expand description
This enum type defines bit flags that can be combined to indicate the relationship between two accessible objects.
C++ enum: QAccessible::RelationFlag
.
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.
Implementations§
source§impl RelationFlag
impl RelationFlag
sourcepub const Label: RelationFlag = _
pub const Label: RelationFlag = _
The first object is the label of the second object. (C++ enum variant: Label = 1
)
sourcepub const Labelled: RelationFlag = _
pub const Labelled: RelationFlag = _
The first object is labelled by the second object. (C++ enum variant: Labelled = 2
)
sourcepub const Controller: RelationFlag = _
pub const Controller: RelationFlag = _
The first object controls the second object. (C++ enum variant: Controller = 4
)
sourcepub const Controlled: RelationFlag = _
pub const Controlled: RelationFlag = _
The first object is controlled by the second object. (C++ enum variant: Controlled = 8
)
sourcepub const AllRelations: RelationFlag = _
pub const AllRelations: RelationFlag = _
Used as a mask to specify that we are interesting in information about all relations (C++ enum variant: AllRelations = -1
)
Trait Implementations§
source§impl<T: Into<QFlags<RelationFlag>>> BitOr<T> for RelationFlag
impl<T: Into<QFlags<RelationFlag>>> BitOr<T> for RelationFlag
§type Output = QFlags<RelationFlag>
type Output = QFlags<RelationFlag>
|
operator.source§impl Clone for RelationFlag
impl Clone for RelationFlag
source§fn clone(&self) -> RelationFlag
fn clone(&self) -> RelationFlag
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RelationFlag
impl Debug for RelationFlag
source§impl From<RelationFlag> for QFlags<RelationFlag>
impl From<RelationFlag> for QFlags<RelationFlag>
source§fn from(value: RelationFlag) -> Self
fn from(value: RelationFlag) -> Self
source§impl From<RelationFlag> for c_int
impl From<RelationFlag> for c_int
source§fn from(value: RelationFlag) -> Self
fn from(value: RelationFlag) -> Self
source§impl From<i32> for RelationFlag
impl From<i32> for RelationFlag
source§impl PartialEq for RelationFlag
impl PartialEq for RelationFlag
source§fn eq(&self, other: &RelationFlag) -> bool
fn eq(&self, other: &RelationFlag) -> bool
self
and other
values to be equal, and is used
by ==
.