[][src]Trait gcode::Callbacks

pub trait Callbacks {
    fn unknown_content(&mut self, _text: &str, _span: Span) { ... }
fn gcode_buffer_overflowed(&mut self, _gcode: GCode) { ... }
fn unexpected_line_number(&mut self, _line_number: f32, _span: Span) { ... }
fn argument_without_a_command(
        &mut self,
        _letter: char,
        _value: f32,
        _span: Span
    ) { ... }
fn number_without_a_letter(&mut self, _value: &str, _span: Span) { ... }
fn letter_without_a_number(&mut self, _value: &str, _span: Span) { ... } }

Provided methods

fn unknown_content(&mut self, _text: &str, _span: Span)

fn gcode_buffer_overflowed(&mut self, _gcode: GCode)

fn unexpected_line_number(&mut self, _line_number: f32, _span: Span)

fn argument_without_a_command(
    &mut self,
    _letter: char,
    _value: f32,
    _span: Span
)

fn number_without_a_letter(&mut self, _value: &str, _span: Span)

fn letter_without_a_number(&mut self, _value: &str, _span: Span)

Loading content...

Implementations on Foreign Types

impl<'a, C: Callbacks + ?Sized> Callbacks for &'a mut C[src]

Loading content...

Implementors

Loading content...