pub struct ParseResult {
pub repositories: IndexMap<Arc<LemmaRepository>, Vec<LemmaSpec>>,
pub expression_count: usize,
}Fields§
§repositories: IndexMap<Arc<LemmaRepository>, Vec<LemmaSpec>>§expression_count: usizeImplementations§
Source§impl ParseResult
impl ParseResult
Sourcepub fn flatten_specs(&self) -> Vec<&LemmaSpec>
pub fn flatten_specs(&self) -> Vec<&LemmaSpec>
Specs in parse order: repository groups follow declaration order; specs within each group follow source order.
pub fn into_flattened_specs(self) -> Vec<LemmaSpec>
Trait Implementations§
Auto Trait Implementations§
impl Forget for ParseResult
impl Freeze for ParseResultwhere
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<Arc<LemmaRepository>, Vec<LemmaSpec>>>: Freeze,
impl Move for ParseResult
impl RefUnwindSafe for ParseResult
impl Send for ParseResult
impl Sync for ParseResult
impl Unpin for ParseResult
impl UnsafeUnpin for ParseResultwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<Arc<LemmaRepository>, Vec<LemmaSpec>>>: UnsafeUnpin,
impl UnwindSafe for ParseResultwhere
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<LemmaRepository>: UnwindSafe,
Arc<PathBuf>: UnwindSafe,
BoxRaw<ParentType>: UnwindSafe,
BoxRaw<Value>: UnwindSafe,
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