pub struct PatternComprehension { /* private fields */ }Implementations§
Source§impl PatternComprehension
impl PatternComprehension
pub fn cast(syntax: SyntaxNode) -> Option<Self>
pub fn syntax(&self) -> &SyntaxNode
pub fn where_clause(&self) -> Option<WhereClause>
pub fn projection(&self) -> Option<Expr>
Trait Implementations§
Source§impl Clone for PatternComprehension
impl Clone for PatternComprehension
Source§fn clone(&self) -> PatternComprehension
fn clone(&self) -> PatternComprehension
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 Debug for PatternComprehension
impl Debug for PatternComprehension
Source§impl Hash for PatternComprehension
impl Hash for PatternComprehension
Source§impl PartialEq for PatternComprehension
impl PartialEq for PatternComprehension
Source§fn eq(&self, other: &PatternComprehension) -> bool
fn eq(&self, other: &PatternComprehension) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PatternComprehension
impl StructuralPartialEq for PatternComprehension
Auto Trait Implementations§
impl Freeze for PatternComprehension
impl !RefUnwindSafe for PatternComprehension
impl !Send for PatternComprehension
impl !Sync for PatternComprehension
impl Unpin for PatternComprehension
impl UnsafeUnpin for PatternComprehension
impl !UnwindSafe for PatternComprehension
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