Enum rnapkin::rnamanip::Nucleotide
source · pub enum Nucleotide {
A,
U,
G,
C,
X,
}
Variants§
Implementations§
source§impl Nucleotide
impl Nucleotide
pub fn from_char(c: char) -> Option<Self>
pub fn extract_text_and_color( self, theme: &ColorTheme ) -> (&'static str, &RGBColor)
Trait Implementations§
source§impl Clone for Nucleotide
impl Clone for Nucleotide
source§fn clone(&self) -> Nucleotide
fn clone(&self) -> Nucleotide
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Nucleotide
impl Debug for Nucleotide
source§impl Default for Nucleotide
impl Default for Nucleotide
source§impl Display for Nucleotide
impl Display for Nucleotide
impl Copy for Nucleotide
Auto Trait Implementations§
impl RefUnwindSafe for Nucleotide
impl Send for Nucleotide
impl Sync for Nucleotide
impl Unpin for Nucleotide
impl UnwindSafe for Nucleotide
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