pub enum FormContext {
Thing,
Property,
Action,
Event,
}Expand description
Context of a Form
Variants§
Thing
The root Thing context
Property
A property affordance context
Action
An action affordance context
Event
An event affordance context
Trait Implementations§
Source§impl Clone for FormContext
impl Clone for FormContext
Source§fn clone(&self) -> FormContext
fn clone(&self) -> FormContext
Returns a duplicate 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 FormContext
impl Debug for FormContext
Source§impl Display for FormContext
impl Display for FormContext
Source§impl From<AffordanceType> for FormContext
impl From<AffordanceType> for FormContext
Source§fn from(ty: AffordanceType) -> Self
fn from(ty: AffordanceType) -> Self
Converts to this type from the input type.
Source§impl Hash for FormContext
impl Hash for FormContext
Source§impl PartialEq for FormContext
impl PartialEq for FormContext
impl Eq for FormContext
impl StructuralPartialEq for FormContext
Auto Trait Implementations§
impl Freeze for FormContext
impl RefUnwindSafe for FormContext
impl Send for FormContext
impl Sync for FormContext
impl Unpin for FormContext
impl UnwindSafe for FormContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.