Struct noak::writer::attributes::code::LocalVariableWriter
source · [−]pub struct LocalVariableWriter<Ctx, State: State> { /* private fields */ }
Implementations
sourceimpl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Start>
impl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Start>
pub fn start(
self,
label: LabelRef
) -> Result<LocalVariableWriter<Ctx, Length>, EncodeError>
sourceimpl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Length>
impl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Length>
pub fn end(
self,
label: LabelRef
) -> Result<LocalVariableWriter<Ctx, Name>, EncodeError>
sourceimpl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Name>
impl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Name>
pub fn name<I>(
self,
name: I
) -> Result<LocalVariableWriter<Ctx, Descriptor>, EncodeError> where
I: Insertable<Utf8>,
sourceimpl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Descriptor>
impl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Descriptor>
pub fn descriptor<I>(
self,
descriptor: I
) -> Result<LocalVariableWriter<Ctx, Index>, EncodeError> where
I: Insertable<Utf8>,
sourceimpl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Index>
impl<Ctx: EncoderContext> LocalVariableWriter<Ctx, Index>
pub fn index(
self,
index: u16
) -> Result<LocalVariableWriter<Ctx, End>, EncodeError>
Trait Implementations
Auto Trait Implementations
impl<Ctx, State> RefUnwindSafe for LocalVariableWriter<Ctx, State> where
Ctx: RefUnwindSafe,
State: RefUnwindSafe,
impl<Ctx, State> Send for LocalVariableWriter<Ctx, State> where
Ctx: Send,
State: Send,
impl<Ctx, State> Sync for LocalVariableWriter<Ctx, State> where
Ctx: Sync,
State: Sync,
impl<Ctx, State> Unpin for LocalVariableWriter<Ctx, State> where
Ctx: Unpin,
State: Unpin,
impl<Ctx, State> UnwindSafe for LocalVariableWriter<Ctx, State> where
Ctx: UnwindSafe,
State: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more