Struct ra_syntax::ast::DynTraitType
source · pub struct DynTraitType<'a> { /* private fields */ }
Trait Implementations
sourceimpl<'a> AstNode<'a> for DynTraitType<'a>
impl<'a> AstNode<'a> for DynTraitType<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> Clone for DynTraitType<'a>
impl<'a> Clone for DynTraitType<'a>
sourcefn clone(&self) -> DynTraitType<'a>
fn clone(&self) -> DynTraitType<'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 DynTraitType<'a>
impl<'a> Debug for DynTraitType<'a>
sourceimpl<'a> From<DynTraitType<'a>> for DynTraitTypeNode
impl<'a> From<DynTraitType<'a>> for DynTraitTypeNode
sourcefn from(ast: DynTraitType<'a>) -> DynTraitTypeNode
fn from(ast: DynTraitType<'a>) -> DynTraitTypeNode
Converts to this type from the input type.
impl<'a> Copy for DynTraitType<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DynTraitType<'a>
impl<'a> Send for DynTraitType<'a>
impl<'a> Sync for DynTraitType<'a>
impl<'a> Unpin for DynTraitType<'a>
impl<'a> !UnwindSafe for DynTraitType<'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