pub struct PaneAriaNode {
pub pane_id: PaneId,
pub role: PaneAriaRole,
pub tabindex: i32,
pub label: String,
pub orientation: Option<PaneAriaOrientation>,
pub value_now: Option<u16>,
pub value_min: Option<u16>,
pub value_max: Option<u16>,
pub current: bool,
}Expand description
One node in the pane accessibility tree, mapping directly to DOM ARIA attributes the web host applies to its pane/splitter elements.
Fields§
§pane_id: PaneIdThe pane node this describes.
role: PaneAriaRolerole.
tabindex: i32tabindex. Roving: exactly one leaf (the active pane) is 0; all other
leaves are -1. Splitters are -1 (described, not tab-focused).
label: Stringaria-label.
orientation: Option<PaneAriaOrientation>aria-orientation (splitters only).
value_now: Option<u16>aria-valuenow — splitter first-child share, 0..=100 (splitters only).
value_min: Option<u16>aria-valuemin (splitters only).
value_max: Option<u16>aria-valuemax (splitters only).
current: boolaria-current="true" / aria-selected — the active pane.
Trait Implementations§
Source§impl Clone for PaneAriaNode
impl Clone for PaneAriaNode
Source§fn clone(&self) -> PaneAriaNode
fn clone(&self) -> PaneAriaNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaneAriaNode
impl Debug for PaneAriaNode
impl Eq for PaneAriaNode
Source§impl PartialEq for PaneAriaNode
impl PartialEq for PaneAriaNode
Source§fn eq(&self, other: &PaneAriaNode) -> bool
fn eq(&self, other: &PaneAriaNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PaneAriaNode
Auto Trait Implementations§
impl Freeze for PaneAriaNode
impl RefUnwindSafe for PaneAriaNode
impl Send for PaneAriaNode
impl Sync for PaneAriaNode
impl Unpin for PaneAriaNode
impl UnsafeUnpin for PaneAriaNode
impl UnwindSafe for PaneAriaNode
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.