#[repr(u32)]pub(crate) enum SupportedModifiers {
Show 23 variants
Async = 0,
Documentation = 1,
Declaration = 2,
Static = 3,
DefaultLibrary = 4,
Deprecated = 5,
Associated = 6,
AttributeModifier = 7,
Callable = 8,
Constant = 9,
Consuming = 10,
ControlFlow = 11,
CrateRoot = 12,
Injected = 13,
IntraDocLink = 14,
Library = 15,
MacroModifier = 16,
Mutable = 17,
ProcMacroModifier = 18,
Public = 19,
Reference = 20,
TraitModifier = 21,
Unsafe = 22,
}Variants§
Async = 0
Documentation = 1
Declaration = 2
Static = 3
DefaultLibrary = 4
Deprecated = 5
Associated = 6
AttributeModifier = 7
Callable = 8
Constant = 9
Consuming = 10
ControlFlow = 11
CrateRoot = 12
Injected = 13
IntraDocLink = 14
Library = 15
MacroModifier = 16
Mutable = 17
ProcMacroModifier = 18
Public = 19
Reference = 20
TraitModifier = 21
Unsafe = 22
Implementations§
Trait Implementations§
Source§impl BitOrAssign<SupportedModifiers> for ModifierSet
impl BitOrAssign<SupportedModifiers> for ModifierSet
Source§fn bitor_assign(&mut self, rhs: SupportedModifiers)
fn bitor_assign(&mut self, rhs: SupportedModifiers)
Performs the
|= operation. Read moreSource§impl Clone for SupportedModifiers
impl Clone for SupportedModifiers
impl Copy for SupportedModifiers
Source§impl Debug for SupportedModifiers
impl Debug for SupportedModifiers
Source§impl Display for SupportedModifiers
impl Display for SupportedModifiers
Source§impl PartialEq for SupportedModifiers
impl PartialEq for SupportedModifiers
impl StructuralPartialEq for SupportedModifiers
Auto Trait Implementations§
impl Freeze for SupportedModifiers
impl RefUnwindSafe for SupportedModifiers
impl Send for SupportedModifiers
impl Sync for SupportedModifiers
impl Unpin for SupportedModifiers
impl UnsafeUnpin for SupportedModifiers
impl UnwindSafe for SupportedModifiers
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<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more