pub struct ONE { /* private fields */ }Methods from Deref<Target = Integer>§
pub fn is_positive_power_of_two(&self) -> bool
pub fn bit_idx(&self) -> bool
pub fn is_valid_index(&self) -> bool
pub fn is_valid_byte(&self) -> bool
pub fn as_usize(&self) -> usize
pub fn as_u8(&self) -> u8
pub fn is_even(&self) -> bool
pub fn is_zero(&self) -> bool
pub fn is_one(&self) -> bool
pub fn bin(&self) -> String
pub fn to_f64(&self) -> f64
pub fn abs(&self) -> Integer
pub fn fact(&self) -> Result<Integer, String>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ONE
impl Send for ONE
impl Sync for ONE
impl Unpin for ONE
impl UnwindSafe for ONE
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