pub struct RefOf<Expr>(pub Expr);Expand description
Adds a “&” before a type expression
Tuple Fields§
§0: ExprTrait Implementations§
Auto Trait Implementations§
impl<Expr> Freeze for RefOf<Expr>where
Expr: Freeze,
impl<Expr> RefUnwindSafe for RefOf<Expr>where
Expr: RefUnwindSafe,
impl<Expr> Send for RefOf<Expr>where
Expr: Send,
impl<Expr> Sync for RefOf<Expr>where
Expr: Sync,
impl<Expr> Unpin for RefOf<Expr>where
Expr: Unpin,
impl<Expr> UnwindSafe for RefOf<Expr>where
Expr: 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