pub enum Bound<'a> {
Lifetime(&'a str),
Item(Item<'a>),
Reference {
lifetime: &'a str,
mut_: bool,
item: Item<'a>,
},
Tuple(Vec<Bound<'a>>),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Bound<'a>
impl<'a> RefUnwindSafe for Bound<'a>
impl<'a> Send for Bound<'a>
impl<'a> Sync for Bound<'a>
impl<'a> Unpin for Bound<'a>
impl<'a> UnwindSafe for Bound<'a>
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