pub enum RedrawRequest {
NextFrame,
At(Instant),
Wait,
}
Expand description
A request to redraw a window.
Variants§
Trait Implementations§
Source§impl Clone for RedrawRequest
impl Clone for RedrawRequest
Source§fn clone(&self) -> RedrawRequest
fn clone(&self) -> RedrawRequest
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 Debug for RedrawRequest
impl Debug for RedrawRequest
Source§impl From<Instant> for RedrawRequest
impl From<Instant> for RedrawRequest
Source§impl Ord for RedrawRequest
impl Ord for RedrawRequest
Source§fn cmp(&self, other: &RedrawRequest) -> Ordering
fn cmp(&self, other: &RedrawRequest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RedrawRequest
impl PartialEq for RedrawRequest
Source§impl PartialOrd for RedrawRequest
impl PartialOrd for RedrawRequest
impl Copy for RedrawRequest
impl Eq for RedrawRequest
impl StructuralPartialEq for RedrawRequest
Auto Trait Implementations§
impl Freeze for RedrawRequest
impl RefUnwindSafe for RedrawRequest
impl Send for RedrawRequest
impl Sync for RedrawRequest
impl Unpin for RedrawRequest
impl UnwindSafe for RedrawRequest
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