pub struct PicSpan {
pub file: Option<String>,
pub line: u32,
pub col: u32,
pub end_col: u32,
}Expand description
A position in the figure source (1-based line/column, end exclusive).
Fields§
§file: Option<String>None = the user’s figure; Some("spice.pic") = the prelude;
Some("circuits") = rpic’s std library.
line: u32§col: u32§end_col: u32Trait Implementations§
impl Eq for PicSpan
impl StructuralPartialEq for PicSpan
Auto Trait Implementations§
impl Forget for PicSpan
impl Freeze for PicSpan
impl Move for PicSpan
impl RefUnwindSafe for PicSpan
impl Send for PicSpan
impl Sync for PicSpan
impl Unpin for PicSpan
impl UnsafeUnpin for PicSpan
impl UnwindSafe for PicSpan
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