Struct paralegal_spdg::rustc_proxies::BodyId
source · pub struct BodyId {
pub hir_id: HirId,
}
Expand description
Proxy for hir::BodyId
Fields§
§hir_id: HirId
Implementations§
source§impl BodyId
impl BodyId
pub fn serialize<__S>( __self: &BodyId, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
source§impl<'de> BodyId
impl<'de> BodyId
pub fn deserialize<__D>( __deserializer: __D ) -> Result<BodyId, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl PartialEq<BodyId> for BodyId
impl PartialEq<BodyId> for BodyId
impl Copy for BodyId
impl Eq for BodyId
impl StructuralEq for BodyId
impl StructuralPartialEq for BodyId
Auto Trait Implementations§
impl RefUnwindSafe for BodyId
impl Send for BodyId
impl Sync for BodyId
impl Unpin for BodyId
impl UnwindSafe for BodyId
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.