pub struct Chain {
pub variable: Vec<Arc<Germline>>,
pub joining: Vec<Arc<Germline>>,
pub c: Vec<Arc<Germline>>,
pub a: Vec<Arc<Germline>>,
pub d: Vec<Arc<Germline>>,
pub e: Vec<Arc<Germline>>,
pub g: Vec<Arc<Germline>>,
pub m: Vec<Arc<Germline>>,
pub o: Vec<Arc<Germline>>,
pub t: Vec<Arc<Germline>>,
}Expand description
The intermediate representation for a chain
Fields§
§variable: Vec<Arc<Germline>>All V/variable germlines
joining: Vec<Arc<Germline>>All J/joining germlines
c: Vec<Arc<Germline>>All C/constant germlines
a: Vec<Arc<Germline>>All A constant germlines
d: Vec<Arc<Germline>>All D constant germlines
e: Vec<Arc<Germline>>All E constant germlines
g: Vec<Arc<Germline>>All G constant germlines
m: Vec<Arc<Germline>>All M constant germlines
o: Vec<Arc<Germline>>All O constant germlines
t: Vec<Arc<Germline>>All T constant germlines
Implementations§
Source§impl Chain
impl Chain
Sourcepub fn iter(
&self,
) -> impl DoubleEndedIterator<Item = (GeneType, &[Arc<Germline>])> + ExactSizeIterator + '_
pub fn iter( &self, ) -> impl DoubleEndedIterator<Item = (GeneType, &[Arc<Germline>])> + ExactSizeIterator + '_
Iterate over the genes
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for Chain
impl<'__de, __Context> BorrowDecode<'__de, __Context> for Chain
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl<'de> Deserialize<'de> for Chain
impl<'de> Deserialize<'de> for Chain
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> IntoIterator for &'a Chain
impl<'a> IntoIterator for &'a Chain
Source§impl<'a> IntoParallelIterator for &'a Chain
Available on crate feature rayon only.
impl<'a> IntoParallelIterator for &'a Chain
Available on crate feature
rayon only.Source§type Iter = IntoIter<(GeneType, &'a [Arc<Germline>]), 10>
type Iter = IntoIter<(GeneType, &'a [Arc<Germline>]), 10>
The parallel iterator type that will be created.
Source§type Item = (GeneType, &'a [Arc<Germline>])
type Item = (GeneType, &'a [Arc<Germline>])
The type of item that the parallel iterator will produce.
Source§fn into_par_iter(self) -> Self::Iter
fn into_par_iter(self) -> Self::Iter
Converts
self into a parallel iterator. Read moreAuto Trait Implementations§
impl Freeze for Chain
impl !RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl !UnwindSafe for Chain
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> HighestOf<T> for T
impl<T> HighestOf<T> for T
Source§type HighestLevel = T
type HighestLevel = T
This is the highest complexity level out of Self and the type parameter
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