Struct Additive

Source
pub struct Additive {}

Trait Implementations§

Source§

impl Clone for Additive

Source§

fn clone(&self) -> Additive

Returns a duplicate 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 Identity<Additive> for f32

Source§

impl Identity<Additive> for f64

Source§

impl Identity<Additive> for i128

Source§

impl Identity<Additive> for i16

Source§

impl Identity<Additive> for i32

Source§

impl Identity<Additive> for i64

Source§

impl Identity<Additive> for i8

Source§

impl Identity<Additive> for isize

Source§

impl Identity<Additive> for u128

Source§

impl Identity<Additive> for u16

Source§

impl Identity<Additive> for u32

Source§

impl Identity<Additive> for u64

Source§

impl Identity<Additive> for u8

Source§

impl Identity<Additive> for usize

Source§

impl Invertible<Additive> for f32

Source§

fn inverse(&self) -> Self

Source§

fn inverted(&mut self)

Source§

impl Invertible<Additive> for f64

Source§

fn inverse(&self) -> Self

Source§

fn inverted(&mut self)

Source§

impl Invertible<Additive> for i128

Source§

fn inverse(&self) -> Self

Source§

fn inverted(&mut self)

Source§

impl Invertible<Additive> for i16

Source§

fn inverse(&self) -> Self

Source§

fn inverted(&mut self)

Source§

impl Invertible<Additive> for i32

Source§

fn inverse(&self) -> Self

Source§

fn inverted(&mut self)

Source§

impl Invertible<Additive> for i64

Source§

fn inverse(&self) -> Self

Source§

fn inverted(&mut self)

Source§

impl Invertible<Additive> for i8

Source§

fn inverse(&self) -> Self

Source§

fn inverted(&mut self)

Source§

impl Invertible<Additive> for isize

Source§

fn inverse(&self) -> Self

Source§

fn inverted(&mut self)

Source§

impl Set<Additive> for f32

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for f64

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for i128

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for i16

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for i32

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for i64

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for i8

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for isize

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for u128

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for u16

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for u32

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for u64

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for u8

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Set<Additive> for usize

Source§

fn operate(&self, rhs: Self) -> Self

Source§

impl Associative<Additive> for f32

Source§

impl Associative<Additive> for f64

Source§

impl Associative<Additive> for i128

Source§

impl Associative<Additive> for i16

Source§

impl Associative<Additive> for i32

Source§

impl Associative<Additive> for i64

Source§

impl Associative<Additive> for i8

Source§

impl Associative<Additive> for isize

Source§

impl Associative<Additive> for u128

Source§

impl Associative<Additive> for u16

Source§

impl Associative<Additive> for u32

Source§

impl Associative<Additive> for u64

Source§

impl Associative<Additive> for u8

Source§

impl Associative<Additive> for usize

Source§

impl Commutative<Additive> for f32

Source§

impl Commutative<Additive> for f64

Source§

impl Commutative<Additive> for i128

Source§

impl Commutative<Additive> for i16

Source§

impl Commutative<Additive> for i32

Source§

impl Commutative<Additive> for i64

Source§

impl Commutative<Additive> for i8

Source§

impl Commutative<Additive> for isize

Source§

impl Commutative<Additive> for u128

Source§

impl Commutative<Additive> for u16

Source§

impl Commutative<Additive> for u32

Source§

impl Commutative<Additive> for u64

Source§

impl Commutative<Additive> for u8

Source§

impl Commutative<Additive> for usize

Source§

impl Copy for Additive

Source§

impl Operator for Additive

Source§

impl Total<Additive> for f32

Source§

impl Total<Additive> for f64

Source§

impl Total<Additive> for i128

Source§

impl Total<Additive> for i16

Source§

impl Total<Additive> for i32

Source§

impl Total<Additive> for i64

Source§

impl Total<Additive> for i8

Source§

impl Total<Additive> for isize

Source§

impl Total<Additive> for u128

Source§

impl Total<Additive> for u16

Source§

impl Total<Additive> for u32

Source§

impl Total<Additive> for u64

Source§

impl Total<Additive> for u8

Source§

impl Total<Additive> for usize

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 T
where T: Clone,

Source§

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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.