pub struct ParenthesizedWhitespace<'a> {
pub first_line: TrailingWhitespace<'a>,
pub empty_lines: Vec<EmptyLine<'a>>,
pub indent: bool,
pub last_line: SimpleWhitespace<'a>,
}
Fields§
§first_line: TrailingWhitespace<'a>
§empty_lines: Vec<EmptyLine<'a>>
§indent: bool
§last_line: SimpleWhitespace<'a>
Trait Implementations§
Source§impl<'a> Clone for ParenthesizedWhitespace<'a>
impl<'a> Clone for ParenthesizedWhitespace<'a>
Source§fn clone(&self) -> ParenthesizedWhitespace<'a>
fn clone(&self) -> ParenthesizedWhitespace<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Codegen<'a> for ParenthesizedWhitespace<'a>
impl<'a> Codegen<'a> for ParenthesizedWhitespace<'a>
fn codegen(&self, state: &mut CodegenState<'a>)
Source§impl<'a> Debug for ParenthesizedWhitespace<'a>
impl<'a> Debug for ParenthesizedWhitespace<'a>
Source§impl<'a> Default for ParenthesizedWhitespace<'a>
impl<'a> Default for ParenthesizedWhitespace<'a>
Source§fn default() -> ParenthesizedWhitespace<'a>
fn default() -> ParenthesizedWhitespace<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for ParenthesizedWhitespace<'a>
impl<'a> PartialEq for ParenthesizedWhitespace<'a>
impl<'a> Eq for ParenthesizedWhitespace<'a>
impl<'a> StructuralPartialEq for ParenthesizedWhitespace<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParenthesizedWhitespace<'a>
impl<'a> RefUnwindSafe for ParenthesizedWhitespace<'a>
impl<'a> Send for ParenthesizedWhitespace<'a>
impl<'a> Sync for ParenthesizedWhitespace<'a>
impl<'a> Unpin for ParenthesizedWhitespace<'a>
impl<'a> UnwindSafe for ParenthesizedWhitespace<'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