Struct mun_syntax::SyntaxError
source · pub struct SyntaxError { /* private fields */ }
Implementations§
source§impl SyntaxError
impl SyntaxError
pub fn new<L: Into<Location>>(kind: SyntaxErrorKind, loc: L) -> SyntaxError
pub fn kind(&self) -> SyntaxErrorKind
pub fn location(&self) -> Location
Trait Implementations§
source§impl Clone for SyntaxError
impl Clone for SyntaxError
source§fn clone(&self) -> SyntaxError
fn clone(&self) -> SyntaxError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more