pub struct Options { /* private fields */ }
Expand description
Options to control encoding and decoding behaviour.
Implementations§
Source§impl Options
impl Options
pub fn default() -> Self
pub fn line_length_limit(self, limit: usize) -> Self
pub fn input_mode(self, mode: InputMode) -> Self
pub fn parse_mode(self, mode: ParseMode) -> Self
Trait Implementations§
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 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