pub struct Option(/* private fields */);Expand description
A typed view of an Rd OPTION node.
Implementations§
Trait Implementations§
Source§impl AstNode for Option
impl AstNode for Option
type Language = RdLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for Option
impl StructuralPartialEq for Option
Auto Trait Implementations§
impl !RefUnwindSafe for Option
impl !Send for Option
impl !Sync for Option
impl !UnwindSafe for Option
impl Freeze for Option
impl Unpin for Option
impl UnsafeUnpin for Option
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