pub struct ScreenReaderPolicy {
pub max_mirror_nodes: usize,
pub max_announcements: usize,
pub max_text_chars: usize,
}Expand description
Bounded output policy for screen-reader mirrors and announcements.
Fields§
§max_mirror_nodes: usizeMaximum non-presentational nodes to include in mirror output.
max_announcements: usizeMaximum announcements to emit for one diff.
max_text_chars: usizeMaximum Unicode scalar values in each mirror line or announcement.
Trait Implementations§
Source§impl Clone for ScreenReaderPolicy
impl Clone for ScreenReaderPolicy
Source§fn clone(&self) -> ScreenReaderPolicy
fn clone(&self) -> ScreenReaderPolicy
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 moreimpl Copy for ScreenReaderPolicy
Source§impl Debug for ScreenReaderPolicy
impl Debug for ScreenReaderPolicy
Source§impl Default for ScreenReaderPolicy
impl Default for ScreenReaderPolicy
Source§fn default() -> ScreenReaderPolicy
fn default() -> ScreenReaderPolicy
Returns the “default value” for a type. Read more
impl Eq for ScreenReaderPolicy
Source§impl PartialEq for ScreenReaderPolicy
impl PartialEq for ScreenReaderPolicy
impl StructuralPartialEq for ScreenReaderPolicy
Auto Trait Implementations§
impl Freeze for ScreenReaderPolicy
impl RefUnwindSafe for ScreenReaderPolicy
impl Send for ScreenReaderPolicy
impl Sync for ScreenReaderPolicy
impl Unpin for ScreenReaderPolicy
impl UnsafeUnpin for ScreenReaderPolicy
impl UnwindSafe for ScreenReaderPolicy
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.