Enum depends::InputState
source · pub enum InputState {
Updating,
Resolving,
Resolved,
}
Expand description
Used to ensure that pending data is resolved at most once between calls to
update
.
Variants§
Updating
This node is being updated.
Resolving
Indicates this node must be cleaned when next resolved or updated.
Resolved
This node has been resolved, no further cleaning is necessary.
Trait Implementations§
source§impl Clone for InputState
impl Clone for InputState
source§fn clone(&self) -> InputState
fn clone(&self) -> InputState
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 InputState
impl Debug for InputState
source§impl Default for InputState
impl Default for InputState
source§fn default() -> InputState
fn default() -> InputState
Returns the “default value” for a type. Read more
source§impl Hash for InputState
impl Hash for InputState
source§impl PartialEq for InputState
impl PartialEq for InputState
source§fn eq(&self, other: &InputState) -> bool
fn eq(&self, other: &InputState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InputState
impl Eq for InputState
impl StructuralEq for InputState
impl StructuralPartialEq for InputState
Auto Trait Implementations§
impl RefUnwindSafe for InputState
impl Send for InputState
impl Sync for InputState
impl Unpin for InputState
impl UnwindSafe for InputState
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