pub struct StarredDictComp<'a> {
pub value: Box<Expression<'a>>,
pub for_in: Box<CompFor<'a>>,
pub lbrace: LeftCurlyBrace<'a>,
pub rbrace: RightCurlyBrace<'a>,
pub lpar: Vec<LeftParen<'a>>,
pub rpar: Vec<RightParen<'a>>,
pub whitespace_before_value: ParenthesizableWhitespace<'a>,
}Fields§
§value: Box<Expression<'a>>§for_in: Box<CompFor<'a>>§lbrace: LeftCurlyBrace<'a>§rbrace: RightCurlyBrace<'a>§lpar: Vec<LeftParen<'a>>§rpar: Vec<RightParen<'a>>§whitespace_before_value: ParenthesizableWhitespace<'a>Trait Implementations§
Source§impl<'a> Clone for StarredDictComp<'a>
impl<'a> Clone for StarredDictComp<'a>
Source§fn clone(&self) -> StarredDictComp<'a>
fn clone(&self) -> StarredDictComp<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StarredDictComp<'a>
impl<'a> Codegen<'a> for StarredDictComp<'a>
fn codegen(&self, state: &mut CodegenState<'a>)
Source§impl<'a> Debug for StarredDictComp<'a>
impl<'a> Debug for StarredDictComp<'a>
impl<'a> Eq for StarredDictComp<'a>
Source§impl<'a> ParenthesizedNode<'a> for StarredDictComp<'a>
impl<'a> ParenthesizedNode<'a> for StarredDictComp<'a>
fn lpar(&self) -> &Vec<LeftParen<'a>>
fn rpar(&self) -> &Vec<RightParen<'a>>
fn with_parens(self, left: LeftParen<'a>, right: RightParen<'a>) -> Self
fn parenthesize<F>(&self, state: &mut CodegenState<'a>, f: F)where
F: FnOnce(&mut CodegenState<'a>),
Source§impl<'a> PartialEq for StarredDictComp<'a>
impl<'a> PartialEq for StarredDictComp<'a>
impl<'a> StructuralPartialEq for StarredDictComp<'a>
Auto Trait Implementations§
impl<'a> Freeze for StarredDictComp<'a>
impl<'a> RefUnwindSafe for StarredDictComp<'a>
impl<'a> Send for StarredDictComp<'a>
impl<'a> Sync for StarredDictComp<'a>
impl<'a> Unpin for StarredDictComp<'a>
impl<'a> UnsafeUnpin for StarredDictComp<'a>
impl<'a> UnwindSafe for StarredDictComp<'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