pub struct ExceptStarHandler<'a> {
pub body: Suite<'a>,
pub type: Expression<'a>,
pub name: Option<AsName<'a>>,
pub leading_lines: Vec<EmptyLine<'a>>,
pub whitespace_after_except: SimpleWhitespace<'a>,
pub whitespace_after_star: SimpleWhitespace<'a>,
pub whitespace_before_colon: SimpleWhitespace<'a>,
}
Fields§
§body: Suite<'a>
§type: Expression<'a>
§name: Option<AsName<'a>>
§leading_lines: Vec<EmptyLine<'a>>
§whitespace_after_except: SimpleWhitespace<'a>
§whitespace_after_star: SimpleWhitespace<'a>
§whitespace_before_colon: SimpleWhitespace<'a>
Trait Implementations§
Source§impl<'a> Clone for ExceptStarHandler<'a>
impl<'a> Clone for ExceptStarHandler<'a>
Source§fn clone(&self) -> ExceptStarHandler<'a>
fn clone(&self) -> ExceptStarHandler<'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 ExceptStarHandler<'a>
impl<'a> Codegen<'a> for ExceptStarHandler<'a>
fn codegen(&self, state: &mut CodegenState<'a>)
Source§impl<'a> Debug for ExceptStarHandler<'a>
impl<'a> Debug for ExceptStarHandler<'a>
Source§impl<'a> PartialEq for ExceptStarHandler<'a>
impl<'a> PartialEq for ExceptStarHandler<'a>
impl<'a> Eq for ExceptStarHandler<'a>
impl<'a> StructuralPartialEq for ExceptStarHandler<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExceptStarHandler<'a>
impl<'a> RefUnwindSafe for ExceptStarHandler<'a>
impl<'a> Send for ExceptStarHandler<'a>
impl<'a> Sync for ExceptStarHandler<'a>
impl<'a> Unpin for ExceptStarHandler<'a>
impl<'a> UnwindSafe for ExceptStarHandler<'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