#[non_exhaustive]pub enum PropState {
Default,
UserSet,
Invalid,
}Expand description
Property state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Default
The property has its default value set.
UserSet
The property has a non-default value.
Invalid
The value is not valid in the current context.
Trait Implementations§
impl Copy for PropState
impl Eq for PropState
impl StructuralPartialEq for PropState
Auto Trait Implementations§
impl Freeze for PropState
impl RefUnwindSafe for PropState
impl Send for PropState
impl Sync for PropState
impl Unpin for PropState
impl UnwindSafe for PropState
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