pub struct CompileSource {
pub source_id: SourceId,
pub span: Span,
pub path: Option<PathBuf>,
}Expand description
Information on a compile sourc.
Fields§
§source_id: SourceIdThe source id where the compile meta is defined.
span: SpanThe span where the meta is declared.
path: Option<PathBuf>The optional source id where the meta is declared.
Trait Implementations§
Source§impl Clone for CompileSource
impl Clone for CompileSource
Source§fn clone(&self) -> CompileSource
fn clone(&self) -> CompileSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompileSource
impl RefUnwindSafe for CompileSource
impl Send for CompileSource
impl Sync for CompileSource
impl Unpin for CompileSource
impl UnwindSafe for CompileSource
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