pub struct Located<T> {
pub value: T,
pub pos: Position,
}Fields§
§value: T§pos: PositionImplementations§
Trait Implementations§
Source§impl Compilable for Located<Atom>
impl Compilable for Located<Atom>
Source§impl Compilable for Located<Block>
impl Compilable for Located<Block>
Source§impl Compilable for Located<Chunk>
impl Compilable for Located<Chunk>
Source§impl Compilable for Located<Expression>
impl Compilable for Located<Expression>
Source§impl Compilable for Located<Path>
impl Compilable for Located<Path>
Source§impl Compilable for Located<Statement>
impl Compilable for Located<Statement>
Auto Trait Implementations§
impl<T> Freeze for Located<T>where
T: Freeze,
impl<T> RefUnwindSafe for Located<T>where
T: RefUnwindSafe,
impl<T> Send for Located<T>where
T: Send,
impl<T> Sync for Located<T>where
T: Sync,
impl<T> Unpin for Located<T>where
T: Unpin,
impl<T> UnwindSafe for Located<T>where
T: UnwindSafe,
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