pub enum ParsimonyTree {
Leaf(char),
Internal(Box<ParsimonyTree>, Box<ParsimonyTree>),
}Expand description
A simple tree node for parsimony scoring.
Variants§
Leaf(char)
Internal(Box<ParsimonyTree>, Box<ParsimonyTree>)
Trait Implementations§
Source§impl Clone for ParsimonyTree
impl Clone for ParsimonyTree
Source§fn clone(&self) -> ParsimonyTree
fn clone(&self) -> ParsimonyTree
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ParsimonyTree
impl RefUnwindSafe for ParsimonyTree
impl Send for ParsimonyTree
impl Sync for ParsimonyTree
impl Unpin for ParsimonyTree
impl UnsafeUnpin for ParsimonyTree
impl UnwindSafe for ParsimonyTree
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