pub struct AssociatedTypeDef<VarName, Value>(pub VarName, pub Value);Expand description
Declares an associated type, rendering as type VarName = Value;.
Adds new lines before and after.
Tuple Fields§
§0: VarName§1: ValueTrait Implementations§
Auto Trait Implementations§
impl<VarName, Value> Freeze for AssociatedTypeDef<VarName, Value>
impl<VarName, Value> RefUnwindSafe for AssociatedTypeDef<VarName, Value>where
    VarName: RefUnwindSafe,
    Value: RefUnwindSafe,
impl<VarName, Value> Send for AssociatedTypeDef<VarName, Value>
impl<VarName, Value> Sync for AssociatedTypeDef<VarName, Value>
impl<VarName, Value> Unpin for AssociatedTypeDef<VarName, Value>
impl<VarName, Value> UnwindSafe for AssociatedTypeDef<VarName, Value>where
    VarName: UnwindSafe,
    Value: 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