pub struct CodeResourceId(/* private fields */);Expand description
A stable identity for exact code-resource bytes referenced during emission.
Implementations§
Trait Implementations§
Source§impl Clone for CodeResourceId
impl Clone for CodeResourceId
Source§impl Debug for CodeResourceId
impl Debug for CodeResourceId
Source§impl Display for CodeResourceId
impl Display for CodeResourceId
impl Eq for CodeResourceId
Source§impl Hash for CodeResourceId
impl Hash for CodeResourceId
Source§impl Ord for CodeResourceId
impl Ord for CodeResourceId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CodeResourceId
impl PartialEq for CodeResourceId
Source§impl PartialOrd for CodeResourceId
impl PartialOrd for CodeResourceId
Source§impl Serialize for CodeResourceId
impl Serialize for CodeResourceId
impl StructuralPartialEq for CodeResourceId
Auto Trait Implementations§
impl Freeze for CodeResourceId
impl RefUnwindSafe for CodeResourceId
impl Send for CodeResourceId
impl Sync for CodeResourceId
impl Unpin for CodeResourceId
impl UnsafeUnpin for CodeResourceId
impl UnwindSafe for CodeResourceId
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