#[repr(C)]pub struct Sequence {
pub data: *mut u8,
pub len: usize,
}Expand description
Reverse complement copy - create reverse complement in new buffer
Matches C++ AGC’s CAGCBasic::reverse_complement_copy() (agc_basic.cpp:282)
§Safety
- src must point to valid memory of src_len bytes
- Returned buffer must be freed with ragc_free_sequence()
Fields§
§data: *mut u8§len: usizeAuto Trait Implementations§
impl Freeze for Sequence
impl RefUnwindSafe for Sequence
impl !Send for Sequence
impl !Sync for Sequence
impl Unpin for Sequence
impl UnwindSafe for Sequence
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