pub struct TypeLink {
pub name: &'static str,
pub definition: fn() -> &'static TypeSchema,
}Expand description
Compiler-resolved link. Names carry identity; the function breaks constant cycles.
Fields§
§name: &'static strLogical name under the stored contract.
definition: fn() -> &'static TypeSchemaResolve the compiled definition, never stored or dynamically loaded code.
Trait Implementations§
impl Copy for TypeLink
impl Eq for TypeLink
Auto Trait Implementations§
impl Forget for TypeLink
impl Freeze for TypeLink
impl Move for TypeLink
impl RefUnwindSafe for TypeLink
impl Send for TypeLink
impl Sync for TypeLink
impl Unpin for TypeLink
impl UnsafeUnpin for TypeLink
impl UnwindSafe for TypeLink
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