pub struct SourceMapEntry {
pub node: NodeId,
pub range: SourceRange,
}Expand description
An enclosing construct span of a node, such as a macro call around it.
Fields§
§node: NodeIdThe node.
range: SourceRangeThe enclosing span.
Trait Implementations§
Source§impl Clone for SourceMapEntry
impl Clone for SourceMapEntry
impl Copy for SourceMapEntry
Source§impl Debug for SourceMapEntry
impl Debug for SourceMapEntry
impl Eq for SourceMapEntry
Source§impl PartialEq for SourceMapEntry
impl PartialEq for SourceMapEntry
impl StructuralPartialEq for SourceMapEntry
Auto Trait Implementations§
impl Freeze for SourceMapEntry
impl RefUnwindSafe for SourceMapEntry
impl Send for SourceMapEntry
impl Sync for SourceMapEntry
impl Unpin for SourceMapEntry
impl UnsafeUnpin for SourceMapEntry
impl UnwindSafe for SourceMapEntry
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