pub struct InstructionNumber { /* private fields */ }
Expand description
Represent the number of cpu instruction number
Implementations§
Source§impl InstructionNumber
impl InstructionNumber
pub const fn new(raw: c_ll) -> InstructionNumber
Trait Implementations§
Source§impl Add for InstructionNumber
impl Add for InstructionNumber
Source§type Output = InstructionNumber
type Output = InstructionNumber
The resulting type after applying the
+
operator.Source§fn add(self, rhs: InstructionNumber) -> InstructionNumber
fn add(self, rhs: InstructionNumber) -> InstructionNumber
Performs the
+
operation. Read moreSource§impl AddAssign for InstructionNumber
impl AddAssign for InstructionNumber
Source§fn add_assign(&mut self, rhs: InstructionNumber)
fn add_assign(&mut self, rhs: InstructionNumber)
Performs the
+=
operation. Read moreSource§impl Clone for InstructionNumber
impl Clone for InstructionNumber
Source§fn clone(&self) -> InstructionNumber
fn clone(&self) -> InstructionNumber
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 InstructionNumber
impl Debug for InstructionNumber
Source§impl Default for InstructionNumber
impl Default for InstructionNumber
Source§impl Display for InstructionNumber
impl Display for InstructionNumber
Source§impl<__RhsT> Div<__RhsT> for InstructionNumber
impl<__RhsT> Div<__RhsT> for InstructionNumber
Source§type Output = InstructionNumber
type Output = InstructionNumber
The resulting type after applying the
/
operator.Source§fn div(self, rhs: __RhsT) -> InstructionNumber
fn div(self, rhs: __RhsT) -> InstructionNumber
Performs the
/
operation. Read moreSource§impl<__RhsT> DivAssign<__RhsT> for InstructionNumberwhere
c_longlong: DivAssign<__RhsT>,
impl<__RhsT> DivAssign<__RhsT> for InstructionNumberwhere
c_longlong: DivAssign<__RhsT>,
Source§fn div_assign(&mut self, rhs: __RhsT)
fn div_assign(&mut self, rhs: __RhsT)
Performs the
/=
operation. Read moreSource§impl From<InstructionNumber> for c_longlong
impl From<InstructionNumber> for c_longlong
Source§fn from(value: InstructionNumber) -> Self
fn from(value: InstructionNumber) -> Self
Converts to this type from the input type.
Source§impl From<i64> for InstructionNumber
impl From<i64> for InstructionNumber
Source§impl<__RhsT> Mul<__RhsT> for InstructionNumber
impl<__RhsT> Mul<__RhsT> for InstructionNumber
Source§type Output = InstructionNumber
type Output = InstructionNumber
The resulting type after applying the
*
operator.Source§fn mul(self, rhs: __RhsT) -> InstructionNumber
fn mul(self, rhs: __RhsT) -> InstructionNumber
Performs the
*
operation. Read moreSource§impl<__RhsT> MulAssign<__RhsT> for InstructionNumberwhere
c_longlong: MulAssign<__RhsT>,
impl<__RhsT> MulAssign<__RhsT> for InstructionNumberwhere
c_longlong: MulAssign<__RhsT>,
Source§fn mul_assign(&mut self, rhs: __RhsT)
fn mul_assign(&mut self, rhs: __RhsT)
Performs the
*=
operation. Read moreSource§impl Neg for InstructionNumber
impl Neg for InstructionNumber
Source§type Output = InstructionNumber
type Output = InstructionNumber
The resulting type after applying the
-
operator.Source§fn neg(self) -> InstructionNumber
fn neg(self) -> InstructionNumber
Performs the unary
-
operation. Read moreSource§impl Ord for InstructionNumber
impl Ord for InstructionNumber
Source§fn cmp(&self, other: &InstructionNumber) -> Ordering
fn cmp(&self, other: &InstructionNumber) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InstructionNumber
impl PartialEq for InstructionNumber
Source§impl PartialOrd for InstructionNumber
impl PartialOrd for InstructionNumber
Source§impl<__RhsT> Rem<__RhsT> for InstructionNumber
impl<__RhsT> Rem<__RhsT> for InstructionNumber
Source§type Output = InstructionNumber
type Output = InstructionNumber
The resulting type after applying the
%
operator.Source§fn rem(self, rhs: __RhsT) -> InstructionNumber
fn rem(self, rhs: __RhsT) -> InstructionNumber
Performs the
%
operation. Read moreSource§impl<__RhsT> RemAssign<__RhsT> for InstructionNumberwhere
c_longlong: RemAssign<__RhsT>,
impl<__RhsT> RemAssign<__RhsT> for InstructionNumberwhere
c_longlong: RemAssign<__RhsT>,
Source§fn rem_assign(&mut self, rhs: __RhsT)
fn rem_assign(&mut self, rhs: __RhsT)
Performs the
%=
operation. Read moreSource§impl Sub for InstructionNumber
impl Sub for InstructionNumber
Source§type Output = InstructionNumber
type Output = InstructionNumber
The resulting type after applying the
-
operator.Source§fn sub(self, rhs: InstructionNumber) -> InstructionNumber
fn sub(self, rhs: InstructionNumber) -> InstructionNumber
Performs the
-
operation. Read moreSource§impl SubAssign for InstructionNumber
impl SubAssign for InstructionNumber
Source§fn sub_assign(&mut self, rhs: InstructionNumber)
fn sub_assign(&mut self, rhs: InstructionNumber)
Performs the
-=
operation. Read moreSource§impl Sum for InstructionNumber
impl Sum for InstructionNumber
impl Copy for InstructionNumber
impl Eq for InstructionNumber
impl StructuralPartialEq for InstructionNumber
Auto Trait Implementations§
impl Freeze for InstructionNumber
impl RefUnwindSafe for InstructionNumber
impl Send for InstructionNumber
impl Sync for InstructionNumber
impl Unpin for InstructionNumber
impl UnwindSafe for InstructionNumber
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