Struct noak::writer::attributes::code::stack_map::StackMapTableWriter
source · pub struct StackMapTableWriter<Ctx> { /* private fields */ }
Implementations§
source§impl<Ctx: EncoderContext> StackMapTableWriter<Ctx>
impl<Ctx: EncoderContext> StackMapTableWriter<Ctx>
pub fn same(&mut self, label: LabelRef) -> Result<(), EncodeError>
pub fn same_extended(&mut self, label: LabelRef) -> Result<(), EncodeError>
pub fn same1<F>(&mut self, label: LabelRef, f: F) -> Result<(), EncodeError>where
F: for<'ctx> FnOnce(Same1Writer<'ctx, Ctx, Start>) -> Result<Same1Writer<'ctx, Ctx, End>, EncodeError>,
pub fn same1_extended<F>(
&mut self,
label: LabelRef,
f: F
) -> Result<(), EncodeError>where
F: for<'ctx> FnOnce(Same1Writer<'ctx, Ctx, Start>) -> Result<Same1Writer<'ctx, Ctx, End>, EncodeError>,
pub fn chop(&mut self, label: LabelRef, count: u16) -> Result<(), EncodeError>
pub fn append<F>(&mut self, label: LabelRef, f: F) -> Result<(), EncodeError>
pub fn full<F>(&mut self, label: LabelRef, f: F) -> Result<(), EncodeError>where
F: for<'ctx> FnOnce(FullWriter<'ctx, Ctx, Locals>) -> Result<FullWriter<'ctx, Ctx, End>, EncodeError>,
Trait Implementations§
Auto Trait Implementations§
impl<Ctx> Freeze for StackMapTableWriter<Ctx>where
Ctx: Freeze,
impl<Ctx> RefUnwindSafe for StackMapTableWriter<Ctx>where
Ctx: RefUnwindSafe,
impl<Ctx> Send for StackMapTableWriter<Ctx>where
Ctx: Send,
impl<Ctx> Sync for StackMapTableWriter<Ctx>where
Ctx: Sync,
impl<Ctx> Unpin for StackMapTableWriter<Ctx>where
Ctx: Unpin,
impl<Ctx> UnwindSafe for StackMapTableWriter<Ctx>where
Ctx: UnwindSafe,
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