pub struct LocalLinkage { /* private fields */ }Implementations§
Source§impl LocalLinkage
impl LocalLinkage
pub fn new(cache: LocalResourceCache) -> Self
pub fn refresh_linkage_with_timings( &mut self, previous: &LinkageSnapshot, code_index: &CodeIndex, refresh_impact: LinkageRefreshImpact, ) -> WorkspaceResult<TimedLinkageRefresh>
pub fn resolve_linkage_with_timings( &mut self, index: &CodeIndex, ) -> WorkspaceResult<TimedLinkageSnapshot>
Trait Implementations§
Source§impl LinkagePort for LocalLinkage
impl LinkagePort for LocalLinkage
fn resolve_linkage( &mut self, index: &CodeIndex, ) -> WorkspaceResult<LinkageSnapshot>
fn refresh_linkage( &mut self, snapshot: &LinkageSnapshot, indexed: &CodeIndex, change: LinkageRefreshImpact, ) -> WorkspaceResult<LinkageSnapshot>
Auto Trait Implementations§
impl Freeze for LocalLinkage
impl RefUnwindSafe for LocalLinkage
impl Send for LocalLinkage
impl Sync for LocalLinkage
impl Unpin for LocalLinkage
impl UnsafeUnpin for LocalLinkage
impl UnwindSafe for LocalLinkage
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> 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