pub struct FallibleType { /* private fields */ }Expand description
A FallibleType node (family.ungram rule FallibleType).
Implementations§
Source§impl FallibleType
impl FallibleType
Trait Implementations§
Source§impl AstNode for FallibleType
impl AstNode for FallibleType
Source§fn cast(syntax: SyntaxNode) -> Option<Self>
fn cast(syntax: SyntaxNode) -> Option<Self>
Wraps
syntax if its kind matches this type; None otherwise.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying untyped node.
Source§impl Clone for FallibleType
impl Clone for FallibleType
Source§impl Debug for FallibleType
impl Debug for FallibleType
impl Eq for FallibleType
Source§impl Hash for FallibleType
impl Hash for FallibleType
Source§impl PartialEq for FallibleType
impl PartialEq for FallibleType
impl StructuralPartialEq for FallibleType
Auto Trait Implementations§
impl !RefUnwindSafe for FallibleType
impl !Send for FallibleType
impl !Sync for FallibleType
impl !UnwindSafe for FallibleType
impl Freeze for FallibleType
impl Unpin for FallibleType
impl UnsafeUnpin for FallibleType
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