pub enum KeywordCategory {
Structural,
Clause,
Macro,
Type,
Tag,
StatusAccess,
}Expand description
More specific classification for keyword kinds.
Variants§
Structural
Keywords framing modules and ASN.1 structures.
Clause
Keywords introducing macro clauses.
Macro
SMI macro invocation keywords.
Type
Built-in SMI type keywords.
Tag
ASN.1 tag keywords.
StatusAccess
Status and access value keywords.
Trait Implementations§
Source§impl Clone for KeywordCategory
impl Clone for KeywordCategory
Source§fn clone(&self) -> KeywordCategory
fn clone(&self) -> KeywordCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for KeywordCategory
Source§impl Debug for KeywordCategory
impl Debug for KeywordCategory
impl Eq for KeywordCategory
Source§impl Hash for KeywordCategory
impl Hash for KeywordCategory
Source§impl PartialEq for KeywordCategory
impl PartialEq for KeywordCategory
impl StructuralPartialEq for KeywordCategory
Auto Trait Implementations§
impl Freeze for KeywordCategory
impl RefUnwindSafe for KeywordCategory
impl Send for KeywordCategory
impl Sync for KeywordCategory
impl Unpin for KeywordCategory
impl UnsafeUnpin for KeywordCategory
impl UnwindSafe for KeywordCategory
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.