pub struct IdentifierPath {
pub id: i64,
pub name: String,
pub name_locations: Vec<String>,
pub node_type: IdentifierPathNodeType,
pub referenced_declaration: i64,
pub src: SourceLocation,
}
Expand description
IdentifierPath
JSON schema
{
"type": "object",
"required": [
"id",
"name",
"nodeType",
"referencedDeclaration",
"src"
],
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"nameLocations": {
"type": "array",
"items": {
"type": "string"
}
},
"nodeType": {
"enum": [
"IdentifierPath"
]
},
"referencedDeclaration": {
"type": "integer"
},
"src": {
"$ref": "#/definitions/SourceLocation"
}
},
"additionalProperties": false
}
Fields§
§id: i64
§name: String
§name_locations: Vec<String>
§node_type: IdentifierPathNodeType
§referenced_declaration: i64
§src: SourceLocation
Trait Implementations§
Source§impl Clone for IdentifierPath
impl Clone for IdentifierPath
Source§fn clone(&self) -> IdentifierPath
fn clone(&self) -> IdentifierPath
Returns a copy 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 IdentifierPath
impl Debug for IdentifierPath
Source§impl<'de> Deserialize<'de> for IdentifierPath
impl<'de> Deserialize<'de> for IdentifierPath
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
Source§impl From<&IdentifierPath> for IdentifierPath
impl From<&IdentifierPath> for IdentifierPath
Source§fn from(value: &IdentifierPath) -> Self
fn from(value: &IdentifierPath) -> Self
Converts to this type from the input type.
Source§impl From<IdentifierPath> for InheritanceSpecifierBaseName
impl From<IdentifierPath> for InheritanceSpecifierBaseName
Source§fn from(value: IdentifierPath) -> Self
fn from(value: IdentifierPath) -> Self
Converts to this type from the input type.
Source§impl From<IdentifierPath> for ModifierInvocationModifierName
impl From<IdentifierPath> for ModifierInvocationModifierName
Source§fn from(value: IdentifierPath) -> Self
fn from(value: IdentifierPath) -> Self
Converts to this type from the input type.
Source§impl From<IdentifierPath> for UsingForDirectiveLibraryName
impl From<IdentifierPath> for UsingForDirectiveLibraryName
Source§fn from(value: IdentifierPath) -> Self
fn from(value: IdentifierPath) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IdentifierPath
impl RefUnwindSafe for IdentifierPath
impl Send for IdentifierPath
impl Sync for IdentifierPath
impl Unpin for IdentifierPath
impl UnwindSafe for IdentifierPath
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