pub struct Config<'a> {
pub input: &'a str,
pub lines: Vec<&'a str>,
pub default_newline: &'a str,
pub default_indent: &'a str,
}
Fields§
§input: &'a str
§lines: Vec<&'a str>
§default_newline: &'a str
§default_indent: &'a str
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Config<'a>
impl<'a> RefUnwindSafe for Config<'a>
impl<'a> Send for Config<'a>
impl<'a> Sync for Config<'a>
impl<'a> Unpin for Config<'a>
impl<'a> UnwindSafe for Config<'a>
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