#[repr(C)]pub struct OptionalIndexedAccessType<'gc> {
pub metadata: NodeMetadata<'gc>,
pub object_type: &'gc Node<'gc>,
pub index_type: &'gc Node<'gc>,
pub optional: Cell<bool>,
}Expand description
The OptionalIndexedAccessType AST node.
Fields§
§metadata: NodeMetadata<'gc>Source range, debug location, paren count, and node id.
object_type: &'gc Node<'gc>ESTree objectType property.
index_type: &'gc Node<'gc>ESTree indexType property.
optional: Cell<bool>ESTree optional property.
Implementations§
Source§impl<'gc> OptionalIndexedAccessType<'gc>
impl<'gc> OptionalIndexedAccessType<'gc>
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for OptionalIndexedAccessType<'gc>
impl<'gc> !RefUnwindSafe for OptionalIndexedAccessType<'gc>
impl<'gc> !Send for OptionalIndexedAccessType<'gc>
impl<'gc> !Sync for OptionalIndexedAccessType<'gc>
impl<'gc> !UnwindSafe for OptionalIndexedAccessType<'gc>
impl<'gc> Unpin for OptionalIndexedAccessType<'gc>
impl<'gc> UnsafeUnpin for OptionalIndexedAccessType<'gc>
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