Struct freya_node_state::AccessibilityState 
source · pub struct AccessibilityState {
    pub focus_id: Option<AccessibilityId>,
    pub role: Option<Role>,
    pub alt: Option<String>,
    pub name: Option<String>,
    pub focusable: bool,
}Fields§
§focus_id: Option<AccessibilityId>§role: Option<Role>§alt: Option<String>§name: Option<String>§focusable: boolTrait Implementations§
source§impl Clone for AccessibilityState
 
impl Clone for AccessibilityState
source§fn clone(&self) -> AccessibilityState
 
fn clone(&self) -> AccessibilityState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Component for AccessibilityState
 
impl Component for AccessibilityState
source§impl Debug for AccessibilityState
 
impl Debug for AccessibilityState
source§impl Default for AccessibilityState
 
impl Default for AccessibilityState
source§fn default() -> AccessibilityState
 
fn default() -> AccessibilityState
Returns the “default value” for a type. Read more
source§impl PartialEq<AccessibilityState> for AccessibilityState
 
impl PartialEq<AccessibilityState> for AccessibilityState
source§fn eq(&self, other: &AccessibilityState) -> bool
 
fn eq(&self, other: &AccessibilityState) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl State<CustomAttributeValues> for AccessibilityState
 
impl State<CustomAttributeValues> for AccessibilityState
source§fn create<'a>(
    node_view: NodeView<'_, CustomAttributeValues>,
    node: <Self::NodeDependencies as Dependancy>::ElementBorrowed<'a>,
    parent: Option<<Self::ParentDependencies as Dependancy>::ElementBorrowed<'a>>,
    children: Vec<<Self::ChildDependencies as Dependancy>::ElementBorrowed<'a>>,
    context: &SendAnyMap
) -> Self
 
fn create<'a>( node_view: NodeView<'_, CustomAttributeValues>, node: <Self::NodeDependencies as Dependancy>::ElementBorrowed<'a>, parent: Option<<Self::ParentDependencies as Dependancy>::ElementBorrowed<'a>>, children: Vec<<Self::ChildDependencies as Dependancy>::ElementBorrowed<'a>>, context: &SendAnyMap ) -> Self
Create a new instance of this state
§type ParentDependencies = ()
 
type ParentDependencies = ()
This is a tuple of (T: State, ..) of states read from the parent required to update this state
§type ChildDependencies = ()
 
type ChildDependencies = ()
This is a tuple of (T: State, ..) of states read from the children required to update this state
§type NodeDependencies = ()
 
type NodeDependencies = ()
This is a tuple of (T: State, ..) of states read from the node required to update this state
source§const NODE_MASK: NodeMaskBuilder<'static> = _
 
const NODE_MASK: NodeMaskBuilder<'static> = _
This is a mask of what aspects of the node are required to update this state
source§fn update<'a>(
    &mut self,
    node_view: NodeView<'_, CustomAttributeValues>,
    _node: <Self::NodeDependencies as Dependancy>::ElementBorrowed<'a>,
    _parent: Option<<Self::ParentDependencies as Dependancy>::ElementBorrowed<'a>>,
    _children: Vec<<Self::ChildDependencies as Dependancy>::ElementBorrowed<'a>>,
    _context: &SendAnyMap
) -> bool
 
fn update<'a>( &mut self, node_view: NodeView<'_, CustomAttributeValues>, _node: <Self::NodeDependencies as Dependancy>::ElementBorrowed<'a>, _parent: Option<<Self::ParentDependencies as Dependancy>::ElementBorrowed<'a>>, _children: Vec<<Self::ChildDependencies as Dependancy>::ElementBorrowed<'a>>, _context: &SendAnyMap ) -> bool
Update this state in a node, returns if the state was updated
source§fn workload_system(
    type_id: TypeId,
    dependants: Arc<Dependants>,
    pass_direction: PassDirection
) -> WorkloadSystem
 
fn workload_system( type_id: TypeId, dependants: Arc<Dependants>, pass_direction: PassDirection ) -> WorkloadSystem
Create a workload system for this state
§const TRAVERSE_SHADOW_DOM: bool = false
 
const TRAVERSE_SHADOW_DOM: bool = false
Does the state traverse into the shadow dom or pass over it. This should be true for layout and false for styles
§fn to_type_erased() -> TypeErasedState<V>where
    Self: Sized,
 
fn to_type_erased() -> TypeErasedState<V>where Self: Sized,
Converts to a type erased version of the trait
impl Eq for AccessibilityState
impl StructuralEq for AccessibilityState
impl StructuralPartialEq for AccessibilityState
Auto Trait Implementations§
impl RefUnwindSafe for AccessibilityState
impl Send for AccessibilityState
impl Sync for AccessibilityState
impl Unpin for AccessibilityState
impl UnwindSafe for AccessibilityState
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<Q, K> Equivalent<K> for Qwhere
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized,
 
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
    T: Default,
 
impl<T> NoneValue for Twhere T: Default,
type NoneType = T
§fn null_value() -> T
 
fn null_value() -> T
The none-equivalent value.
§impl<T> Pointable for T
 
impl<T> Pointable for T
§impl<T> TupleAddComponent for Twhere
    T: Send + Sync + Component,
    <T as Component>::Tracking: Send + Sync,
 
impl<T> TupleAddComponent for Twhere T: Send + Sync + Component, <T as Component>::Tracking: Send + Sync,
§fn add_component(self, all_storages: &mut AllStorages, entity: EntityId)
 
fn add_component(self, all_storages: &mut AllStorages, entity: EntityId)
See [
World::add_entity], [World::add_component], [AllStorages::add_entity] and [AllStorages::add_component].