[−][src]Struct debruijn::vmer::Lmer
Store a variable-length DNA sequence in a packed 2-bit encoding, up 92bp in length The length of the sequence is stored in the lower 8 bits of storage
Trait Implementations
impl<A: Clone + Array> Clone for Lmer<A>
[src]
impl<A: Copy + Array> Copy for Lmer<A>
[src]
impl<A: Array<Item = u64> + Copy + Eq + Ord + Hash> Debug for Lmer<A>
[src]
impl<'de, A: Array> Deserialize<'de> for Lmer<A> where
A: Deserialize<'de>,
[src]
A: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<A: Eq + Array> Eq for Lmer<A>
[src]
impl<A: Hash + Array> Hash for Lmer<A>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<A: Array<Item = u64> + Copy + Eq + Ord + Hash> Mer for Lmer<A>
[src]
fn len(&self) -> usize
[src]
The length of the DNA string
fn get(&self, pos: usize) -> u8
[src]
Get the base at position pos
fn set_mut(&mut self, pos: usize, val: u8)
[src]
Return a new Lmer with position pos set to base val
fn set_slice_mut(&mut self, pos: usize, n_bases: usize, value: u64)
[src]
fn rc(&self) -> Self
[src]
fn iter<'a>(&'a self) -> MerIter<'a, Self>
[src]
fn at_count(&self) -> u32
[src]
fn gc_count(&self) -> u32
[src]
impl<A: Ord + Array> Ord for Lmer<A>
[src]
fn cmp(&self, other: &Lmer<A>) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl<A: PartialEq + Array> PartialEq<Lmer<A>> for Lmer<A>
[src]
impl<A: PartialOrd + Array> PartialOrd<Lmer<A>> for Lmer<A>
[src]
fn partial_cmp(&self, other: &Lmer<A>) -> Option<Ordering>
[src]
fn lt(&self, other: &Lmer<A>) -> bool
[src]
fn le(&self, other: &Lmer<A>) -> bool
[src]
fn gt(&self, other: &Lmer<A>) -> bool
[src]
fn ge(&self, other: &Lmer<A>) -> bool
[src]
impl<A: Array> Serialize for Lmer<A> where
A: Serialize,
[src]
A: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<A: Array> StructuralEq for Lmer<A>
[src]
impl<A: Array> StructuralPartialEq for Lmer<A>
[src]
impl<A: Array<Item = u64> + Copy + Eq + Ord + Hash> Vmer for Lmer<A>
[src]
fn max_len() -> usize
[src]
fn new(len: usize) -> Lmer<A>
[src]
Initialize an blank Lmer of length len. Will initially represent all A's.
fn get_kmer<K: Kmer>(&self, pos: usize) -> K
[src]
Get the kmer starting at position pos
fn from_slice(seq: &[u8]) -> Self
[src]
fn first_kmer<K: Kmer>(&self) -> K
[src]
fn last_kmer<K: Kmer>(&self) -> K
[src]
fn both_term_kmer<K: Kmer>(&self) -> (K, K)
[src]
fn term_kmer<K: Kmer>(&self, dir: Dir) -> K
[src]
fn iter_kmers<K: Kmer>(&self) -> KmerIter<K, Self>
[src]
fn iter_kmer_exts<K: Kmer>(&self, seq_exts: Exts) -> KmerExtsIter<K, Self>
[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for Lmer<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for Lmer<A> where
A: Send,
A: Send,
impl<A> Sync for Lmer<A> where
A: Sync,
A: Sync,
impl<A> Unpin for Lmer<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for Lmer<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MerImmut for T where
T: Mer + Clone,
[src]
T: Mer + Clone,
fn set(&self, pos: usize, val: u8) -> Self
[src]
fn set_slice(&self, pos: usize, nbases: usize, bits: u64) -> Self
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,