pub struct ErrorFactory { /* private fields */ }
Implementations§
Source§impl ErrorFactory
impl ErrorFactory
pub fn new(_ecode: String, _msg: String) -> Self
pub fn add_code_line( &mut self, line: String, display_line_no: bool, line_no: usize, display_add: bool, )
pub fn add_where( &mut self, where_start: usize, where_length: usize, where_msg_b: bool, where_msg: String, )
pub fn add_arrow(&mut self, file: String, line: usize, where_start: usize)
pub fn add_arrow_w(&mut self, file: String, line: usize)
pub fn print(&self)
Auto Trait Implementations§
impl Freeze for ErrorFactory
impl RefUnwindSafe for ErrorFactory
impl Send for ErrorFactory
impl Sync for ErrorFactory
impl Unpin for ErrorFactory
impl UnwindSafe for ErrorFactory
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