Struct wit_parser::LiveTypes
source · 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§
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