pub struct TypeGeneric { /* private fields */ }Implementations§
Source§impl TypeGeneric
impl TypeGeneric
Trait Implementations§
Source§impl AstNode for TypeGeneric
impl AstNode for TypeGeneric
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true for a node with a SyntaxKind this type can wrap.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.Source§impl Clone for TypeGeneric
impl Clone for TypeGeneric
Source§fn clone(&self) -> TypeGeneric
fn clone(&self) -> TypeGeneric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TypeGeneric
impl Debug for TypeGeneric
Source§impl Display for TypeGeneric
impl Display for TypeGeneric
impl Eq for TypeGeneric
Source§impl Hash for TypeGeneric
impl Hash for TypeGeneric
Source§impl PartialEq for TypeGeneric
impl PartialEq for TypeGeneric
impl StructuralPartialEq for TypeGeneric
Auto Trait Implementations§
impl !RefUnwindSafe for TypeGeneric
impl !Send for TypeGeneric
impl !Sync for TypeGeneric
impl !UnwindSafe for TypeGeneric
impl Freeze for TypeGeneric
impl Unpin for TypeGeneric
impl UnsafeUnpin for TypeGeneric
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