Enum rustc_ap_rustc_ast::ast::TraitBoundModifier [−][src]
pub enum TraitBoundModifier { None, Maybe, MaybeConst, MaybeConstMaybe, }
Expand description
A modifier on a bound, e.g., ?Sized
or ?const Trait
.
Negative bounds should also be handled here.
Variants
No modifiers
?Trait
?const Trait
?const ?Trait
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TraitBoundModifier
impl Send for TraitBoundModifier
impl Sync for TraitBoundModifier
impl Unpin for TraitBoundModifier
impl UnwindSafe for TraitBoundModifier
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V