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