pub struct Options { /* private fields */ }Expand description
Whether the line and/or column should be one-based.
Implementations§
Source§impl Options
impl Options
Sourcepub fn one_based_line(self, value: bool) -> Self
pub fn one_based_line(self, value: bool) -> Self
Make the line one-based.
Sourcepub fn one_based_column(self, value: bool) -> Self
pub fn one_based_column(self, value: bool) -> Self
Make the column one-based.
Trait Implementations§
impl Copy for Options
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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