pub struct Module<'a> {
pub body: Vec<Statement<'a>>,
pub header: Vec<EmptyLine<'a>>,
pub footer: Vec<EmptyLine<'a>>,
pub default_indent: &'a str,
pub default_newline: &'a str,
pub has_trailing_newline: bool,
pub encoding: String,
}
Fields§
§body: Vec<Statement<'a>>
§header: Vec<EmptyLine<'a>>
§default_indent: &'a str
§default_newline: &'a str
§has_trailing_newline: bool
§encoding: String
Trait Implementations§
impl<'a> Eq for Module<'a>
impl<'a> StructuralPartialEq for Module<'a>
Auto Trait Implementations§
impl<'a> Freeze for Module<'a>
impl<'a> RefUnwindSafe for Module<'a>
impl<'a> Send for Module<'a>
impl<'a> Sync for Module<'a>
impl<'a> Unpin for Module<'a>
impl<'a> UnwindSafe for Module<'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