pub struct WhereBound {
pub ty: Spanned<Type>,
pub bounds: Vec<Spanned<Path>>,
}Expand description
A where clause bound, e.g. T: Display + Clone.
Fields§
§ty: Spanned<Type>§bounds: Vec<Spanned<Path>>Trait Implementations§
Source§impl Clone for WhereBound
impl Clone for WhereBound
Auto Trait Implementations§
impl Freeze for WhereBound
impl RefUnwindSafe for WhereBound
impl Send for WhereBound
impl Sync for WhereBound
impl Unpin for WhereBound
impl UnsafeUnpin for WhereBound
impl UnwindSafe for WhereBound
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