Struct noak::writer::attributes::code::LineNumberWriter
source · [−]pub struct LineNumberWriter<Ctx, State: State> { /* private fields */ }
Implementations
sourceimpl<Ctx: EncoderContext> LineNumberWriter<Ctx, Start>
impl<Ctx: EncoderContext> LineNumberWriter<Ctx, Start>
pub fn start(
self,
label: LabelRef
) -> Result<LineNumberWriter<Ctx, LineNumber>, EncodeError>
sourceimpl<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> RefUnwindSafe for LineNumberWriter<Ctx, State> where
Ctx: RefUnwindSafe,
State: RefUnwindSafe,
impl<Ctx, State> Send for LineNumberWriter<Ctx, State> where
Ctx: Send,
State: Send,
impl<Ctx, State> Sync for LineNumberWriter<Ctx, State> where
Ctx: Sync,
State: Sync,
impl<Ctx, State> Unpin for LineNumberWriter<Ctx, State> where
Ctx: Unpin,
State: Unpin,
impl<Ctx, State> UnwindSafe for LineNumberWriter<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