pub struct SourceFile {
pub path: String,
pub package: usize,
pub kind: FileKind,
}Fields§
§path: StringPath relative to the root, /-separated.
package: usize§kind: FileKindTrait Implementations§
Source§impl Clone for SourceFile
impl Clone for SourceFile
Auto Trait Implementations§
impl Forget for SourceFile
impl Freeze for SourceFile
impl Move for SourceFile
impl RefUnwindSafe for SourceFile
impl Send for SourceFilewhere
RawVecInner: Send,
impl Sync for SourceFilewhere
RawVecInner: Sync,
impl Unpin for SourceFile
impl UnsafeUnpin for SourceFile
impl UnwindSafe for SourceFilewhere
RawVecInner: UnwindSafe,
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