pub struct AddSizesAnd<OP>(pub OP);Expand description
A wrapper around an operator closure which transforms it in the same way SettingsWithSize does
Tuple Fields§
§0: OPTrait Implementations§
Source§impl<OP: Clone> Clone for AddSizesAnd<OP>
impl<OP: Clone> Clone for AddSizesAnd<OP>
Source§fn clone(&self) -> AddSizesAnd<OP>
fn clone(&self) -> AddSizesAnd<OP>
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<U: Add<Output = U> + Copy, D, OP: Fun<(D, D), D>> Fun<((U, D), (U, D)), (U, D)> for AddSizesAnd<OP>
impl<U: Add<Output = U> + Copy, D, OP: Fun<(D, D), D>> Fun<((U, D), (U, D)), (U, D)> for AddSizesAnd<OP>
impl<OP: Copy> Copy for AddSizesAnd<OP>
Auto Trait Implementations§
impl<OP> Freeze for AddSizesAnd<OP>where
OP: Freeze,
impl<OP> RefUnwindSafe for AddSizesAnd<OP>where
OP: RefUnwindSafe,
impl<OP> Send for AddSizesAnd<OP>where
OP: Send,
impl<OP> Sync for AddSizesAnd<OP>where
OP: Sync,
impl<OP> Unpin for AddSizesAnd<OP>where
OP: Unpin,
impl<OP> UnwindSafe for AddSizesAnd<OP>where
OP: 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