pub enum DescriptorKind {
Namespace,
Type,
Term,
Method,
TypeParameter,
Parameter,
Meta,
Macro,
}Expand description
The kind of a descriptor, as in Suffix without the payload.
Variants§
Namespace
name/.
Type
name#.
Term
name..
Method
name(…)..
TypeParameter
[name].
Parameter
(name).
Meta
name:.
Macro
name!.
Trait Implementations§
Source§impl Clone for DescriptorKind
impl Clone for DescriptorKind
impl Copy for DescriptorKind
Source§impl Debug for DescriptorKind
impl Debug for DescriptorKind
impl Eq for DescriptorKind
Source§impl Hash for DescriptorKind
impl Hash for DescriptorKind
Source§impl Ord for DescriptorKind
impl Ord for DescriptorKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DescriptorKind
impl PartialEq for DescriptorKind
Source§impl PartialOrd for DescriptorKind
impl PartialOrd for DescriptorKind
impl StructuralPartialEq for DescriptorKind
Auto Trait Implementations§
impl Freeze for DescriptorKind
impl RefUnwindSafe for DescriptorKind
impl Send for DescriptorKind
impl Sync for DescriptorKind
impl Unpin for DescriptorKind
impl UnsafeUnpin for DescriptorKind
impl UnwindSafe for DescriptorKind
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