pub struct WatchDelivery {
pub interval: Duration,
}Expand description
How a watch repeats its answer.
Fields§
§interval: DurationThe longest a repaint waits for changes; change detection itself is event-driven.
Implementations§
Source§impl WatchDelivery
impl WatchDelivery
Sourcepub const DEFAULT_INTERVAL: Duration
pub const DEFAULT_INTERVAL: Duration
Shared default repaint cadence for every surface.
Trait Implementations§
Source§impl Clone for WatchDelivery
impl Clone for WatchDelivery
impl Copy for WatchDelivery
Source§impl Debug for WatchDelivery
impl Debug for WatchDelivery
Source§impl Default for WatchDelivery
impl Default for WatchDelivery
impl Eq for WatchDelivery
Source§impl PartialEq for WatchDelivery
impl PartialEq for WatchDelivery
impl StructuralPartialEq for WatchDelivery
Auto Trait Implementations§
impl Freeze for WatchDelivery
impl RefUnwindSafe for WatchDelivery
impl Send for WatchDelivery
impl Sync for WatchDelivery
impl Unpin for WatchDelivery
impl UnsafeUnpin for WatchDelivery
impl UnwindSafe for WatchDelivery
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