pub struct InspectResult {
pub file_path: String,
pub node_type: String,
pub identifier: String,
pub location: NodeLocation,
pub snippet: String,
pub preceding_comment: Option<String>,
}Expand description
Result of inspecting/listing AST nodes
Fields§
§file_path: String§node_type: String§identifier: String§location: NodeLocation§snippet: String§preceding_comment: Option<String>Trait Implementations§
Source§impl Debug for InspectResult
impl Debug for InspectResult
Source§impl<'de> Deserialize<'de> for InspectResult
impl<'de> Deserialize<'de> for InspectResult
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 InspectResult
impl RefUnwindSafe for InspectResult
impl Send for InspectResult
impl Sync for InspectResult
impl Unpin for InspectResult
impl UnsafeUnpin for InspectResult
impl UnwindSafe for InspectResult
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