pub enum SourceRow {
Notebook {
cell: OneIndexed,
line: OneIndexed,
},
SourceFile {
line: OneIndexed,
},
}Variants§
Notebook
A row within a cell in a Jupyter Notebook.
SourceFile
A row within a source file.
Fields
§
line: OneIndexedTrait Implementations§
Source§impl Ord for SourceRow
impl Ord for SourceRow
Source§impl PartialOrd for SourceRow
impl PartialOrd for SourceRow
impl Eq for SourceRow
impl StructuralPartialEq for SourceRow
Auto Trait Implementations§
impl Freeze for SourceRow
impl RefUnwindSafe for SourceRow
impl Send for SourceRow
impl Sync for SourceRow
impl Unpin for SourceRow
impl UnsafeUnpin for SourceRow
impl UnwindSafe for SourceRow
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