Struct assembly_pack::common::CRCTreeCollector
source · pub struct CRCTreeCollector<T> { /* private fields */ }
Expand description
Simple visitor that collects a CRC tree to an instance of []
Implementations§
source§impl<T> CRCTreeCollector<T>
impl<T> CRCTreeCollector<T>
sourcepub fn into_inner(self) -> CRCTree<T>
pub fn into_inner(self) -> CRCTree<T>
Return the contained map
Trait Implementations§
source§impl<T> CRCTreeVisitor<T> for CRCTreeCollector<T>
impl<T> CRCTreeVisitor<T> for CRCTreeCollector<T>
source§impl<T: Clone> Clone for CRCTreeCollector<T>
impl<T: Clone> Clone for CRCTreeCollector<T>
source§fn clone(&self) -> CRCTreeCollector<T>
fn clone(&self) -> CRCTreeCollector<T>
Returns a copy 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 CRCTreeCollector<T>
impl<T: Debug> Debug for CRCTreeCollector<T>
source§impl<T: Default> Default for CRCTreeCollector<T>
impl<T: Default> Default for CRCTreeCollector<T>
source§fn default() -> CRCTreeCollector<T>
fn default() -> CRCTreeCollector<T>
Returns the “default value” for a type. Read more
source§impl<T: PartialEq> PartialEq for CRCTreeCollector<T>
impl<T: PartialEq> PartialEq for CRCTreeCollector<T>
impl<T: Eq> Eq for CRCTreeCollector<T>
impl<T> StructuralPartialEq for CRCTreeCollector<T>
Auto Trait Implementations§
impl<T> Freeze for CRCTreeCollector<T>
impl<T> RefUnwindSafe for CRCTreeCollector<T>where
T: RefUnwindSafe,
impl<T> Send for CRCTreeCollector<T>where
T: Send,
impl<T> Sync for CRCTreeCollector<T>where
T: Sync,
impl<T> Unpin for CRCTreeCollector<T>
impl<T> UnwindSafe for CRCTreeCollector<T>where
T: RefUnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more