pub enum PropertyInitializationKind {
Explicit,
Derived,
Constant,
}Expand description
The kind of initialization that a property has.
Variants§
Explicit
The property is not derived and has no initial value. Its initialization is explicit, meaning it must be set by client code at time of creation. Initialization is explicit if and only if the property is required, that is, if a value for the property must be supplied at time of entity creation.
Derived
The property is a derived property (it’s value is computed dynamically from other property values). It cannot be set explicitly.
Constant
The property is given a constant initial value. Its initialization does not trigger a change event.
Trait Implementations§
Source§impl Clone for PropertyInitializationKind
impl Clone for PropertyInitializationKind
Source§fn clone(&self) -> PropertyInitializationKind
fn clone(&self) -> PropertyInitializationKind
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 PropertyInitializationKind
impl Debug for PropertyInitializationKind
impl Copy for PropertyInitializationKind
impl Eq for PropertyInitializationKind
impl StructuralPartialEq for PropertyInitializationKind
Auto Trait Implementations§
impl Freeze for PropertyInitializationKind
impl RefUnwindSafe for PropertyInitializationKind
impl Send for PropertyInitializationKind
impl Sync for PropertyInitializationKind
impl Unpin for PropertyInitializationKind
impl UnwindSafe for PropertyInitializationKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.