pub struct WithNoData { /* private fields */ }
Implementations§
Source§impl WithNoData
impl WithNoData
pub fn data_token(&self) -> Option<SyntaxToken>
pub fn no_token(&self) -> Option<SyntaxToken>
pub fn with_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for WithNoData
impl AstNode for WithNoData
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 WithNoData
impl Clone for WithNoData
Source§fn clone(&self) -> WithNoData
fn clone(&self) -> WithNoData
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 WithNoData
impl Debug for WithNoData
Source§impl Hash for WithNoData
impl Hash for WithNoData
Source§impl PartialEq for WithNoData
impl PartialEq for WithNoData
impl Eq for WithNoData
impl StructuralPartialEq for WithNoData
Auto Trait Implementations§
impl Freeze for WithNoData
impl !RefUnwindSafe for WithNoData
impl !Send for WithNoData
impl !Sync for WithNoData
impl Unpin for WithNoData
impl !UnwindSafe for WithNoData
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