pub struct GenusClassifier { /* private fields */ }Implementations§
Source§impl GenusClassifier
impl GenusClassifier
pub fn new<P: AsRef<Path>>( db_path: P, minimap2_path: &str, min_identity: f64, min_align_len: usize, max_flanking: usize, ) -> Result<Self>
pub fn classify_batch( &mut self, positions: &[ArgPosition], threads: usize, ) -> Result<Vec<GenusResult>>
pub fn classify_single( &mut self, pos: &ArgPosition, threads: usize, ) -> Result<GenusResult>
Auto Trait Implementations§
impl Freeze for GenusClassifier
impl RefUnwindSafe for GenusClassifier
impl Send for GenusClassifier
impl Sync for GenusClassifier
impl Unpin for GenusClassifier
impl UnwindSafe for GenusClassifier
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more