pub struct SetConstraints { /* private fields */ }
Implementations§
Source§impl SetConstraints
impl SetConstraints
pub fn constraints_token(&self) -> Option<SyntaxToken>
pub fn set_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for SetConstraints
impl AstNode for SetConstraints
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 SetConstraints
impl Clone for SetConstraints
Source§fn clone(&self) -> SetConstraints
fn clone(&self) -> SetConstraints
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 SetConstraints
impl Debug for SetConstraints
Source§impl From<SetConstraints> for Stmt
impl From<SetConstraints> for Stmt
Source§fn from(node: SetConstraints) -> Stmt
fn from(node: SetConstraints) -> Stmt
Converts to this type from the input type.
Source§impl Hash for SetConstraints
impl Hash for SetConstraints
Source§impl PartialEq for SetConstraints
impl PartialEq for SetConstraints
impl Eq for SetConstraints
impl StructuralPartialEq for SetConstraints
Auto Trait Implementations§
impl Freeze for SetConstraints
impl !RefUnwindSafe for SetConstraints
impl !Send for SetConstraints
impl !Sync for SetConstraints
impl Unpin for SetConstraints
impl !UnwindSafe for SetConstraints
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