pub struct AbstractTypeRegistry { /* private fields */ }Expand description
A registry of abstract type UUIDs used by graphix and graphix libraries, along with a string tag describing what the type is. We must do this because you can’t register different type ids with the same uuid in netidx’s abstract type system, and because abstract types often need to be parameterized by the Rt and UserEvent they will have different a different type id for each monomorphization, and thus they must have a different uuid.
The tag is necessary because non parameterized functions often end up with an abstract netidx type and want to know generally what it is, for example printing functions.
Implementations§
Trait Implementations§
Source§impl Default for AbstractTypeRegistry
impl Default for AbstractTypeRegistry
Source§fn default() -> AbstractTypeRegistry
fn default() -> AbstractTypeRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AbstractTypeRegistry
impl RefUnwindSafe for AbstractTypeRegistry
impl Send for AbstractTypeRegistry
impl Sync for AbstractTypeRegistry
impl Unpin for AbstractTypeRegistry
impl UnwindSafe for AbstractTypeRegistry
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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