pub struct SourceFile {
pub path: PathBuf,
pub relative: PathBuf,
pub kind: FileKind,
pub instance_path: String,
pub class_name: String,
pub run_context: RunContext,
}Expand description
A source file, mapped onto the project model.
Fields§
§path: PathBuf§relative: PathBuf§kind: FileKind§instance_path: StringInstance path in the sourcemap, such as ServerScriptService/Admin.
class_name: String§run_context: RunContextTrait 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