pub struct CodeUnitId(/* private fields */);Implementations§
Source§impl CodeUnitId
impl CodeUnitId
Sourcepub const fn is_dynamic(self) -> bool
pub const fn is_dynamic(self) -> bool
Whether the unit was compiled at run time: the heap owns it and frees it once no bytecode record names it.
Trait Implementations§
Source§impl Clone for CodeUnitId
impl Clone for CodeUnitId
impl Copy for CodeUnitId
Source§impl Debug for CodeUnitId
impl Debug for CodeUnitId
impl Eq for CodeUnitId
Source§impl Hash for CodeUnitId
impl Hash for CodeUnitId
Source§impl Ord for CodeUnitId
impl Ord for CodeUnitId
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 CodeUnitId
impl PartialEq for CodeUnitId
Source§impl PartialOrd for CodeUnitId
impl PartialOrd for CodeUnitId
impl StructuralPartialEq for CodeUnitId
Auto Trait Implementations§
impl Freeze for CodeUnitId
impl RefUnwindSafe for CodeUnitId
impl Send for CodeUnitId
impl Sync for CodeUnitId
impl Unpin for CodeUnitId
impl UnsafeUnpin for CodeUnitId
impl UnwindSafe for CodeUnitId
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