Struct ruast::PolyTraitRef
source · pub struct PolyTraitRef {
pub bound_generic_params: Vec<GenericParam>,
pub trait_ref: Path,
}Fields§
§bound_generic_params: Vec<GenericParam>§trait_ref: PathImplementations§
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 Debug for PolyTraitRef
impl Debug for PolyTraitRef
source§impl Display for PolyTraitRef
impl Display for PolyTraitRef
source§impl From<PolyTraitRef> for TokenStream
impl From<PolyTraitRef> for TokenStream
source§fn from(value: PolyTraitRef) -> Self
fn from(value: PolyTraitRef) -> Self
Converts to this type from the input type.
source§impl Hash for PolyTraitRef
impl Hash for PolyTraitRef
source§impl PartialEq for PolyTraitRef
impl PartialEq for PolyTraitRef
source§fn eq(&self, other: &PolyTraitRef) -> bool
fn eq(&self, other: &PolyTraitRef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PolyTraitRef
impl StructuralEq for PolyTraitRef
impl StructuralPartialEq for PolyTraitRef
Auto Trait Implementations§
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