pub struct PrimitiveTypeSpace {
pub type_id: TypeId,
pub terms: Vec<Box<dyn FuncImpl>>,
}Expand description
Collection of primitive function terms, which are just
FuncImpls, for the given type.
Fields§
§type_id: TypeId§terms: Vec<Box<dyn FuncImpl>>Implementations§
Source§impl PrimitiveTypeSpace
impl PrimitiveTypeSpace
Sourcepub fn new(type_id: TypeId) -> PrimitiveTypeSpace
pub fn new(type_id: TypeId) -> PrimitiveTypeSpace
Constructs a new, initially-empty PrimitiveTypeSpace
Auto Trait Implementations§
impl Freeze for PrimitiveTypeSpace
impl !RefUnwindSafe for PrimitiveTypeSpace
impl !Send for PrimitiveTypeSpace
impl !Sync for PrimitiveTypeSpace
impl Unpin for PrimitiveTypeSpace
impl !UnwindSafe for PrimitiveTypeSpace
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