pub struct StackMap { /* private fields */ }
Expand description
A map for determining where live GC references live in a stack frame.
Note that this is currently primarily documented as cranelift’s
binemit::StackMap
, so for detailed documentation about this please read
the docs over there.
Implementations§
Source§impl StackMap
impl StackMap
Sourcepub fn new(frame_size: u32, bits: CompoundBitSet) -> StackMap
pub fn new(frame_size: u32, bits: CompoundBitSet) -> StackMap
Creates a new StackMap
, typically from a preexisting
binemit::StackMap
.
Sourcepub fn frame_size(&self) -> u32
pub fn frame_size(&self) -> u32
Returns the byte size of this stack map’s frame.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StackMap
impl<'de> Deserialize<'de> for StackMap
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
Auto Trait Implementations§
impl Freeze for StackMap
impl RefUnwindSafe for StackMap
impl Send for StackMap
impl Sync for StackMap
impl Unpin for StackMap
impl UnwindSafe for StackMap
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