Struct noak::writer::attributes::code::LineNumberWriter
source · pub struct LineNumberWriter<Ctx, State: State> { /* private fields */ }
Implementations§
source§impl<Ctx: EncoderContext> LineNumberWriter<Ctx, Start>
impl<Ctx: EncoderContext> LineNumberWriter<Ctx, Start>
pub fn start( self, label: LabelRef ) -> Result<LineNumberWriter<Ctx, LineNumber>, EncodeError>
source§impl<Ctx: EncoderContext> LineNumberWriter<Ctx, LineNumber>
impl<Ctx: EncoderContext> LineNumberWriter<Ctx, LineNumber>
pub fn line_number( self, line_number: u16 ) -> Result<LineNumberWriter<Ctx, End>, EncodeError>
Trait Implementations§
Auto Trait Implementations§
impl<Ctx, State> Freeze for LineNumberWriter<Ctx, State>where
State: Sealed,
Ctx: Freeze,
impl<Ctx, State> RefUnwindSafe for LineNumberWriter<Ctx, State>where
State: Sealed + RefUnwindSafe,
Ctx: RefUnwindSafe,
impl<Ctx, State> Send for LineNumberWriter<Ctx, State>
impl<Ctx, State> Sync for LineNumberWriter<Ctx, State>
impl<Ctx, State> Unpin for LineNumberWriter<Ctx, State>
impl<Ctx, State> UnwindSafe for LineNumberWriter<Ctx, State>where
State: Sealed + UnwindSafe,
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