Struct r3_portkit::num::wrapping::FractionalWrapping
source · pub struct FractionalWrapping<T, const MAX: u64> { /* private fields */ }
Expand description
Implementation of WrappingTrait
that wraps around at some boundary
that does not naturally occur from the binary representation of the integer
type.
MAX
must be less than T::MAX
.
Trait Implementations§
source§impl<T: Clone, const MAX: u64> Clone for FractionalWrapping<T, MAX>
impl<T: Clone, const MAX: u64> Clone for FractionalWrapping<T, MAX>
source§fn clone(&self) -> FractionalWrapping<T, MAX>
fn clone(&self) -> FractionalWrapping<T, MAX>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more