pub enum SetItem {
Star(Expression),
Unique(Expression),
}
Expand description
*foo
or foo
, as in a list/set comprehension or a generator expression.
Variants§
Star(Expression)
Unique(Expression)
Trait Implementations§
impl StructuralPartialEq for SetItem
Auto Trait Implementations§
impl Freeze for SetItem
impl RefUnwindSafe for SetItem
impl Send for SetItem
impl Sync for SetItem
impl Unpin for SetItem
impl UnwindSafe for SetItem
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