pub struct PureGenerics {
pub params: Vec<PureGenericParam>,
pub where_clause: Vec<String>,
}Expand description
Generic parameters.
Fields§
§params: Vec<PureGenericParam>Type parameters.
where_clause: Vec<String>Where clause.
Trait Implementations§
Source§impl Clone for PureGenerics
impl Clone for PureGenerics
Source§fn clone(&self) -> PureGenerics
fn clone(&self) -> PureGenerics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PureGenerics
impl Debug for PureGenerics
Source§impl Default for PureGenerics
impl Default for PureGenerics
Source§fn default() -> PureGenerics
fn default() -> PureGenerics
Returns the “default value” for a type. Read more
Source§impl PartialEq for PureGenerics
impl PartialEq for PureGenerics
Source§fn eq(&self, other: &PureGenerics) -> bool
fn eq(&self, other: &PureGenerics) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ToSyn for PureGenerics
impl ToSyn for PureGenerics
impl Eq for PureGenerics
impl StructuralPartialEq for PureGenerics
Auto Trait Implementations§
impl Freeze for PureGenerics
impl RefUnwindSafe for PureGenerics
impl Send for PureGenerics
impl Sync for PureGenerics
impl Unpin for PureGenerics
impl UnsafeUnpin for PureGenerics
impl UnwindSafe for PureGenerics
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