pub struct RepositorySourceFile<'a> {
pub repo_id: &'a RepoId,
pub path: &'a str,
pub observations: &'a [SourceObservation],
}Expand description
Source observations of one repository-relative file, as input to repository-level composition.
Fields§
§repo_id: &'a RepoIdRepository owning the file.
path: &'a strPortable repository-relative path.
observations: &'a [SourceObservation]Extracted observations of the file.
Trait Implementations§
Source§impl<'a> Clone for RepositorySourceFile<'a>
impl<'a> Clone for RepositorySourceFile<'a>
impl<'a> Copy for RepositorySourceFile<'a>
Auto Trait Implementations§
impl<'a> Freeze for RepositorySourceFile<'a>
impl<'a> RefUnwindSafe for RepositorySourceFile<'a>
impl<'a> Send for RepositorySourceFile<'a>
impl<'a> Sync for RepositorySourceFile<'a>
impl<'a> Unpin for RepositorySourceFile<'a>
impl<'a> UnsafeUnpin for RepositorySourceFile<'a>
impl<'a> UnwindSafe for RepositorySourceFile<'a>
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