pub struct Restrict { /* private fields */ }
Implementations§
Source§impl Restrict
impl Restrict
pub fn restrict_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for Restrict
impl AstNode for Restrict
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,
impl Eq for Restrict
impl StructuralPartialEq for Restrict
Auto Trait Implementations§
impl Freeze for Restrict
impl !RefUnwindSafe for Restrict
impl !Send for Restrict
impl !Sync for Restrict
impl Unpin for Restrict
impl !UnwindSafe for Restrict
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