Skip to main content

Pool

Struct Pool 

Source
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>

Source

pub fn member(&self) -> MemberId<S::Document, S::Generation>

Actual original complete material source.

Source

pub fn findings(&self) -> &[Finding]

All malformed/open original source choices, never a successful subset.

Source

pub fn properties(&self) -> impl Iterator<Item = (usize, &Properties<'a>)>

Existing attribute inspections retain every readable syntax/open finding.

Source

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>
where &'a Content<'v, 's, S>: Unpin,

§

impl<'a, 'v, 's, S> UnsafeUnpin for Pool<'a, 'v, 's, S>
where &'a Content<'v, 's, S>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.