pub struct CppCollection { /* private fields */ }Expand description
Safe wrapper around C++ AGC Collection_V3
Implementations§
Source§impl CppCollection
impl CppCollection
pub fn new() -> Self
pub fn set_archives( &mut self, archive: &mut CppArchive, num_threads: u32, batch_size: usize, segment_size: u32, kmer_length: u32, ) -> Result<()>
pub fn register_sample_contig( &mut self, sample_name: &str, contig_name: &str, ) -> Result<()>
pub fn add_segments_placed( &mut self, placements: &[SegmentPlacement], ) -> Result<()>
pub fn complete_serialization(&mut self)
pub fn store_contig_batch(&mut self, id_from: u32, id_to: u32)
pub fn get_no_samples(&self) -> usize
Trait Implementations§
Source§impl Drop for CppCollection
impl Drop for CppCollection
impl Send for CppCollection
impl Sync for CppCollection
Auto Trait Implementations§
impl Freeze for CppCollection
impl RefUnwindSafe for CppCollection
impl Unpin for CppCollection
impl UnwindSafe for CppCollection
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