pub struct PolyTraitRef {
pub bound_lifetimes: Option<BoundLifetimes>,
pub trait_ref: Path,
}
Fields§
§bound_lifetimes: Option<BoundLifetimes>
The for<'a>
in for<'a> Foo<&'a T>
trait_ref: Path
The Foo<&'a T>
in <'a> Foo<&'a T>
Trait Implementations§
Source§impl Clone for PolyTraitRef
impl Clone for PolyTraitRef
Source§fn clone(&self) -> PolyTraitRef
fn clone(&self) -> PolyTraitRef
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 Synom for PolyTraitRef
impl Synom for PolyTraitRef
Auto Trait Implementations§
impl Freeze for PolyTraitRef
impl RefUnwindSafe for PolyTraitRef
impl !Send for PolyTraitRef
impl !Sync for PolyTraitRef
impl Unpin for PolyTraitRef
impl UnwindSafe for PolyTraitRef
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