pub enum ParenthesizableWhitespace<'a> {
SimpleWhitespace(SimpleWhitespace<'a>),
ParenthesizedWhitespace(ParenthesizedWhitespace<'a>),
}Variants§
SimpleWhitespace(SimpleWhitespace<'a>)
ParenthesizedWhitespace(ParenthesizedWhitespace<'a>)
Trait Implementations§
Source§impl<'a> Clone for ParenthesizableWhitespace<'a>
impl<'a> Clone for ParenthesizableWhitespace<'a>
Source§fn clone(&self) -> ParenthesizableWhitespace<'a>
fn clone(&self) -> ParenthesizableWhitespace<'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 ParenthesizableWhitespace<'a>
impl<'a> Codegen<'a> for ParenthesizableWhitespace<'a>
fn codegen(&self, state: &mut CodegenState<'a>)
Source§impl<'a> Debug for ParenthesizableWhitespace<'a>
impl<'a> Debug for ParenthesizableWhitespace<'a>
Source§impl<'a> Default for ParenthesizableWhitespace<'a>
impl<'a> Default for ParenthesizableWhitespace<'a>
Source§impl<'a> PartialEq for ParenthesizableWhitespace<'a>
impl<'a> PartialEq for ParenthesizableWhitespace<'a>
Source§fn eq(&self, other: &ParenthesizableWhitespace<'a>) -> bool
fn eq(&self, other: &ParenthesizableWhitespace<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Eq for ParenthesizableWhitespace<'a>
impl<'a> StructuralPartialEq for ParenthesizableWhitespace<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParenthesizableWhitespace<'a>
impl<'a> RefUnwindSafe for ParenthesizableWhitespace<'a>
impl<'a> Send for ParenthesizableWhitespace<'a>
impl<'a> Sync for ParenthesizableWhitespace<'a>
impl<'a> Unpin for ParenthesizableWhitespace<'a>
impl<'a> UnwindSafe for ParenthesizableWhitespace<'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