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§

source§

impl<T, OpT, IdT, U, OpU, IdU, Act> 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,

source

pub fn new( operand: OpClosure<T, OpT, IdT>, operator: OpClosure<U, OpU, IdU>, act: Act ) -> Self

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,

source§

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)

Performs copy-assignment from source. Read more
source§

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§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
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,

source§

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,

§

type Operand = OpClosure<T, OpT, IdT>

作用される型。
§

type Operator = OpClosure<U, OpU, IdU>

作用を行う型。
source§

fn operand(&self) -> &Self::Operand

source§

fn operator(&self) -> &Self::Operator

source§

fn act(&self, x: T, op: U) -> T

作用を行う。
source§

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> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V