Struct nekolib::utils::OpClosureOnOpClosure
source · pub struct OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where
OpT: Fn(T, T) -> T,
IdT: Fn() -> T,
OpU: Fn(U, U) -> U,
IdU: Fn() -> U,
Act: Fn(T, U) -> T,{ /* private fields */ }
Implementations§
Trait Implementations§
source§impl<T: Clone, OpT, IdT, U: Clone, OpU, IdU, Act> Clone for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where
OpT: Fn(T, T) -> T + Clone,
IdT: Fn() -> T + Clone,
OpU: Fn(U, U) -> U + Clone,
IdU: Fn() -> U + Clone,
Act: Fn(T, U) -> T + Clone,
impl<T: Clone, OpT, IdT, U: Clone, OpU, IdU, Act> Clone for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where OpT: Fn(T, T) -> T + Clone, IdT: Fn() -> T + Clone, OpU: Fn(U, U) -> U + Clone, IdU: Fn() -> U + Clone, Act: Fn(T, U) -> T + Clone,
source§fn clone(&self) -> OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>
fn clone(&self) -> OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>
Returns a copy 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<T: Debug, OpT, IdT, U: Debug, OpU, IdU, Act> Debug for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where
OpT: Fn(T, T) -> T + Debug,
IdT: Fn() -> T + Debug,
OpU: Fn(U, U) -> U + Debug,
IdU: Fn() -> U + Debug,
Act: Fn(T, U) -> T + Debug,
impl<T: Debug, OpT, IdT, U: Debug, OpU, IdU, Act> Debug for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where OpT: Fn(T, T) -> T + Debug, IdT: Fn() -> T + Debug, OpU: Fn(U, U) -> U + Debug, IdU: Fn() -> U + Debug, Act: Fn(T, U) -> T + Debug,
source§impl<T: Default, OpT, IdT, U: Default, OpU, IdU, Act> Default for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where
OpT: Fn(T, T) -> T + Default,
IdT: Fn() -> T + Default,
OpU: Fn(U, U) -> U + Default,
IdU: Fn() -> U + Default,
Act: Fn(T, U) -> T + Default,
impl<T: Default, OpT, IdT, U: Default, OpU, IdU, Act> Default for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where OpT: Fn(T, T) -> T + Default, IdT: Fn() -> T + Default, OpU: Fn(U, U) -> U + Default, IdU: Fn() -> U + Default, Act: Fn(T, U) -> T + Default,
source§fn default() -> OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>
fn default() -> OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>
Returns the “default value” for a type. Read more
source§impl<T, OpT, IdT, U, OpU, IdU, Act> MonoidAction for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where
T: Eq + Sized,
OpT: Fn(T, T) -> T,
IdT: Fn() -> T,
U: Eq + Sized,
OpU: Fn(U, U) -> U,
IdU: Fn() -> U,
Act: Fn(T, U) -> T,
impl<T, OpT, IdT, U, OpU, IdU, Act> MonoidAction for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where T: Eq + Sized, OpT: Fn(T, T) -> T, IdT: Fn() -> T, U: Eq + Sized, OpU: Fn(U, U) -> U, IdU: Fn() -> U, Act: Fn(T, U) -> T,
impl<T: Copy, OpT, IdT, U: Copy, OpU, IdU, Act> Copy for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where OpT: Fn(T, T) -> T + Copy, IdT: Fn() -> T + Copy, OpU: Fn(U, U) -> U + Copy, IdU: Fn() -> U + Copy, Act: Fn(T, U) -> T + Copy,
Auto Trait Implementations§
impl<T, OpT, IdT, U, OpU, IdU, Act> RefUnwindSafe for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where Act: RefUnwindSafe, IdT: RefUnwindSafe, IdU: RefUnwindSafe, OpT: RefUnwindSafe, OpU: RefUnwindSafe,
impl<T, OpT, IdT, U, OpU, IdU, Act> Send for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where Act: Send, IdT: Send, IdU: Send, OpT: Send, OpU: Send,
impl<T, OpT, IdT, U, OpU, IdU, Act> Sync for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where Act: Sync, IdT: Sync, IdU: Sync, OpT: Sync, OpU: Sync,
impl<T, OpT, IdT, U, OpU, IdU, Act> Unpin for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where Act: Unpin, IdT: Unpin, IdU: Unpin, OpT: Unpin, OpU: Unpin,
impl<T, OpT, IdT, U, OpU, IdU, Act> UnwindSafe for OpClosureOnOpClosure<T, OpT, IdT, U, OpU, IdU, Act>where Act: UnwindSafe, IdT: UnwindSafe, IdU: UnwindSafe, OpT: UnwindSafe, OpU: 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