pub struct CheckerBuilder { /* private fields */ }
Expand description
Builder for constructing a Checker
instance.
Implementations§
Source§impl CheckerBuilder
impl CheckerBuilder
Sourcepub fn directive(&mut self, l: &str) -> Result<bool>
pub fn directive(&mut self, l: &str) -> Result<bool>
Add a potential directive line.
Returns true if this is a directive with one of the known prefixes. Returns false if no known directive was found. Returns an error if there is a problem with the directive.
Auto Trait Implementations§
impl Freeze for CheckerBuilder
impl RefUnwindSafe for CheckerBuilder
impl Send for CheckerBuilder
impl Sync for CheckerBuilder
impl Unpin for CheckerBuilder
impl UnwindSafe for CheckerBuilder
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