pub enum Target {
Symbol {
path: String,
symbol: String,
},
Line {
path: String,
line: u32,
end: u32,
},
File {
path: String,
},
}Expand description
Where a figure’s node or a stop’s anchor points. We resolve it at draw time so it follows the code after an edit.
Variants§
Symbol
path#symbol, resolved through the file’s definition spans.
Line
path:line or path:start-end, 1-based and inclusive.
File
Implementations§
Trait Implementations§
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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