pub enum TextBlockResult {
Ok {
lines: Vec<String>,
offset: usize,
},
Err {
lines: Vec<String>,
offset: usize,
},
}Expand description
A enumeration of the different ways the function Parser::read_text_block could succeed or fail.
Variants§
Auto Trait Implementations§
impl Freeze for TextBlockResult
impl RefUnwindSafe for TextBlockResult
impl Send for TextBlockResult
impl Sync for TextBlockResult
impl Unpin for TextBlockResult
impl UnwindSafe for TextBlockResult
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