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