pub struct With<'a> {
pub items: Vec<WithItem<'a>>,
pub body: Suite<'a>,
pub asynchronous: Option<Asynchronous<'a>>,
pub leading_lines: Vec<EmptyLine<'a>>,
pub lpar: Option<LeftParen<'a>>,
pub rpar: Option<RightParen<'a>>,
pub whitespace_after_with: SimpleWhitespace<'a>,
pub whitespace_before_colon: SimpleWhitespace<'a>,
}
Fields§
§items: Vec<WithItem<'a>>
§body: Suite<'a>
§asynchronous: Option<Asynchronous<'a>>
§leading_lines: Vec<EmptyLine<'a>>
§lpar: Option<LeftParen<'a>>
§rpar: Option<RightParen<'a>>
§whitespace_after_with: SimpleWhitespace<'a>
§whitespace_before_colon: SimpleWhitespace<'a>
Trait Implementations§
impl<'a> Eq for With<'a>
impl<'a> StructuralPartialEq for With<'a>
Auto Trait Implementations§
impl<'a> Freeze for With<'a>
impl<'a> RefUnwindSafe for With<'a>
impl<'a> Send for With<'a>
impl<'a> Sync for With<'a>
impl<'a> Unpin for With<'a>
impl<'a> UnwindSafe for With<'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