pub struct WorkspaceView<'a> { /* private fields */ }Implementations§
Source§impl<'a> WorkspaceView<'a>
impl<'a> WorkspaceView<'a>
pub fn new(snapshot: &'a WorkspaceSnapshot) -> Self
pub fn sources(&self) -> SourceView<'a>
pub fn symbols(&self) -> SymbolView<'a>
pub fn references(&self) -> ReferenceView<'a>
pub fn search(&self) -> SearchView<'a>
pub fn changes(&self) -> ChangeView<'a>
pub fn linkage(&self) -> LinkageView<'a>
Auto Trait Implementations§
impl<'a> Freeze for WorkspaceView<'a>
impl<'a> RefUnwindSafe for WorkspaceView<'a>
impl<'a> Send for WorkspaceView<'a>
impl<'a> Sync for WorkspaceView<'a>
impl<'a> Unpin for WorkspaceView<'a>
impl<'a> UnsafeUnpin for WorkspaceView<'a>
impl<'a> UnwindSafe for WorkspaceView<'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
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