pub struct LangConfig {
pub use_spaces: bool,
pub space_size: usize,
pub newlines_at_end: usize,
}
Fields§
§use_spaces: bool
§space_size: usize
§newlines_at_end: usize
Implementations§
Source§impl LangConfig
impl LangConfig
pub fn new(input_path: &PathBuf) -> LangConfig
Trait Implementations§
Source§impl Debug for LangConfig
impl Debug for LangConfig
Source§impl Default for LangConfig
impl Default for LangConfig
Source§impl<'de> Deserialize<'de> for LangConfig
impl<'de> Deserialize<'de> for LangConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LangConfig
impl RefUnwindSafe for LangConfig
impl Send for LangConfig
impl Sync for LangConfig
impl Unpin for LangConfig
impl UnwindSafe for LangConfig
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