pub struct NamedTuple<Name, Args> {
    pub name: Name,
    pub args: Args,
}Expand description
A named tuple type.
Renders as Name(A1, A2, A3, ...) where AX is part of the argument sequence.
If no arguments exist, will render only as Name (i.e., a unit struct).
Fields§
§name: Name§args: ArgsTrait Implementations§
Auto Trait Implementations§
impl<Name, Args> Freeze for NamedTuple<Name, Args>
impl<Name, Args> RefUnwindSafe for NamedTuple<Name, Args>where
    Name: RefUnwindSafe,
    Args: RefUnwindSafe,
impl<Name, Args> Send for NamedTuple<Name, Args>
impl<Name, Args> Sync for NamedTuple<Name, Args>
impl<Name, Args> Unpin for NamedTuple<Name, Args>
impl<Name, Args> UnwindSafe for NamedTuple<Name, Args>where
    Name: UnwindSafe,
    Args: 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