pub struct Pool<'a, 'v, 's, S: RangeSource> { /* private fields */ }Expand description
Complete original material at this one actual member. Models and source bytes are borrowed/moved, never reparsed to construct an artifact index.
Implementations§
Source§impl<'a, 'v, 's, S: RangeSource> Pool<'a, 'v, 's, S>
impl<'a, 'v, 's, S: RangeSource> Pool<'a, 'v, 's, S>
Sourcepub fn member(&self) -> MemberId<S::Document, S::Generation>
pub fn member(&self) -> MemberId<S::Document, S::Generation>
Actual original complete material source.
Sourcepub fn findings(&self) -> &[Finding]
pub fn findings(&self) -> &[Finding]
All malformed/open original source choices, never a successful subset.
Sourcepub fn properties(&self) -> impl Iterator<Item = (usize, &Properties<'a>)>
pub fn properties(&self) -> impl Iterator<Item = (usize, &Properties<'a>)>
Existing attribute inspections retain every readable syntax/open finding.
Sourcepub fn index<'p, 'q, W: Work>(
&'p self,
work: &'q W,
) -> Result<Index<'p, 'q, 'v, 's, S>, IndexError<Node>>where
'v: 'q,
'a: 'p,
pub fn index<'p, 'q, W: Work>(
&'p self,
work: &'q W,
) -> Result<Index<'p, 'q, 'v, 's, S>, IndexError<Node>>where
'v: 'q,
'a: 'p,
Builds the SAME exact-artifact index. All occurrences are located at their complete original member: an A.7 reference protects that complete member, not a guessed contiguous physical position of an inner value.
Auto Trait Implementations§
impl<'a, 'v, 's, S> !Freeze for Pool<'a, 'v, 's, S>
impl<'a, 'v, 's, S> !RefUnwindSafe for Pool<'a, 'v, 's, S>
impl<'a, 'v, 's, S> !Send for Pool<'a, 'v, 's, S>
impl<'a, 'v, 's, S> !Sync for Pool<'a, 'v, 's, S>
impl<'a, 'v, 's, S> !UnwindSafe for Pool<'a, 'v, 's, S>
impl<'a, 'v, 's, S> Unpin for Pool<'a, 'v, 's, S>
impl<'a, 'v, 's, S> UnsafeUnpin for Pool<'a, 'v, 's, S>where
&'a Content<'v, 's, S>: UnsafeUnpin,
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