pub struct LocalParamId(/* private fields */);Expand description
Function-local block-parameter index (indexes the owning FunctionBody’s
param arena).
Implementations§
Trait Implementations§
Source§impl Clone for LocalParamId
impl Clone for LocalParamId
impl Copy for LocalParamId
Source§impl Debug for LocalParamId
impl Debug for LocalParamId
Source§impl Default for LocalParamId
impl Default for LocalParamId
Source§impl<'de> Deserialize<'de> for LocalParamId
impl<'de> Deserialize<'de> for LocalParamId
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LocalParamId
impl Display for LocalParamId
impl Eq for LocalParamId
Source§impl From<LocalParamId> for usize
impl From<LocalParamId> for usize
Source§fn from(id: LocalParamId) -> usize
fn from(id: LocalParamId) -> usize
Converts to this type from the input type.
Source§impl From<usize> for LocalParamId
impl From<usize> for LocalParamId
Source§impl Hash for LocalParamId
impl Hash for LocalParamId
impl Identifier for LocalParamId
Source§impl Ord for LocalParamId
impl Ord for LocalParamId
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LocalParamId
impl PartialEq for LocalParamId
Auto Trait Implementations§
impl Freeze for LocalParamId
impl RefUnwindSafe for LocalParamId
impl Send for LocalParamId
impl Sync for LocalParamId
impl Unpin for LocalParamId
impl UnsafeUnpin for LocalParamId
impl UnwindSafe for LocalParamId
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