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