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