pub struct Located {
pub node: String,
pub span: Option<ByteSpan>,
}Expand description
Which node a refusal points at, and where inside its file. A graph holds no source text, so a byte span is as far as the engine can place a subterm.
Fields§
§node: String§span: Option<ByteSpan>Implementations§
Trait Implementations§
impl Eq for Located
impl StructuralPartialEq for Located
Auto Trait Implementations§
impl Freeze for Located
impl RefUnwindSafe for Located
impl Send for Located
impl Sync for Located
impl Unpin for Located
impl UnsafeUnpin for Located
impl UnwindSafe for Located
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