pub struct DefinitionPreview {
pub container: SymbolRef,
pub declaration: Match,
pub source: File,
pub selection: Span,
pub identifiers: Vec<SourceAnchor>,
}Fields§
§container: SymbolRef§declaration: Match§source: FileComplete captured file. All spans remain absolute UTF-8 byte ranges.
selection: Span§identifiers: Vec<SourceAnchor>Trait Implementations§
Source§impl Clone for DefinitionPreview
impl Clone for DefinitionPreview
Source§impl Debug for DefinitionPreview
impl Debug for DefinitionPreview
Source§impl<'de> Deserialize<'de> for DefinitionPreview
impl<'de> Deserialize<'de> for DefinitionPreview
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DefinitionPreview
Source§impl PartialEq for DefinitionPreview
impl PartialEq for DefinitionPreview
Source§impl Serialize for DefinitionPreview
impl Serialize for DefinitionPreview
impl StructuralPartialEq for DefinitionPreview
Auto Trait Implementations§
impl Freeze for DefinitionPreview
impl RefUnwindSafe for DefinitionPreview
impl Send for DefinitionPreview
impl Sync for DefinitionPreview
impl Unpin for DefinitionPreview
impl UnsafeUnpin for DefinitionPreview
impl UnwindSafe for DefinitionPreview
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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