pub struct Parameterized<Name, TypeArgs>(pub Name, pub TypeArgs);Expand description
A type argument-parameterized expression. Used in relation to parameterized names and their
arguments. Examples: function_name<args>, TypeName<'lifetime, args>, MyType<Assoc=Value>.
If no type args exist, NoOpSeq should be used. In any case, the second tuple value of this struct must be a sequence.
Tuple Fields§
§0: Name§1: TypeArgsTrait Implementations§
Source§impl<Name: Clone, TypeArgs: Clone> Clone for Parameterized<Name, TypeArgs>
impl<Name: Clone, TypeArgs: Clone> Clone for Parameterized<Name, TypeArgs>
Source§fn clone(&self) -> Parameterized<Name, TypeArgs>
fn clone(&self) -> Parameterized<Name, TypeArgs>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<Name, TypeArgs> Freeze for Parameterized<Name, TypeArgs>
impl<Name, TypeArgs> RefUnwindSafe for Parameterized<Name, TypeArgs>where
Name: RefUnwindSafe,
TypeArgs: RefUnwindSafe,
impl<Name, TypeArgs> Send for Parameterized<Name, TypeArgs>
impl<Name, TypeArgs> Sync for Parameterized<Name, TypeArgs>
impl<Name, TypeArgs> Unpin for Parameterized<Name, TypeArgs>
impl<Name, TypeArgs> UnwindSafe for Parameterized<Name, TypeArgs>where
Name: UnwindSafe,
TypeArgs: UnwindSafe,
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