pub struct SimpleTree {
pub name: String,
pub length: Option<f64>,
pub children: Vec<SimpleTree>,
}Fields§
§name: String§length: Option<f64>§children: Vec<SimpleTree>Implementations§
Source§impl SimpleTree
impl SimpleTree
Trait Implementations§
Source§impl Clone for SimpleTree
impl Clone for SimpleTree
Source§fn clone(&self) -> SimpleTree
fn clone(&self) -> SimpleTree
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 moreSource§impl Debug for SimpleTree
impl Debug for SimpleTree
Source§impl<'de> Deserialize<'de> for SimpleTree
impl<'de> Deserialize<'de> for SimpleTree
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromNewick for SimpleTree
impl FromNewick for SimpleTree
Source§impl PartialEq for SimpleTree
impl PartialEq for SimpleTree
Source§impl Serialize for SimpleTree
impl Serialize for SimpleTree
Source§impl ToNewick for SimpleTree
impl ToNewick for SimpleTree
impl StructuralPartialEq for SimpleTree
Auto Trait Implementations§
impl Freeze for SimpleTree
impl RefUnwindSafe for SimpleTree
impl Send for SimpleTree
impl Sync for SimpleTree
impl Unpin for SimpleTree
impl UnwindSafe for SimpleTree
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