NewickTree

Type Alias NewickTree 

Source
pub type NewickTree = Tree<Data, (), f32>;

Aliased Type§

pub struct NewickTree { /* private fields */ }

Trait Implementations§

Source§

impl Newick for NewickTree

Source§

fn name(&self, n: NodeID) -> Option<&String>

Source§

fn name_mut(&mut self, n: NodeID) -> Option<&mut String>

Source§

fn attrs(&self, n: NodeID) -> &Attrs

Source§

fn attrs_mut(&mut self, n: NodeID) -> &mut Attrs

Source§

fn is_duplication(&self, n: usize) -> bool

Source§

fn leaf_names(&self) -> Box<dyn Iterator<Item = &String> + '_>

Source§

fn to_newick(&self, pretty: bool) -> String