pub struct ClassGuard {
pub name: String,
pub uses: Vec<MangledName>,
pub declared_at: usize,
}Expand description
A class that can be used before its declaration has run.
Fields§
§name: String§uses: Vec<MangledName>What a use of the class goes through: the class itself (for
instanceof), its constructor and its static methods.
declared_at: usizeThe index into the top-level statements before which the class is declared.
Trait Implementations§
Source§impl Clone for ClassGuard
impl Clone for ClassGuard
Source§impl Debug for ClassGuard
impl Debug for ClassGuard
Source§impl PartialEq for ClassGuard
impl PartialEq for ClassGuard
impl StructuralPartialEq for ClassGuard
Auto Trait Implementations§
impl Freeze for ClassGuard
impl RefUnwindSafe for ClassGuard
impl Send for ClassGuard
impl Sync for ClassGuard
impl Unpin for ClassGuard
impl UnsafeUnpin for ClassGuard
impl UnwindSafe for ClassGuard
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