pub struct TypeAnnotation(/* private fields */);Expand description
: Type
Implementations§
Trait Implementations§
Source§impl AstNode for TypeAnnotation
impl AstNode for TypeAnnotation
fn can_cast(kind: SyntaxKind) -> bool
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
Source§impl Clone for TypeAnnotation
impl Clone for TypeAnnotation
Source§impl Debug for TypeAnnotation
impl Debug for TypeAnnotation
impl Eq for TypeAnnotation
Source§impl Hash for TypeAnnotation
impl Hash for TypeAnnotation
Source§impl PartialEq for TypeAnnotation
impl PartialEq for TypeAnnotation
impl StructuralPartialEq for TypeAnnotation
Auto Trait Implementations§
impl !RefUnwindSafe for TypeAnnotation
impl !Send for TypeAnnotation
impl !Sync for TypeAnnotation
impl !UnwindSafe for TypeAnnotation
impl Freeze for TypeAnnotation
impl Unpin for TypeAnnotation
impl UnsafeUnpin for TypeAnnotation
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