pub struct WhereRegionPredicate {
pub lifetime: Lifetime,
pub colon_token: Option<Colon>,
pub bounds: Delimited<Lifetime, Add>,
}
Expand description
A lifetime predicate, e.g. 'a: 'b+'c
Fields§
§lifetime: Lifetime
§colon_token: Option<Colon>
§bounds: Delimited<Lifetime, Add>
Trait Implementations§
Source§impl Clone for WhereRegionPredicate
impl Clone for WhereRegionPredicate
Source§fn clone(&self) -> WhereRegionPredicate
fn clone(&self) -> WhereRegionPredicate
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<WhereRegionPredicate> for WherePredicate
impl From<WhereRegionPredicate> for WherePredicate
Source§fn from(e: WhereRegionPredicate) -> WherePredicate
fn from(e: WhereRegionPredicate) -> WherePredicate
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WhereRegionPredicate
impl RefUnwindSafe for WhereRegionPredicate
impl !Send for WhereRegionPredicate
impl !Sync for WhereRegionPredicate
impl Unpin for WhereRegionPredicate
impl UnwindSafe for WhereRegionPredicate
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