Struct rustc_parse::parser::ty::BoundModifiers
source · Expand description
Any ?
or ~const
modifiers that appear at the start of a bound.
Fields§
§maybe: Option<Span>
?Trait
.
maybe_const: Option<Span>
~const Trait
.
Implementations§
source§impl BoundModifiers
impl BoundModifiers
fn to_trait_bound_modifier(&self) -> TraitBoundModifier
Auto Trait Implementations§
impl RefUnwindSafe for BoundModifiers
impl !Send for BoundModifiers
impl !Sync for BoundModifiers
impl Unpin for BoundModifiers
impl UnwindSafe for BoundModifiers
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes