pub struct LocalBlockId(/* private fields */);Expand description
Function-local block index (indexes the owning FunctionBody’s block arena).
Implementations§
Trait Implementations§
Source§impl Clone for LocalBlockId
impl Clone for LocalBlockId
impl Copy for LocalBlockId
Source§impl Debug for LocalBlockId
impl Debug for LocalBlockId
Source§impl Default for LocalBlockId
impl Default for LocalBlockId
Source§impl<'de> Deserialize<'de> for LocalBlockId
impl<'de> Deserialize<'de> for LocalBlockId
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 LocalBlockId
impl Display for LocalBlockId
impl Eq for LocalBlockId
Source§impl From<LocalBlockId> for usize
impl From<LocalBlockId> for usize
Source§fn from(id: LocalBlockId) -> usize
fn from(id: LocalBlockId) -> usize
Converts to this type from the input type.
Source§impl From<usize> for LocalBlockId
impl From<usize> for LocalBlockId
Source§impl Hash for LocalBlockId
impl Hash for LocalBlockId
impl Identifier for LocalBlockId
Source§impl Ord for LocalBlockId
impl Ord for LocalBlockId
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 LocalBlockId
impl PartialEq for LocalBlockId
Auto Trait Implementations§
impl Freeze for LocalBlockId
impl RefUnwindSafe for LocalBlockId
impl Send for LocalBlockId
impl Sync for LocalBlockId
impl Unpin for LocalBlockId
impl UnsafeUnpin for LocalBlockId
impl UnwindSafe for LocalBlockId
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