pub struct PortableSourceSpan {
pub name: String,
pub start: u32,
pub end: u32,
pub role: u8,
}Fields§
§name: String§start: u32§end: u32§role: u8Provenance role, the IR SourceRole discriminant: 0 primary, 1 macro expansion.
Trait Implementations§
Source§impl Clone for PortableSourceSpan
impl Clone for PortableSourceSpan
Source§impl Debug for PortableSourceSpan
impl Debug for PortableSourceSpan
impl Eq for PortableSourceSpan
Source§impl PartialEq for PortableSourceSpan
impl PartialEq for PortableSourceSpan
impl StructuralPartialEq for PortableSourceSpan
Auto Trait Implementations§
impl Freeze for PortableSourceSpan
impl RefUnwindSafe for PortableSourceSpan
impl Send for PortableSourceSpan
impl Sync for PortableSourceSpan
impl Unpin for PortableSourceSpan
impl UnsafeUnpin for PortableSourceSpan
impl UnwindSafe for PortableSourceSpan
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