pub struct InputPreprocessor { /* private fields */ }Expand description
Input preprocessor that normalizes HGVS input strings.
Implementations§
Source§impl InputPreprocessor
impl InputPreprocessor
Sourcepub fn new(config: ErrorConfig) -> Self
pub fn new(config: ErrorConfig) -> Self
Create a new preprocessor with the given configuration.
Sourcepub fn preprocess(&self, input: &str) -> PreprocessResult
pub fn preprocess(&self, input: &str) -> PreprocessResult
Preprocess the input string.
Applies corrections based on the configured error handling mode.
Trait Implementations§
Source§impl Clone for InputPreprocessor
impl Clone for InputPreprocessor
Source§fn clone(&self) -> InputPreprocessor
fn clone(&self) -> InputPreprocessor
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 moreSource§impl Debug for InputPreprocessor
impl Debug for InputPreprocessor
Auto Trait Implementations§
impl Freeze for InputPreprocessor
impl RefUnwindSafe for InputPreprocessor
impl Send for InputPreprocessor
impl Sync for InputPreprocessor
impl Unpin for InputPreprocessor
impl UnsafeUnpin for InputPreprocessor
impl UnwindSafe for InputPreprocessor
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