#[non_exhaustive]pub struct HirBindingId { /* private fields */ }Expand description
Stable identifier for a HIR binding within one lowered file.
Implementations§
Source§impl HirBindingId
impl HirBindingId
Trait Implementations§
Source§impl Clone for HirBindingId
impl Clone for HirBindingId
Source§fn clone(&self) -> HirBindingId
fn clone(&self) -> HirBindingId
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 HirBindingId
Source§impl Debug for HirBindingId
impl Debug for HirBindingId
impl Eq for HirBindingId
Source§impl Hash for HirBindingId
impl Hash for HirBindingId
Source§impl Ord for HirBindingId
impl Ord for HirBindingId
Source§fn cmp(&self, other: &HirBindingId) -> Ordering
fn cmp(&self, other: &HirBindingId) -> 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 HirBindingId
impl PartialEq for HirBindingId
Source§fn eq(&self, other: &HirBindingId) -> bool
fn eq(&self, other: &HirBindingId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HirBindingId
impl PartialOrd for HirBindingId
impl StructuralPartialEq for HirBindingId
Auto Trait Implementations§
impl Freeze for HirBindingId
impl RefUnwindSafe for HirBindingId
impl Send for HirBindingId
impl Sync for HirBindingId
impl Unpin for HirBindingId
impl UnsafeUnpin for HirBindingId
impl UnwindSafe for HirBindingId
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