pub struct InitGuard {
pub global: MangledName,
pub binding: String,
pub declared_by: StmtId,
}Expand description
One guarded global and the top-level statement that declares it.
Fields§
§global: MangledName§binding: StringThe name the ReferenceError reports: the variable, or a static
field’s class.
declared_by: StmtIdTrait Implementations§
impl StructuralPartialEq for InitGuard
Auto Trait Implementations§
impl Freeze for InitGuard
impl RefUnwindSafe for InitGuard
impl Send for InitGuard
impl Sync for InitGuard
impl Unpin for InitGuard
impl UnsafeUnpin for InitGuard
impl UnwindSafe for InitGuard
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