pub struct LiveTypes { /* private fields */ }
Implementations§
Source§impl LiveTypes
impl LiveTypes
pub fn iter(&self) -> impl Iterator<Item = TypeId> + '_
pub fn len(&self) -> usize
pub fn add_interface(&mut self, resolve: &Resolve, iface: InterfaceId)
pub fn add_world(&mut self, resolve: &Resolve, world: WorldId)
pub fn add_world_item(&mut self, resolve: &Resolve, item: &WorldItem)
pub fn add_func(&mut self, resolve: &Resolve, func: &Function)
pub fn add_type_id(&mut self, resolve: &Resolve, ty: TypeId)
pub fn add_type(&mut self, resolve: &Resolve, ty: &Type)
Trait Implementations§
Source§impl TypeIdVisitor for LiveTypes
impl TypeIdVisitor for LiveTypes
Source§fn before_visit_type_id(&mut self, id: TypeId) -> bool
fn before_visit_type_id(&mut self, id: TypeId) -> bool
Callback invoked just before a type is visited. Read more
Source§fn after_visit_type_id(&mut self, id: TypeId)
fn after_visit_type_id(&mut self, id: TypeId)
Callback invoked once a type is finished being visited.
fn visit_interface(&mut self, resolve: &Resolve, iface: InterfaceId)
fn visit_world(&mut self, resolve: &Resolve, world: WorldId)
fn visit_world_item(&mut self, resolve: &Resolve, item: &WorldItem)
fn visit_func(&mut self, resolve: &Resolve, func: &Function)
fn visit_type_id(&mut self, resolve: &Resolve, ty: TypeId)
fn visit_type_def(&mut self, resolve: &Resolve, ty: &TypeDef)
fn visit_type(&mut self, resolve: &Resolve, ty: &Type)
Auto Trait Implementations§
impl Freeze for LiveTypes
impl RefUnwindSafe for LiveTypes
impl Send for LiveTypes
impl Sync for LiveTypes
impl Unpin for LiveTypes
impl UnwindSafe for LiveTypes
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