#[repr(transparent)]pub struct DefaultExpr<T: ?Sized>(pub T);Expand description
A wrapper for type-instances that don’t implement Expr natively.
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone + ?Sized> Clone for DefaultExpr<T>
impl<T: Clone + ?Sized> Clone for DefaultExpr<T>
Source§fn clone(&self) -> DefaultExpr<T>
fn clone(&self) -> DefaultExpr<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'s, T> Expr for &'s DefaultExpr<T>
impl<'s, T> Expr for &'s DefaultExpr<T>
Source§impl<T: Publisher> Publisher for DefaultExpr<T>
impl<T: Publisher> Publisher for DefaultExpr<T>
impl<T: Copy + ?Sized> Copy for DefaultExpr<T>
Auto Trait Implementations§
impl<T> Freeze for DefaultExpr<T>
impl<T> RefUnwindSafe for DefaultExpr<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for DefaultExpr<T>
impl<T> Sync for DefaultExpr<T>
impl<T> Unpin for DefaultExpr<T>
impl<T> UnwindSafe for DefaultExpr<T>where
T: UnwindSafe + ?Sized,
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