pub enum StateSource {
Annotation,
Component,
Inferred,
Derived,
}Expand description
Which source set a state.
Variants§
Annotation
An application annotation.
Component
A component library’s annotation.
Inferred
Inference from built-in widget operations.
Derived
Derived from the rest of the tree.
Trait Implementations§
Source§impl Clone for StateSource
impl Clone for StateSource
impl Copy for StateSource
Source§impl Debug for StateSource
impl Debug for StateSource
Source§impl<'de> Deserialize<'de> for StateSource
impl<'de> Deserialize<'de> for StateSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StateSource
Source§impl Hash for StateSource
impl Hash for StateSource
Source§impl PartialEq for StateSource
impl PartialEq for StateSource
Source§impl Serialize for StateSource
impl Serialize for StateSource
impl StructuralPartialEq for StateSource
Auto Trait Implementations§
impl Forget for StateSource
impl Freeze for StateSource
impl Move for StateSource
impl RefUnwindSafe for StateSource
impl Send for StateSource
impl Sync for StateSource
impl Unpin for StateSource
impl UnsafeUnpin for StateSource
impl UnwindSafe for StateSource
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