Struct sign_bound::NegativeI64
source · #[repr(C, align(8))]pub struct NegativeI64 { /* private fields */ }Implementations§
source§impl NegativeI64
impl NegativeI64
pub const BITS: u32 = 64u32
pub const MIN: Self = _
pub const MAX: Self = _
pub const fn new(value: i64) -> Option<Self>
pub const unsafe fn new_unchecked(value: i64) -> Self
pub const fn get(self) -> i64
pub const fn count_zeros(self) -> u32
pub const fn count_ones(self) -> u32
pub const fn leading_zeros(self) -> u32
pub const fn trailing_zeros(self) -> u32
pub const fn abs(self) -> PositiveI64
pub const fn unsigned_abs(self) -> u64
pub const fn checked_abs(self) -> Option<PositiveI64>
pub const fn checked_neg(self) -> Option<PositiveI64>
pub const fn checked_sub(self, other: Self) -> Option<Self>
pub const fn checked_mul(self, other: PositiveI64) -> Option<Self>
pub const fn saturating_abs(self) -> PositiveI64
pub const fn saturating_neg(self) -> PositiveI64
pub const fn saturating_sub(self, other: Self) -> Self
pub const fn saturating_mul(self, other: PositiveI64) -> Self
Trait Implementations§
source§impl Binary for NegativeI64
impl Binary for NegativeI64
source§impl BitOr<NegativeI64> for i64
impl BitOr<NegativeI64> for i64
source§type Output = NegativeI64
type Output = NegativeI64
The resulting type after applying the
| operator.source§impl BitOr<i64> for NegativeI64
impl BitOr<i64> for NegativeI64
source§impl BitOr for NegativeI64
impl BitOr for NegativeI64
source§impl BitOrAssign<i64> for NegativeI64
impl BitOrAssign<i64> for NegativeI64
source§fn bitor_assign(&mut self, rhs: i64)
fn bitor_assign(&mut self, rhs: i64)
Performs the
|= operation. Read moresource§impl BitOrAssign for NegativeI64
impl BitOrAssign for NegativeI64
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moresource§impl Clone for NegativeI64
impl Clone for NegativeI64
source§fn clone(&self) -> NegativeI64
fn clone(&self) -> NegativeI64
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 moresource§impl Debug for NegativeI64
impl Debug for NegativeI64
source§impl Display for NegativeI64
impl Display for NegativeI64
source§impl FromStr for NegativeI64
impl FromStr for NegativeI64
source§impl Hash for NegativeI64
impl Hash for NegativeI64
source§impl LowerHex for NegativeI64
impl LowerHex for NegativeI64
source§impl Octal for NegativeI64
impl Octal for NegativeI64
source§impl Ord for NegativeI64
impl Ord for NegativeI64
source§impl PartialEq for NegativeI64
impl PartialEq for NegativeI64
source§impl PartialOrd for NegativeI64
impl PartialOrd for NegativeI64
source§impl TryFrom<i128> for NegativeI64
impl TryFrom<i128> for NegativeI64
source§impl TryFrom<i16> for NegativeI64
impl TryFrom<i16> for NegativeI64
source§impl TryFrom<i32> for NegativeI64
impl TryFrom<i32> for NegativeI64
source§impl TryFrom<i64> for NegativeI64
impl TryFrom<i64> for NegativeI64
source§impl TryFrom<i8> for NegativeI64
impl TryFrom<i8> for NegativeI64
source§impl TryFrom<isize> for NegativeI64
impl TryFrom<isize> for NegativeI64
source§impl UpperHex for NegativeI64
impl UpperHex for NegativeI64
impl Copy for NegativeI64
impl Eq for NegativeI64
Auto Trait Implementations§
impl Freeze for NegativeI64
impl RefUnwindSafe for NegativeI64
impl Send for NegativeI64
impl Sync for NegativeI64
impl Unpin for NegativeI64
impl UnwindSafe for NegativeI64
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)