pub struct RnsInteger(/* private fields */);Implementations§
Source§impl RnsInteger
impl RnsInteger
pub const fn from_i64(value: i64) -> RnsInteger
pub const fn from_u64(value: u64) -> RnsInteger
pub const fn nonnegative_value(&self) -> Option<u64>
pub const fn signed_value(&self) -> Option<i64>
Trait Implementations§
Source§impl Clone for RnsInteger
impl Clone for RnsInteger
Source§fn clone(&self) -> RnsInteger
fn clone(&self) -> RnsInteger
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RnsInteger
impl Debug for RnsInteger
impl Eq for RnsInteger
Source§impl PartialEq for RnsInteger
impl PartialEq for RnsInteger
impl StructuralPartialEq for RnsInteger
Auto Trait Implementations§
impl Freeze for RnsInteger
impl RefUnwindSafe for RnsInteger
impl Send for RnsInteger
impl Sync for RnsInteger
impl Unpin for RnsInteger
impl UnsafeUnpin for RnsInteger
impl UnwindSafe for RnsInteger
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more