Expand description
Ref
& Mut
— Universal AsRef
/AsMut
bridges for any reference.
Turns &T
into AsRef<T>
and &mut T
into AsMut<T>
with zero cost.
Perfect for generics that need trait bounds on foreign types.
Ref
& Mut
— Universal AsRef
/AsMut
bridges for any reference.
Turns &T
into AsRef<T>
and &mut T
into AsMut<T>
with zero cost.
Perfect for generics that need trait bounds on foreign types.