pub struct MachConstantsFinalized {
pub buffer: MachBufferFinalized,
pub offsets: Vec<CodeOffset>,
pub refs: Vec<MachConstantRef>,
}Expand description
The constants of a function and the references to them from its code.
Fields§
§buffer: MachBufferFinalizedThe buffer that holds the constants. Its min_alignment is at least the alignment of each
constant.
offsets: Vec<CodeOffset>The start of each constant in buffer, in increasing order.
refs: Vec<MachConstantRef>The references to the constants, in the order they were emitted.
Trait Implementations§
Source§impl Clone for MachConstantsFinalized
impl Clone for MachConstantsFinalized
Source§impl Debug for MachConstantsFinalized
impl Debug for MachConstantsFinalized
Source§impl<'de> Deserialize<'de> for MachConstantsFinalized
Available on crate feature enable-serde only.
impl<'de> Deserialize<'de> for MachConstantsFinalized
Available on crate feature
enable-serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MachConstantsFinalized
impl PartialEq for MachConstantsFinalized
Source§impl Serialize for MachConstantsFinalized
Available on crate feature enable-serde only.
impl Serialize for MachConstantsFinalized
Available on crate feature
enable-serde only.impl StructuralPartialEq for MachConstantsFinalized
Auto Trait Implementations§
impl Forget for MachConstantsFinalized
impl Freeze for MachConstantsFinalized
impl Move for MachConstantsFinalized
impl RefUnwindSafe for MachConstantsFinalized
impl Send for MachConstantsFinalized
impl Sync for MachConstantsFinalized
impl Unpin for MachConstantsFinalized
impl UnsafeUnpin for MachConstantsFinalized
impl UnwindSafe for MachConstantsFinalized
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