pub trait SourcePos:
Clone
+ Copy
+ Default
+ Debug
+ PartialOrd
+ Ord
+ 'static
+ CondSerialize {
// Required methods
fn update(&mut self, c: char);
fn update_newline(&mut self, rn: bool);
fn update_str_no_newline(&mut self, s: &str);
fn update_str_maybe_newline(&mut self, s: &str);
}
Required Methodsยง
fn update(&mut self, c: char)
fn update_newline(&mut self, rn: bool)
fn update_str_no_newline(&mut self, s: &str)
fn update_str_maybe_newline(&mut self, s: &str)
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.