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 SourceFile
impl Sync for SourceFile
impl Unpin for SourceFile
impl UnsafeUnpin for SourceFile
impl UnwindSafe for SourceFile
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