pub struct UnifiedPath {
pub file_path: String,
pub symbol_path: Vec<String>,
pub is_directory: bool,
}Expand description
Result of resolving a unified path like src/main.py/Foo/bar
Fields§
§file_path: StringThe file path portion (e.g., “src/main.py”)
symbol_path: Vec<String>The symbol path within the file (e.g., “Foo/bar”), empty if pointing to file itself
is_directory: boolWhether the path resolved to a directory (no symbol path possible)
Trait Implementations§
Source§impl Clone for UnifiedPath
impl Clone for UnifiedPath
Source§fn clone(&self) -> UnifiedPath
fn clone(&self) -> UnifiedPath
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UnifiedPath
impl RefUnwindSafe for UnifiedPath
impl Send for UnifiedPath
impl Sync for UnifiedPath
impl Unpin for UnifiedPath
impl UnsafeUnpin for UnifiedPath
impl UnwindSafe for UnifiedPath
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