pub struct WeightedTree { /* private fields */ }Expand description
A weighted tree generated from an automaton language.
The tree root refers to the arena owned by the
SortedLanguageIterator that produced it. This is intentionally a lean
handle: advancing the iterator may invalidate previously returned tree
handles in future implementations. Clone a tree out through
SortedLanguageIterator::clone_tree before advancing if it must be kept.
Implementations§
Trait Implementations§
Source§impl Clone for WeightedTree
impl Clone for WeightedTree
Source§fn clone(&self) -> WeightedTree
fn clone(&self) -> WeightedTree
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WeightedTree
Source§impl Debug for WeightedTree
impl Debug for WeightedTree
Source§impl PartialEq for WeightedTree
impl PartialEq for WeightedTree
Source§fn eq(&self, other: &WeightedTree) -> bool
fn eq(&self, other: &WeightedTree) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WeightedTree
Auto Trait Implementations§
impl Freeze for WeightedTree
impl RefUnwindSafe for WeightedTree
impl Send for WeightedTree
impl Sync for WeightedTree
impl Unpin for WeightedTree
impl UnsafeUnpin for WeightedTree
impl UnwindSafe for WeightedTree
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