pub struct DeclareParam<Type, Name>(pub Type, pub Name);Expand description
A function parameter, constructor parameter, or record component parameter.
Renders as Type Name.
Tuple Fields§
§0: Type§1: NameTrait Implementations§
Source§impl<Type: Clone, Name: Clone> Clone for DeclareParam<Type, Name>
impl<Type: Clone, Name: Clone> Clone for DeclareParam<Type, Name>
Source§fn clone(&self) -> DeclareParam<Type, Name>
fn clone(&self) -> DeclareParam<Type, Name>
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<Type, Name> Freeze for DeclareParam<Type, Name>
impl<Type, Name> RefUnwindSafe for DeclareParam<Type, Name>where
Type: RefUnwindSafe,
Name: RefUnwindSafe,
impl<Type, Name> Send for DeclareParam<Type, Name>
impl<Type, Name> Sync for DeclareParam<Type, Name>
impl<Type, Name> Unpin for DeclareParam<Type, Name>
impl<Type, Name> UnwindSafe for DeclareParam<Type, Name>where
Type: UnwindSafe,
Name: 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