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
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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