Enum relp_num::SignedOne

source ·
pub enum SignedOne {
    PlusOne,
    MinusOne,
}
Expand description

A type representing the value 1 or -1.

Can be used when a type from the MatrixProvider can only have the value 1 or -1, such as with some network problems, where an arc is either incoming or outgoing.

Variants§

§

PlusOne

+1.

§

MinusOne

-1.

Trait Implementations§

source§

impl Add<&SignedOne> for i128

§

type Output = i128

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&SignedOne> for i16

§

type Output = i16

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&SignedOne> for i32

§

type Output = i32

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&SignedOne> for i64

§

type Output = i64

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&SignedOne> for i8

§

type Output = i8

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&SignedOne> for u128

§

type Output = u128

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&SignedOne> for u16

§

type Output = u16

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&SignedOne> for u32

§

type Output = u32

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&SignedOne> for u64

§

type Output = u64

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<&SignedOne> for u8

§

type Output = u8

The resulting type after applying the + operator.
source§

fn add(self, rhs: &SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for i128

§

type Output = i128

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for i16

§

type Output = i16

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for i32

§

type Output = i32

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for i64

§

type Output = i64

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for i8

§

type Output = i8

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for u128

§

type Output = u128

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for u16

§

type Output = u16

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for u32

§

type Output = u32

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for u64

§

type Output = u64

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl Add<SignedOne> for u8

§

type Output = u8

The resulting type after applying the + operator.
source§

fn add(self, rhs: SignedOne) -> Self::Output

Performs the + operation. Read more
source§

impl AddAssign<&SignedOne> for i128

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<&SignedOne> for i16

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<&SignedOne> for i32

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<&SignedOne> for i64

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<&SignedOne> for i8

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<&SignedOne> for u128

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<&SignedOne> for u16

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<&SignedOne> for u32

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<&SignedOne> for u64

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<&SignedOne> for u8

source§

fn add_assign(&mut self, rhs: &SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for i128

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for i16

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for i32

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for i64

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for i8

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for u128

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for u16

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for u32

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for u64

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl AddAssign<SignedOne> for u8

source§

fn add_assign(&mut self, rhs: SignedOne)

Performs the += operation. Read more
source§

impl Clone for SignedOne

source§

fn clone(&self) -> SignedOne

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 Debug for SignedOne

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for SignedOne

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Display for SignedOne

source§

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

Formats the value using the given formatter. Read more
source§

impl Div<&SignedOne> for i128

§

type Output = i128

The resulting type after applying the / operator.
source§

fn div(self, rhs: &SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&SignedOne> for i16

§

type Output = i16

The resulting type after applying the / operator.
source§

fn div(self, rhs: &SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&SignedOne> for i32

§

type Output = i32

The resulting type after applying the / operator.
source§

fn div(self, rhs: &SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&SignedOne> for i64

§

type Output = i64

The resulting type after applying the / operator.
source§

fn div(self, rhs: &SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl Div<&SignedOne> for i8

§

type Output = i8

The resulting type after applying the / operator.
source§

fn div(self, rhs: &SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl Div<SignedOne> for i128

§

type Output = i128

The resulting type after applying the / operator.
source§

fn div(self, rhs: SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl Div<SignedOne> for i16

§

type Output = i16

The resulting type after applying the / operator.
source§

fn div(self, rhs: SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl Div<SignedOne> for i32

§

type Output = i32

The resulting type after applying the / operator.
source§

fn div(self, rhs: SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl Div<SignedOne> for i64

§

type Output = i64

The resulting type after applying the / operator.
source§

fn div(self, rhs: SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl Div<SignedOne> for i8

§

type Output = i8

The resulting type after applying the / operator.
source§

fn div(self, rhs: SignedOne) -> Self::Output

Performs the / operation. Read more
source§

impl DivAssign<&SignedOne> for i128

source§

fn div_assign(&mut self, rhs: &SignedOne)

Performs the /= operation. Read more
source§

impl DivAssign<&SignedOne> for i16

source§

fn div_assign(&mut self, rhs: &SignedOne)

Performs the /= operation. Read more
source§

impl DivAssign<&SignedOne> for i32

source§

fn div_assign(&mut self, rhs: &SignedOne)

Performs the /= operation. Read more
source§

impl DivAssign<&SignedOne> for i64

source§

fn div_assign(&mut self, rhs: &SignedOne)

Performs the /= operation. Read more
source§

impl DivAssign<&SignedOne> for i8

source§

fn div_assign(&mut self, rhs: &SignedOne)

Performs the /= operation. Read more
source§

impl DivAssign<SignedOne> for i128

source§

fn div_assign(&mut self, rhs: SignedOne)

Performs the /= operation. Read more
source§

impl DivAssign<SignedOne> for i16

source§

fn div_assign(&mut self, rhs: SignedOne)

Performs the /= operation. Read more
source§

impl DivAssign<SignedOne> for i32

source§

fn div_assign(&mut self, rhs: SignedOne)

Performs the /= operation. Read more
source§

impl DivAssign<SignedOne> for i64

source§

fn div_assign(&mut self, rhs: SignedOne)

Performs the /= operation. Read more
source§

impl DivAssign<SignedOne> for i8

source§

fn div_assign(&mut self, rhs: SignedOne)

Performs the /= operation. Read more
source§

impl From<&SignedOne> for i128

source§

fn from(rhs: &SignedOne) -> Self

Converts to this type from the input type.
source§

impl From<&SignedOne> for i16

source§

fn from(rhs: &SignedOne) -> Self

Converts to this type from the input type.
source§

impl From<&SignedOne> for i32

source§

fn from(rhs: &SignedOne) -> Self

Converts to this type from the input type.
source§

impl From<&SignedOne> for i64

source§

fn from(rhs: &SignedOne) -> Self

Converts to this type from the input type.
source§

impl From<&SignedOne> for i8

source§

fn from(rhs: &SignedOne) -> Self

Converts to this type from the input type.
source§

impl From<SignedOne> for i128

source§

fn from(rhs: SignedOne) -> Self

Converts to this type from the input type.
source§

impl From<SignedOne> for i16

source§

fn from(rhs: SignedOne) -> Self

Converts to this type from the input type.
source§

impl From<SignedOne> for i32

source§

fn from(rhs: SignedOne) -> Self

Converts to this type from the input type.
source§

impl From<SignedOne> for i64

source§

fn from(rhs: SignedOne) -> Self

Converts to this type from the input type.
source§

impl From<SignedOne> for i8

source§

fn from(rhs: SignedOne) -> Self

Converts to this type from the input type.
source§

impl Mul<&SignedOne> for &i128

§

type Output = i128

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&SignedOne> for &i16

§

type Output = i16

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&SignedOne> for &i32

§

type Output = i32

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&SignedOne> for &i64

§

type Output = i64

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&SignedOne> for &i8

§

type Output = i8

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&SignedOne> for i128

§

type Output = i128

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&SignedOne> for i16

§

type Output = i16

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&SignedOne> for i32

§

type Output = i32

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&SignedOne> for i64

§

type Output = i64

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<&SignedOne> for i8

§

type Output = i8

The resulting type after applying the * operator.
source§

fn mul(self, rhs: &SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<SignedOne> for i128

§

type Output = i128

The resulting type after applying the * operator.
source§

fn mul(self, rhs: SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<SignedOne> for i16

§

type Output = i16

The resulting type after applying the * operator.
source§

fn mul(self, rhs: SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<SignedOne> for i32

§

type Output = i32

The resulting type after applying the * operator.
source§

fn mul(self, rhs: SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<SignedOne> for i64

§

type Output = i64

The resulting type after applying the * operator.
source§

fn mul(self, rhs: SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul<SignedOne> for i8

§

type Output = i8

The resulting type after applying the * operator.
source§

fn mul(self, rhs: SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl Mul for SignedOne

§

type Output = SignedOne

The resulting type after applying the * operator.
source§

fn mul(self, rhs: SignedOne) -> Self::Output

Performs the * operation. Read more
source§

impl MulAssign<&SignedOne> for i128

source§

fn mul_assign(&mut self, rhs: &SignedOne)

Performs the *= operation. Read more
source§

impl MulAssign<&SignedOne> for i16

source§

fn mul_assign(&mut self, rhs: &SignedOne)

Performs the *= operation. Read more
source§

impl MulAssign<&SignedOne> for i32

source§

fn mul_assign(&mut self, rhs: &SignedOne)

Performs the *= operation. Read more
source§

impl MulAssign<&SignedOne> for i64

source§

fn mul_assign(&mut self, rhs: &SignedOne)

Performs the *= operation. Read more
source§

impl MulAssign<&SignedOne> for i8

source§

fn mul_assign(&mut self, rhs: &SignedOne)

Performs the *= operation. Read more
source§

impl MulAssign<SignedOne> for i128

source§

fn mul_assign(&mut self, rhs: SignedOne)

Performs the *= operation. Read more
source§

impl MulAssign<SignedOne> for i16

source§

fn mul_assign(&mut self, rhs: SignedOne)

Performs the *= operation. Read more
source§

impl MulAssign<SignedOne> for i32

source§

fn mul_assign(&mut self, rhs: SignedOne)

Performs the *= operation. Read more
source§

impl MulAssign<SignedOne> for i64

source§

fn mul_assign(&mut self, rhs: SignedOne)

Performs the *= operation. Read more
source§

impl MulAssign<SignedOne> for i8

source§

fn mul_assign(&mut self, rhs: SignedOne)

Performs the *= operation. Read more
source§

impl NonZero for SignedOne

source§

fn is_not_zero(&self) -> bool

Whether the value is not equal to zero. Read more
source§

impl One for SignedOne

source§

fn one() -> Self

Returns the multiplicative identity element of Self, 1. Read more
source§

fn set_one(&mut self)

Sets self to the multiplicative identity element of Self, 1.
source§

fn is_one(&self) -> bool
where Self: PartialEq,

Returns true if self is equal to the multiplicative identity. Read more
source§

impl PartialEq for SignedOne

source§

fn eq(&self, other: &SignedOne) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Sub<&SignedOne> for i128

§

type Output = i128

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&SignedOne> for i16

§

type Output = i16

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&SignedOne> for i32

§

type Output = i32

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&SignedOne> for i64

§

type Output = i64

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&SignedOne> for i8

§

type Output = i8

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&SignedOne> for u128

§

type Output = u128

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&SignedOne> for u16

§

type Output = u16

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&SignedOne> for u32

§

type Output = u32

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&SignedOne> for u64

§

type Output = u64

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<&SignedOne> for u8

§

type Output = u8

The resulting type after applying the - operator.
source§

fn sub(self, rhs: &SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for i128

§

type Output = i128

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for i16

§

type Output = i16

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for i32

§

type Output = i32

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for i64

§

type Output = i64

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for i8

§

type Output = i8

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for u128

§

type Output = u128

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for u16

§

type Output = u16

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for u32

§

type Output = u32

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for u64

§

type Output = u64

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl Sub<SignedOne> for u8

§

type Output = u8

The resulting type after applying the - operator.
source§

fn sub(self, rhs: SignedOne) -> Self::Output

Performs the - operation. Read more
source§

impl SubAssign<&SignedOne> for i128

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<&SignedOne> for i16

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<&SignedOne> for i32

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<&SignedOne> for i64

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<&SignedOne> for i8

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<&SignedOne> for u128

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<&SignedOne> for u16

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<&SignedOne> for u32

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<&SignedOne> for u64

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<&SignedOne> for u8

source§

fn sub_assign(&mut self, rhs: &SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for i128

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for i16

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for i32

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for i64

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for i8

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for u128

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for u16

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for u32

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for u64

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl SubAssign<SignedOne> for u8

source§

fn sub_assign(&mut self, rhs: SignedOne)

Performs the -= operation. Read more
source§

impl Copy for SignedOne

source§

impl Eq for SignedOne

source§

impl StructuralPartialEq for SignedOne

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> 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,

§

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> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where 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 T
where 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.