#[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.6.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
.