#[repr(transparent)]
pub struct BinOp<'closure, T, const INLINE_SIZE: usize = { $crate::DEFAULT_INLINE_SIZE }> { /* private fields */ }
Expand description

Contains any binary operation for a specific type. That takes two values of that type and returns value of that type.

Implementations

Calls wrapped closure and returns it result.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.