pub struct NullConstraint { /* private fields */ }
Implementations§
Source§impl NullConstraint
impl NullConstraint
pub fn name_ref(&self) -> Option<NameRef>
pub fn constraint_token(&self) -> Option<SyntaxToken>
pub fn null_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for NullConstraint
impl AstNode for NullConstraint
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for NullConstraint
impl Clone for NullConstraint
Source§fn clone(&self) -> NullConstraint
fn clone(&self) -> NullConstraint
Returns a duplicate of the value. Read more
1.0.0 · 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 NullConstraint
impl Debug for NullConstraint
Source§impl From<NullConstraint> for Constraint
impl From<NullConstraint> for Constraint
Source§fn from(node: NullConstraint) -> Constraint
fn from(node: NullConstraint) -> Constraint
Converts to this type from the input type.
Source§impl Hash for NullConstraint
impl Hash for NullConstraint
Source§impl PartialEq for NullConstraint
impl PartialEq for NullConstraint
impl Eq for NullConstraint
impl StructuralPartialEq for NullConstraint
Auto Trait Implementations§
impl Freeze for NullConstraint
impl !RefUnwindSafe for NullConstraint
impl !Send for NullConstraint
impl !Sync for NullConstraint
impl Unpin for NullConstraint
impl !UnwindSafe for NullConstraint
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