Struct tree_sitter_graph::ast::ListComprehension
source · [−]pub struct ListComprehension {
pub elements: Vec<Expression>,
}Expand description
An ordered list of values
Fields
elements: Vec<Expression>Trait Implementations
sourceimpl Debug for ListComprehension
impl Debug for ListComprehension
sourceimpl Display for ListComprehension
impl Display for ListComprehension
sourceimpl From<ListComprehension> for Expression
impl From<ListComprehension> for Expression
sourcefn from(expr: ListComprehension) -> Expression
fn from(expr: ListComprehension) -> Expression
Performs the conversion.
sourceimpl PartialEq<ListComprehension> for ListComprehension
impl PartialEq<ListComprehension> for ListComprehension
sourcefn eq(&self, other: &ListComprehension) -> bool
fn eq(&self, other: &ListComprehension) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ListComprehension) -> bool
fn ne(&self, other: &ListComprehension) -> bool
This method tests for !=.
impl Eq for ListComprehension
impl StructuralEq for ListComprehension
impl StructuralPartialEq for ListComprehension
Auto Trait Implementations
impl RefUnwindSafe for ListComprehension
impl !Send for ListComprehension
impl !Sync for ListComprehension
impl Unpin for ListComprehension
impl UnwindSafe for ListComprehension
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more