pub struct IndexerDeclaration<'tree> {
pub span: Span,
pub accessors: Option<AccessorList<'tree>>,
pub parameters: BracketedParameterList<'tree>,
pub type: Type<'tree>,
pub value: Option<ArrowExpressionClause<'tree>>,
pub children: Vec<IndexerDeclarationChildren<'tree>>,
}Fields§
§span: Span§accessors: Option<AccessorList<'tree>>§parameters: BracketedParameterList<'tree>§type: Type<'tree>§value: Option<ArrowExpressionClause<'tree>>§children: Vec<IndexerDeclarationChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for IndexerDeclaration<'tree>
impl<'tree> Clone for IndexerDeclaration<'tree>
Source§fn clone(&self) -> IndexerDeclaration<'tree>
fn clone(&self) -> IndexerDeclaration<'tree>
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<'tree> Debug for IndexerDeclaration<'tree>
impl<'tree> Debug for IndexerDeclaration<'tree>
impl<'tree> Eq for IndexerDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for IndexerDeclaration<'tree>
impl<'tree> FromNode<'tree> for IndexerDeclaration<'tree>
Source§impl<'tree> PartialEq for IndexerDeclaration<'tree>
impl<'tree> PartialEq for IndexerDeclaration<'tree>
Source§impl Spanned for IndexerDeclaration<'_>
impl Spanned for IndexerDeclaration<'_>
impl<'tree> StructuralPartialEq for IndexerDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for IndexerDeclaration<'tree>
impl<'tree> RefUnwindSafe for IndexerDeclaration<'tree>
impl<'tree> Send for IndexerDeclaration<'tree>
impl<'tree> Sync for IndexerDeclaration<'tree>
impl<'tree> Unpin for IndexerDeclaration<'tree>
impl<'tree> UnsafeUnpin for IndexerDeclaration<'tree>
impl<'tree> UnwindSafe for IndexerDeclaration<'tree>
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