pub struct IndexExpr<'a> { /* private fields */ }
Trait Implementations§
Source§impl<'a> AstNode<'a> for IndexExpr<'a>
impl<'a> AstNode<'a> for IndexExpr<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
Source§impl<'a> From<IndexExpr<'a>> for IndexExprNode
impl<'a> From<IndexExpr<'a>> for IndexExprNode
Source§fn from(ast: IndexExpr<'a>) -> IndexExprNode
fn from(ast: IndexExpr<'a>) -> IndexExprNode
Converts to this type from the input type.
impl<'a> Copy for IndexExpr<'a>
Auto Trait Implementations§
impl<'a> Freeze for IndexExpr<'a>
impl<'a> !RefUnwindSafe for IndexExpr<'a>
impl<'a> Send for IndexExpr<'a>
impl<'a> Sync for IndexExpr<'a>
impl<'a> Unpin for IndexExpr<'a>
impl<'a> !UnwindSafe for IndexExpr<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more