pub struct Source {
pub file: PathBuf,
pub start: Position,
pub end: Position,
pub repository: Option<String>,
}Expand description
Metadata about the source of an Entity
Fields§
§file: PathBuf§start: PositionStart position in the source file
end: PositionEnd position in the source file
repository: Option<String>Optional: Git repository URL for the file
Trait Implementations§
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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