Struct paralegal_spdg::rustc_proxies::ItemLocalId
source · pub struct ItemLocalId {
pub(crate) private: u32,
}
Expand description
Proxy for hir::ItemLocalId
Fields§
§private: u32
Implementations§
source§impl ItemLocalId
impl ItemLocalId
pub fn serialize<__S>( __self: &ItemLocalId, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
source§impl<'de> ItemLocalId
impl<'de> ItemLocalId
pub fn deserialize<__D>( __deserializer: __D ) -> Result<ItemLocalId, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for ItemLocalId
impl Clone for ItemLocalId
source§fn clone(&self) -> ItemLocalId
fn clone(&self) -> ItemLocalId
Returns a copy 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 ItemLocalId
impl Debug for ItemLocalId
source§impl Hash for ItemLocalId
impl Hash for ItemLocalId
source§impl Ord for ItemLocalId
impl Ord for ItemLocalId
source§fn cmp(&self, other: &ItemLocalId) -> Ordering
fn cmp(&self, other: &ItemLocalId) -> 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<ItemLocalId> for ItemLocalId
impl PartialEq<ItemLocalId> for ItemLocalId
source§fn eq(&self, other: &ItemLocalId) -> bool
fn eq(&self, other: &ItemLocalId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ItemLocalId> for ItemLocalId
impl PartialOrd<ItemLocalId> for ItemLocalId
source§fn partial_cmp(&self, other: &ItemLocalId) -> Option<Ordering>
fn partial_cmp(&self, other: &ItemLocalId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ItemLocalId
impl Eq for ItemLocalId
impl StructuralEq for ItemLocalId
impl StructuralPartialEq for ItemLocalId
Auto Trait Implementations§
impl RefUnwindSafe for ItemLocalId
impl Send for ItemLocalId
impl Sync for ItemLocalId
impl Unpin for ItemLocalId
impl UnwindSafe for ItemLocalId
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.