Type Definition newick::NewickTree

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

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