Struct relp_num::One [−][src]
pub struct One;
Expand description
A type representing the value 1
.
Can be used when a type from the MatrixProvider
can only have the value 1
, such as with some
certain network problems, where the cost of a path might always equal 1
.
This type is zero-sized.
Trait Implementations
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Performs the +=
operation. Read more
Whether the value is not equal to zero. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for One
impl UnwindSafe for One
Blanket Implementations
Mutably borrows from an owned value. Read more