pub struct Tree2String { /* private fields */ }Expand description
A Tree2String struct, mainly holds the tree object. This type will implement Structure2PlotBuilder, WalkTree and WalkActions, with an ultimate goal of saving a constituency string of the tree to file.
Implementations§
Source§impl Tree2String
impl Tree2String
Sourcepub fn get_constituency(self, inverse: bool) -> String
pub fn get_constituency(self, inverse: bool) -> String
A method to retrieve the constituency string after building it from the tree. Can be called only after build() has been called. See example on lib.rs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tree2String
impl RefUnwindSafe for Tree2String
impl Send for Tree2String
impl Sync for Tree2String
impl Unpin for Tree2String
impl UnwindSafe for Tree2String
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