pub struct Codon {
pub amino_acid: char,
pub codon: String,
pub positions: [usize; 3],
}Expand description
One translated codon with the reference positions of its three coding bases (in coding order, so they decrease on the reverse strand and may jump at joins).
Fields§
§amino_acid: char§codon: StringCodon on the coding strand, 5′→3′.
positions: [usize; 3]Trait Implementations§
impl Eq for Codon
impl StructuralPartialEq for Codon
Auto Trait Implementations§
impl Freeze for Codon
impl RefUnwindSafe for Codon
impl Send for Codon
impl Sync for Codon
impl Unpin for Codon
impl UnsafeUnpin for Codon
impl UnwindSafe for Codon
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