pub struct HirBlockId(pub u32);Expand description
Typed index into a HirBody’s block arena.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for HirBlockId
impl Clone for HirBlockId
Source§fn clone(&self) -> HirBlockId
fn clone(&self) -> HirBlockId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HirBlockId
Source§impl Debug for HirBlockId
impl Debug for HirBlockId
impl Eq for HirBlockId
Source§impl Hash for HirBlockId
impl Hash for HirBlockId
Source§impl Ord for HirBlockId
impl Ord for HirBlockId
Source§fn cmp(&self, other: &HirBlockId) -> Ordering
fn cmp(&self, other: &HirBlockId) -> Ordering
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
Source§impl PartialEq for HirBlockId
impl PartialEq for HirBlockId
Source§fn eq(&self, other: &HirBlockId) -> bool
fn eq(&self, other: &HirBlockId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HirBlockId
impl PartialOrd for HirBlockId
impl StructuralPartialEq for HirBlockId
Auto Trait Implementations§
impl Freeze for HirBlockId
impl RefUnwindSafe for HirBlockId
impl Send for HirBlockId
impl Sync for HirBlockId
impl Unpin for HirBlockId
impl UnsafeUnpin for HirBlockId
impl UnwindSafe for HirBlockId
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