Struct ra_syntax::ast::PrefixExpr
source · pub struct PrefixExpr<'a> { /* private fields */ }
Trait Implementations
sourceimpl<'a> AstNode<'a> for PrefixExpr<'a>
impl<'a> AstNode<'a> for PrefixExpr<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> Clone for PrefixExpr<'a>
impl<'a> Clone for PrefixExpr<'a>
sourcefn clone(&self) -> PrefixExpr<'a>
fn clone(&self) -> PrefixExpr<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for PrefixExpr<'a>
impl<'a> Debug for PrefixExpr<'a>
sourceimpl<'a> From<PrefixExpr<'a>> for PrefixExprNode
impl<'a> From<PrefixExpr<'a>> for PrefixExprNode
sourcefn from(ast: PrefixExpr<'a>) -> PrefixExprNode
fn from(ast: PrefixExpr<'a>) -> PrefixExprNode
Converts to this type from the input type.
impl<'a> Copy for PrefixExpr<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PrefixExpr<'a>
impl<'a> Send for PrefixExpr<'a>
impl<'a> Sync for PrefixExpr<'a>
impl<'a> Unpin for PrefixExpr<'a>
impl<'a> !UnwindSafe for PrefixExpr<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more