Struct paralegal_spdg::rustc_proxies::LocalDefId
source · pub struct LocalDefId {
pub local_def_index: DefIndex,
}
Expand description
Proxy for def_id::LocalDefId
Fields§
§local_def_index: DefIndex
Implementations§
source§impl LocalDefId
impl LocalDefId
pub fn serialize<__S>( __self: &LocalDefId, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
source§impl<'de> LocalDefId
impl<'de> LocalDefId
pub fn deserialize<__D>( __deserializer: __D ) -> Result<LocalDefId, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for LocalDefId
impl Clone for LocalDefId
source§fn clone(&self) -> LocalDefId
fn clone(&self) -> LocalDefId
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 LocalDefId
impl Debug for LocalDefId
source§impl Hash for LocalDefId
impl Hash for LocalDefId
source§impl PartialEq<LocalDefId> for LocalDefId
impl PartialEq<LocalDefId> for LocalDefId
source§fn eq(&self, other: &LocalDefId) -> bool
fn eq(&self, other: &LocalDefId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LocalDefId
impl Eq for LocalDefId
impl StructuralEq for LocalDefId
impl StructuralPartialEq for LocalDefId
Auto Trait Implementations§
impl RefUnwindSafe for LocalDefId
impl Send for LocalDefId
impl Sync for LocalDefId
impl Unpin for LocalDefId
impl UnwindSafe for LocalDefId
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.