pub struct ListComprehension {
pub variable: Name,
pub list: Box<Expr>,
pub predicate: Option<Box<Expr>>,
pub projection: Option<Box<Expr>>,
}Expand description
A list comprehension.
Fields§
§variable: Name§list: Box<Expr>§predicate: Option<Box<Expr>>§projection: Option<Box<Expr>>Trait Implementations§
Source§impl Clone for ListComprehension
impl Clone for ListComprehension
Source§impl Debug for ListComprehension
impl Debug for ListComprehension
Source§impl<'de> Deserialize<'de> for ListComprehension
impl<'de> Deserialize<'de> for ListComprehension
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ListComprehension
Source§impl Hash for ListComprehension
impl Hash for ListComprehension
Source§impl PartialEq for ListComprehension
impl PartialEq for ListComprehension
Source§impl Serialize for ListComprehension
impl Serialize for ListComprehension
impl StructuralPartialEq for ListComprehension
Auto Trait Implementations§
impl Freeze for ListComprehension
impl RefUnwindSafe for ListComprehension
impl Send for ListComprehension
impl Sync for ListComprehension
impl Unpin for ListComprehension
impl UnsafeUnpin for ListComprehension
impl UnwindSafe for ListComprehension
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