pub struct Origin {
pub file: String,
pub pos: Pos,
}Expand description
Where an attribute was written, for a problem found only once the design is laid out and painted. It is never part of what a node draws: two nodes that differ only in it are equal, and it doesn’t travel on the wire.
Fields§
§file: StringThe design file it was written in, by its path from the top of the served folder.
pos: PosWhere in that file it was written.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Origin
impl Freeze for Origin
impl Move for Origin
impl RefUnwindSafe for Origin
impl Send for Originwhere
RawVecInner: Send,
impl Sync for Originwhere
RawVecInner: Sync,
impl Unpin for Origin
impl UnsafeUnpin for Origin
impl UnwindSafe for Originwhere
RawVecInner: 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