#[repr(transparent)]pub struct ProcedureId(pub u32);Expand description
The index of a procedure as defined in a module’s procedure list.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for ProcedureId
impl Clone for ProcedureId
Source§fn clone(&self) -> ProcedureId
fn clone(&self) -> ProcedureId
Returns a duplicate 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 ProcedureId
impl Debug for ProcedureId
Source§impl Default for ProcedureId
impl Default for ProcedureId
Source§fn default() -> ProcedureId
fn default() -> ProcedureId
Returns the “default value” for a type. Read more
Source§impl Display for ProcedureId
impl Display for ProcedureId
Source§impl From<ProcedureId> for u32
impl From<ProcedureId> for u32
Source§fn from(value: ProcedureId) -> Self
fn from(value: ProcedureId) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ProcedureId
impl From<i32> for ProcedureId
Source§impl From<u32> for ProcedureId
impl From<u32> for ProcedureId
Source§impl From<usize> for ProcedureId
impl From<usize> for ProcedureId
Source§impl Hash for ProcedureId
impl Hash for ProcedureId
Source§impl Ord for ProcedureId
impl Ord for ProcedureId
Source§fn cmp(&self, other: &ProcedureId) -> Ordering
fn cmp(&self, other: &ProcedureId) -> 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 ProcedureId
impl PartialEq for ProcedureId
Source§impl PartialOrd for ProcedureId
impl PartialOrd for ProcedureId
impl Copy for ProcedureId
impl Eq for ProcedureId
impl IsEnabled for ProcedureId
impl StructuralPartialEq for ProcedureId
Auto Trait Implementations§
impl Freeze for ProcedureId
impl RefUnwindSafe for ProcedureId
impl Send for ProcedureId
impl Sync for ProcedureId
impl Unpin for ProcedureId
impl UnsafeUnpin for ProcedureId
impl UnwindSafe for ProcedureId
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more