pub struct RuntimeTypeBinding {
pub type_id_fn: fn() -> TypeId,
pub type_node: &'static TypeNode,
}Expand description
Inventory entry mapping TypeId → &'static TypeNode. Submitted
by [register_type_node!].
Fields§
§type_id_fn: fn() -> TypeIdTypeId::of::<T> is non-const; use a closure.
type_node: &'static TypeNodeLattice node this concrete type resolves to.
Trait Implementations§
impl Collect for RuntimeTypeBinding
Auto Trait Implementations§
impl Freeze for RuntimeTypeBinding
impl RefUnwindSafe for RuntimeTypeBinding
impl Send for RuntimeTypeBinding
impl Sync for RuntimeTypeBinding
impl Unpin for RuntimeTypeBinding
impl UnsafeUnpin for RuntimeTypeBinding
impl UnwindSafe for RuntimeTypeBinding
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