pub struct SourceFile {
pub name: PathBuf,
pub text: String,
/* private fields */
}Expand description
One loaded source file.
Fields§
§name: PathBuf§text: StringImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SourceFile
impl !RefUnwindSafe for SourceFile
impl !Sync for SourceFile
impl Forget for SourceFile
impl Move for SourceFile
impl Send 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