pub struct RubyFileScan<'a> {
pub index: &'a dyn CodeUnitIndex,
pub semantic: &'a RubySemanticIndex<'a>,
pub support: &'a dyn BoundedDefinitionLookup,
pub file: &'a ProjectFile,
pub source: &'a str,
pub line_starts: &'a [usize],
pub visible_files: HashSet<ProjectFile>,
pub spec: &'a RubyTargetSpec,
pub hits: &'a mut BTreeSet<UsageHit>,
pub unproven_hits: &'a mut BTreeSet<UsageHit>,
}Fields§
§index: &'a dyn CodeUnitIndex§semantic: &'a RubySemanticIndex<'a>§support: &'a dyn BoundedDefinitionLookup§file: &'a ProjectFile§source: &'a str§line_starts: &'a [usize]§visible_files: HashSet<ProjectFile>§spec: &'a RubyTargetSpec§hits: &'a mut BTreeSet<UsageHit>§unproven_hits: &'a mut BTreeSet<UsageHit>Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RubyFileScan<'a>
impl<'a> !Send for RubyFileScan<'a>
impl<'a> !Sync for RubyFileScan<'a>
impl<'a> !UnwindSafe for RubyFileScan<'a>
impl<'a> Freeze for RubyFileScan<'a>
impl<'a> Unpin for RubyFileScan<'a>
impl<'a> UnsafeUnpin for RubyFileScan<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more