pub struct SemanticInfo {
pub symbols: Vec<Symbol>,
pub imports: Vec<String>,
pub definitions: Vec<Definition>,
pub references: Vec<Reference>,
}Expand description
Semantic information about code
Fields§
§symbols: Vec<Symbol>Symbols in the code
imports: Vec<String>Imports in the code
definitions: Vec<Definition>Definitions in the code
references: Vec<Reference>References in the code
Implementations§
Source§impl SemanticInfo
impl SemanticInfo
Trait Implementations§
Source§impl Clone for SemanticInfo
impl Clone for SemanticInfo
Source§fn clone(&self) -> SemanticInfo
fn clone(&self) -> SemanticInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SemanticInfo
impl Debug for SemanticInfo
Source§impl Default for SemanticInfo
impl Default for SemanticInfo
Source§impl<'de> Deserialize<'de> for SemanticInfo
impl<'de> Deserialize<'de> for SemanticInfo
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
Auto Trait Implementations§
impl Freeze for SemanticInfo
impl RefUnwindSafe for SemanticInfo
impl Send for SemanticInfo
impl Sync for SemanticInfo
impl Unpin for SemanticInfo
impl UnwindSafe for SemanticInfo
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