pub enum ModeDeclarationGroupCategory {
AlphabeticOrder,
ExplicitOrder,
}
Expand description
Category of mode declaration groupy, which defines the ordering of the modes in the group
Variants§
AlphabeticOrder
Ordering of the modes in the mode declaration group is alphabetic, and the modes may not set a value
ExplicitOrder
Ordering of modes in the mode declaration group is made explixit by the value, which must be set for each mode.
Additonally, the on_transition_value
attribute must be set in this case.
Trait Implementations§
Source§impl Clone for ModeDeclarationGroupCategory
impl Clone for ModeDeclarationGroupCategory
Source§fn clone(&self) -> ModeDeclarationGroupCategory
fn clone(&self) -> ModeDeclarationGroupCategory
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 ModeDeclarationGroupCategory
impl Debug for ModeDeclarationGroupCategory
Source§impl Hash for ModeDeclarationGroupCategory
impl Hash for ModeDeclarationGroupCategory
Source§impl PartialEq for ModeDeclarationGroupCategory
impl PartialEq for ModeDeclarationGroupCategory
Source§fn eq(&self, other: &ModeDeclarationGroupCategory) -> bool
fn eq(&self, other: &ModeDeclarationGroupCategory) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ModeDeclarationGroupCategory
impl StructuralPartialEq for ModeDeclarationGroupCategory
Auto Trait Implementations§
impl Freeze for ModeDeclarationGroupCategory
impl RefUnwindSafe for ModeDeclarationGroupCategory
impl Send for ModeDeclarationGroupCategory
impl Sync for ModeDeclarationGroupCategory
impl Unpin for ModeDeclarationGroupCategory
impl UnwindSafe for ModeDeclarationGroupCategory
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§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.