pub struct TimedElement {
pub widget: WidgetId,
pub max_seconds: Option<u64>,
}Expand description
A timed element whose time controls have been proven to meet WCAG 2.2.
Only constructible through a WcagTimingFactory method.
Fields§
§widget: WidgetIdWidget identifier.
max_seconds: Option<u64>Maximum time in seconds (None if no limit).
Trait Implementations§
Source§impl Clone for TimedElement
impl Clone for TimedElement
Source§fn clone(&self) -> TimedElement
fn clone(&self) -> TimedElement
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 TimedElement
Source§impl Debug for TimedElement
impl Debug for TimedElement
Source§impl PartialEq for TimedElement
impl PartialEq for TimedElement
Source§fn eq(&self, other: &TimedElement) -> bool
fn eq(&self, other: &TimedElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimedElement
Auto Trait Implementations§
impl Freeze for TimedElement
impl RefUnwindSafe for TimedElement
impl Send for TimedElement
impl Sync for TimedElement
impl Unpin for TimedElement
impl UnsafeUnpin for TimedElement
impl UnwindSafe for TimedElement
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