pub struct IndexSignatureAnnotation {
pub value: TypeAnnotation,
pub readonly: bool,
pub span: Span,
}Expand description
A string index signature; the parameter name is documentation only.
Fields§
§value: TypeAnnotation§readonly: bool§span: SpanTrait Implementations§
Source§impl Clone for IndexSignatureAnnotation
impl Clone for IndexSignatureAnnotation
Source§impl Debug for IndexSignatureAnnotation
impl Debug for IndexSignatureAnnotation
Source§impl PartialEq for IndexSignatureAnnotation
impl PartialEq for IndexSignatureAnnotation
impl StructuralPartialEq for IndexSignatureAnnotation
Auto Trait Implementations§
impl Freeze for IndexSignatureAnnotation
impl RefUnwindSafe for IndexSignatureAnnotation
impl Send for IndexSignatureAnnotation
impl Sync for IndexSignatureAnnotation
impl Unpin for IndexSignatureAnnotation
impl UnsafeUnpin for IndexSignatureAnnotation
impl UnwindSafe for IndexSignatureAnnotation
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