pub enum EndOfLineOrNumber {
EndOfLine,
Number(i32),
}
Variants
EndOfLine
Number(i32)
Implementations
sourceimpl EndOfLineOrNumber
impl EndOfLineOrNumber
pub fn unwrap_number_or(self, eol: i32) -> i32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EndOfLineOrNumber
impl Send for EndOfLineOrNumber
impl Sync for EndOfLineOrNumber
impl Unpin for EndOfLineOrNumber
impl UnwindSafe for EndOfLineOrNumber
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more