pub struct SourceLocation {
pub name: &'static str,
pub file: &'static str,
pub line: u32,
pub manifest_dir: &'static str,
}Expand description
A composable definition active when a layout node was emitted.
Fields§
§name: &'static strComposable function name.
file: &'static strSource file reported by the compiler.
line: u32One-based declaration line.
manifest_dir: &'static strPackage directory reported by the compiler.
Trait Implementations§
Source§impl Clone for SourceLocation
impl Clone for SourceLocation
impl Copy for SourceLocation
Source§impl Debug for SourceLocation
impl Debug for SourceLocation
impl Eq for SourceLocation
Source§impl PartialEq for SourceLocation
impl PartialEq for SourceLocation
impl StructuralPartialEq for SourceLocation
Auto Trait Implementations§
impl Freeze for SourceLocation
impl RefUnwindSafe for SourceLocation
impl Send for SourceLocation
impl Sync for SourceLocation
impl Unpin for SourceLocation
impl UnsafeUnpin for SourceLocation
impl UnwindSafe for SourceLocation
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