pub struct IndexSignature<'tree> {
pub span: Span,
pub index_type: Option<Type<'tree>>,
pub name: Option<Identifier<'tree>>,
pub sign: Option<IndexSignatureSign>,
pub type: IndexSignatureType<'tree>,
pub children: Option<MappedTypeClause<'tree>>,
}Fields§
§span: Span§index_type: Option<Type<'tree>>§name: Option<Identifier<'tree>>§sign: Option<IndexSignatureSign>§type: IndexSignatureType<'tree>§children: Option<MappedTypeClause<'tree>>Trait Implementations§
Source§impl<'tree> Clone for IndexSignature<'tree>
impl<'tree> Clone for IndexSignature<'tree>
Source§fn clone(&self) -> IndexSignature<'tree>
fn clone(&self) -> IndexSignature<'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 IndexSignature<'tree>
impl<'tree> Debug for IndexSignature<'tree>
impl<'tree> Eq for IndexSignature<'tree>
Source§impl<'tree> FromNode<'tree> for IndexSignature<'tree>
impl<'tree> FromNode<'tree> for IndexSignature<'tree>
Source§impl<'tree> PartialEq for IndexSignature<'tree>
impl<'tree> PartialEq for IndexSignature<'tree>
Source§impl Spanned for IndexSignature<'_>
impl Spanned for IndexSignature<'_>
impl<'tree> StructuralPartialEq for IndexSignature<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for IndexSignature<'tree>
impl<'tree> RefUnwindSafe for IndexSignature<'tree>
impl<'tree> Send for IndexSignature<'tree>
impl<'tree> Sync for IndexSignature<'tree>
impl<'tree> Unpin for IndexSignature<'tree>
impl<'tree> UnsafeUnpin for IndexSignature<'tree>
impl<'tree> UnwindSafe for IndexSignature<'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