Struct freya_common::AccessibilityDirtyNodes
source · pub struct AccessibilityDirtyNodes {
pub requested_focus: Option<NodeId>,
pub added_or_updated: FxHashSet<NodeId>,
pub removed: FxHashMap<NodeId, NodeId>,
}
Fields§
§requested_focus: Option<NodeId>
§added_or_updated: FxHashSet<NodeId>
§removed: FxHashMap<NodeId, NodeId>
Implementations§
source§impl AccessibilityDirtyNodes
impl AccessibilityDirtyNodes
pub fn request_focus(&mut self, node_id: NodeId)
pub fn add_or_update(&mut self, node_id: NodeId)
pub fn remove(&mut self, node_id: NodeId, ancestor_node_id: NodeId)
pub fn clear(&mut self)
Trait Implementations§
source§impl Default for AccessibilityDirtyNodes
impl Default for AccessibilityDirtyNodes
source§fn default() -> AccessibilityDirtyNodes
fn default() -> AccessibilityDirtyNodes
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AccessibilityDirtyNodes
impl RefUnwindSafe for AccessibilityDirtyNodes
impl Send for AccessibilityDirtyNodes
impl Sync for AccessibilityDirtyNodes
impl Unpin for AccessibilityDirtyNodes
impl UnwindSafe for AccessibilityDirtyNodes
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.