#[non_exhaustive]pub enum AccessibleRelation {
Show 18 variants
ActiveDescendant,
ColCount,
ColIndex,
ColIndexText,
ColSpan,
Controls,
DescribedBy,
Details,
ErrorMessage,
FlowTo,
LabelledBy,
Owns,
PosInSet,
RowCount,
RowIndex,
RowIndexText,
RowSpan,
SetSize,
}
Expand description
The possible accessible relations of a Accessible
.
Accessible relations can be references to other widgets, integers or strings.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ActiveDescendant
Identifies the currently active element when focus is on a composite widget, combobox, textbox, group, or application. Value type: reference
ColCount
Defines the total number of columns in a table, grid, or treegrid. Value type: integer
ColIndex
Defines an element’s column index or position with respect to the total number of columns within a table, grid, or treegrid. Value type: integer
ColIndexText
Defines a human readable text
alternative of ColIndex
. Value type: string
ColSpan
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer
Controls
Identifies the element (or elements) whose contents or presence are controlled by the current element. Value type: reference
DescribedBy
Identifies the element (or elements) that describes the object. Value type: reference
Details
Identifies the element (or elements) that provide additional information related to the object. Value type: reference
ErrorMessage
Identifies the element that provides an error message for an object. Value type: reference
FlowTo
Identifies the next element (or elements) in an alternate reading order of content which, at the user’s discretion, allows assistive technology to override the general default of reading in document source order. Value type: reference
LabelledBy
Identifies the element (or elements) that labels the current element. Value type: reference
Owns
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between elements where the widget hierarchy cannot be used to represent the relationship. Value type: reference
PosInSet
Defines an element’s number or position in the current set of listitems or treeitems. Value type: integer
RowCount
Defines the total number of rows in a table, grid, or treegrid. Value type: integer
RowIndex
Defines an element’s row index or position with respect to the total number of rows within a table, grid, or treegrid. Value type: integer
RowIndexText
Defines a human readable text alternative of aria-rowindex. Value type: string
RowSpan
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer
SetSize
Defines the number of items in the current set of listitems or treeitems. Value type: integer
Implementations§
Source§impl AccessibleRelation
impl AccessibleRelation
pub fn init_value(self, value: &mut Value)
Trait Implementations§
Source§impl Clone for AccessibleRelation
impl Clone for AccessibleRelation
Source§fn clone(&self) -> AccessibleRelation
fn clone(&self) -> AccessibleRelation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AccessibleRelation
impl Debug for AccessibleRelation
Source§impl From<AccessibleRelation> for Value
impl From<AccessibleRelation> for Value
Source§fn from(v: AccessibleRelation) -> Self
fn from(v: AccessibleRelation) -> Self
Source§impl<'a> FromValue<'a> for AccessibleRelation
impl<'a> FromValue<'a> for AccessibleRelation
Source§type Checker = GenericValueTypeChecker<AccessibleRelation>
type Checker = GenericValueTypeChecker<AccessibleRelation>
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Value
. Read moreSource§impl HasParamSpec for AccessibleRelation
impl HasParamSpec for AccessibleRelation
type ParamSpec = ParamSpecEnum
Source§type SetValue = AccessibleRelation
type SetValue = AccessibleRelation
type BuilderFn = fn(_: &str, _: AccessibleRelation) -> ParamSpecEnumBuilder<'_, AccessibleRelation>
fn param_spec_builder() -> Self::BuilderFn
Source§impl Hash for AccessibleRelation
impl Hash for AccessibleRelation
Source§impl Ord for AccessibleRelation
impl Ord for AccessibleRelation
Source§fn cmp(&self, other: &AccessibleRelation) -> Ordering
fn cmp(&self, other: &AccessibleRelation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AccessibleRelation
impl PartialEq for AccessibleRelation
Source§impl PartialOrd for AccessibleRelation
impl PartialOrd for AccessibleRelation
Source§impl StaticType for AccessibleRelation
impl StaticType for AccessibleRelation
Source§fn static_type() -> Type
fn static_type() -> Type
Self
.Source§impl ToValue for AccessibleRelation
impl ToValue for AccessibleRelation
Source§impl ValueType for AccessibleRelation
impl ValueType for AccessibleRelation
Source§type Type = AccessibleRelation
type Type = AccessibleRelation
Type
from. Read moreimpl Copy for AccessibleRelation
impl Eq for AccessibleRelation
impl StructuralPartialEq for AccessibleRelation
Auto Trait Implementations§
impl Freeze for AccessibleRelation
impl RefUnwindSafe for AccessibleRelation
impl Send for AccessibleRelation
impl Sync for AccessibleRelation
impl Unpin for AccessibleRelation
impl UnwindSafe for AccessibleRelation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)Source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
Source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
Source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
Source§fn ensure_type()
fn ensure_type()
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
SendValue
clone of self
.