pub struct AppendTree<T> { /* private fields */ }Implementations§
Source§impl<T: Send + Sync + Clone + Traversible + InlineOutput> AppendTree<T>
impl<T: Send + Sync + Clone + Traversible + InlineOutput> AppendTree<T>
Trait Implementations§
Source§impl<T: Clone> Clone for AppendTree<T>
impl<T: Clone> Clone for AppendTree<T>
Source§fn clone(&self) -> AppendTree<T>
fn clone(&self) -> AppendTree<T>
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<T: Debug> Debug for AppendTree<T>
impl<T: Debug> Debug for AppendTree<T>
Source§impl<T: Send + Sync + Clone + Traversible + InlineOutput> Default for AppendTree<T>
impl<T: Send + Sync + Clone + Traversible + InlineOutput> Default for AppendTree<T>
Source§impl<T: Send + Sync + InlineOutput> InlineOutput for AppendTree<T>
impl<T: Send + Sync + InlineOutput> InlineOutput for AppendTree<T>
fn slice_to_output(slice: &[Self], output: &mut impl Output)where
Self: Sized,
Source§impl<T> ListHashes for AppendTree<T>where
TreeKind<T>: ListHashes,
impl<T> ListHashes for AppendTree<T>where
TreeKind<T>: ListHashes,
fn list_hashes(&self, visitor: &mut impl FnMut(Hash))
fn topology_hash(&self) -> Hash
fn point_count(&self) -> usize
Source§impl<T, __I: ParseInput> Parse<__I> for AppendTree<T>where
Self: ParseInline<__I>,
impl<T, __I: ParseInput> Parse<__I> for AppendTree<T>where
Self: ParseInline<__I>,
Source§impl<T, I: ParseInput> ParseInline<I> for AppendTree<T>where
Node<T, U256, Leaf>: ParseWithLen<I, History = ()>,
Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<T, U256, Leaf>, ())>,
Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ()))>,
Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ())))>,
Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ()))))>,
Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ())))))>,
Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ()))))))>,
Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ())))))))>,
impl<T, I: ParseInput> ParseInline<I> for AppendTree<T>where
Node<T, U256, Leaf>: ParseWithLen<I, History = ()>,
Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<T, U256, Leaf>, ())>,
Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ()))>,
Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ())))>,
Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ()))))>,
Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ())))))>,
Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ()))))))>,
Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>: ParseWithLen<I, History = (Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>>, U256, NonLeaf>, (Node<Point<Node<T, U256, Leaf>>, U256, NonLeaf>, (Node<T, U256, Leaf>, ())))))))>,
Source§fn parse_inline(input: &mut I) -> Result<Self>
fn parse_inline(input: &mut I) -> Result<Self>
Parse without consuming the whole stream. Errors on unexpected EOF.
Source§fn parse_as_inline(input: I) -> Result<Self, Error>
fn parse_as_inline(input: I) -> Result<Self, Error>
For implementing
Parse::parse.Source§fn parse_vec(input: I) -> Result<Vec<Self>, Error>
fn parse_vec(input: I) -> Result<Vec<Self>, Error>
Parse a
Vec of Self. Customisable for optimisations.Source§fn parse_vec_n(input: &mut I, n: usize) -> Result<Vec<Self>, Error>
fn parse_vec_n(input: &mut I, n: usize) -> Result<Vec<Self>, Error>
Parse a
Vec of Self of length n. Customisable for optimisations.Source§fn parse_array<const N: usize>(input: &mut I) -> Result<[Self; N], Error>
fn parse_array<const N: usize>(input: &mut I) -> Result<[Self; N], Error>
Parse an array of
Self. Customisable for optimisations.Source§fn parse_generic_array<N>(input: &mut I) -> Result<GenericArray<Self, N>, Error>where
N: ArrayLength,
fn parse_generic_array<N>(input: &mut I) -> Result<GenericArray<Self, N>, Error>where
N: ArrayLength,
Parse a
GenericArray of Self. Customisable for optimisations.Source§impl<T: PartialEq> PartialEq for AppendTree<T>
impl<T: PartialEq> PartialEq for AppendTree<T>
Source§impl<T> Tagged for AppendTree<T>where
TreeKind<T>: Tagged,
impl<T> Tagged for AppendTree<T>where
TreeKind<T>: Tagged,
Source§impl<T: Send + Sync + InlineOutput> ToOutput for AppendTree<T>
impl<T: Send + Sync + InlineOutput> ToOutput for AppendTree<T>
Source§impl<T> Topological for AppendTree<T>where
TreeKind<T>: Topological,
impl<T> Topological for AppendTree<T>where
TreeKind<T>: Topological,
impl<T: Eq> Eq for AppendTree<T>
impl<T> StructuralPartialEq for AppendTree<T>
Auto Trait Implementations§
impl<T> Freeze for AppendTree<T>
impl<T> !RefUnwindSafe for AppendTree<T>
impl<T> Send for AppendTree<T>where
T: Send,
impl<T> Sync for AppendTree<T>where
T: Sync,
impl<T> Unpin for AppendTree<T>where
T: Unpin,
impl<T> UnsafeUnpin for AppendTree<T>
impl<T> !UnwindSafe for AppendTree<T>
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
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