Struct syn::BoundLifetimes
source · [−]pub struct BoundLifetimes {
pub for_token: For,
pub lt_token: Lt,
pub lifetimes: Punctuated<LifetimeDef, Comma>,
pub gt_token: Gt,
}
Expand description
A set of bound lifetimes: for<'a, 'b, 'c>
.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Fields
for_token: For
lt_token: Lt
lifetimes: Punctuated<LifetimeDef, Comma>
gt_token: Gt
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BoundLifetimes
impl !Send for BoundLifetimes
impl !Sync for BoundLifetimes
impl Unpin for BoundLifetimes
impl UnwindSafe for BoundLifetimes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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