pub struct Add<Left: Expr<Scope = Scope>, Right: Expr<Scope = Scope>, Scope>(pub Left, pub Right, pub PhantomData<Scope>)
where
Left::Return: Add<Right::Return>;Expand description
Addition, e.g. a + b.
Tuple Fields§
§0: Left§1: Right§2: PhantomData<Scope>Trait Implementations§
Source§impl<Left: Expr<Scope = Scope>, Right: Expr<Scope = Scope>, Scope> Expr for Add<Left, Right, Scope>
impl<Left: Expr<Scope = Scope>, Right: Expr<Scope = Scope>, Scope> Expr for Add<Left, Right, Scope>
Auto Trait Implementations§
impl<Left, Right, Scope> Freeze for Add<Left, Right, Scope>
impl<Left, Right, Scope> RefUnwindSafe for Add<Left, Right, Scope>
impl<Left, Right, Scope> Send for Add<Left, Right, Scope>
impl<Left, Right, Scope> Sync for Add<Left, Right, Scope>
impl<Left, Right, Scope> Unpin for Add<Left, Right, Scope>
impl<Left, Right, Scope> UnwindSafe for Add<Left, Right, Scope>
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