pub struct AnalysisLogBuilder { /* private fields */ }Expand description
Builder for AnalysisLog.
Implementations§
Source§impl AnalysisLogBuilder
impl AnalysisLogBuilder
pub fn engine_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn file<VALUE: Into<PathBuf>>(&mut self, value: VALUE) -> &mut Self
pub fn level<VALUE: Into<u16>>(&mut self, value: VALUE) -> &mut Self
pub fn message<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn position<VALUE: Into<Position>>(&mut self, value: VALUE) -> &mut Self
pub fn range<VALUE: Into<Range>>(&mut self, value: VALUE) -> &mut Self
pub fn syntax_tree<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn source<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<AnalysisLog, AnalysisLogBuilderError>
pub fn build(&self) -> Result<AnalysisLog, AnalysisLogBuilderError>
Trait Implementations§
Source§impl Clone for AnalysisLogBuilder
impl Clone for AnalysisLogBuilder
Source§fn clone(&self) -> AnalysisLogBuilder
fn clone(&self) -> AnalysisLogBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AnalysisLogBuilder
impl RefUnwindSafe for AnalysisLogBuilder
impl Send for AnalysisLogBuilder
impl Sync for AnalysisLogBuilder
impl Unpin for AnalysisLogBuilder
impl UnwindSafe for AnalysisLogBuilder
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