pub struct HalcSchemaIndex {
pub definitions: HashMap<String, Form>,
pub functions: HashMap<String, Form>,
pub definition_types: HashMap<String, SchemaType>,
pub function_types: HashMap<String, SchemaType>,
}Expand description
The typed declarations recoverable from canonical HALC forms without evaluating the module. Keys are fully qualified Var names.
Fields§
§definitions: HashMap<String, Form>§functions: HashMap<String, Form>§definition_types: HashMap<String, SchemaType>§function_types: HashMap<String, SchemaType>Implementations§
Source§impl HalcSchemaIndex
impl HalcSchemaIndex
Sourcepub fn resolved_function_type(&self, qualified_var: &str) -> Option<&SchemaType>
pub fn resolved_function_type(&self, qualified_var: &str) -> Option<&SchemaType>
Resolves a function annotation through named-schema references while
preserving recursive graph edges as Reference nodes.
Trait Implementations§
Source§impl Clone for HalcSchemaIndex
impl Clone for HalcSchemaIndex
Source§fn clone(&self) -> HalcSchemaIndex
fn clone(&self) -> HalcSchemaIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HalcSchemaIndex
impl Debug for HalcSchemaIndex
Source§impl Default for HalcSchemaIndex
impl Default for HalcSchemaIndex
Source§fn default() -> HalcSchemaIndex
fn default() -> HalcSchemaIndex
Returns the “default value” for a type. Read more
Source§impl PartialEq for HalcSchemaIndex
impl PartialEq for HalcSchemaIndex
impl StructuralPartialEq for HalcSchemaIndex
Auto Trait Implementations§
impl Freeze for HalcSchemaIndex
impl RefUnwindSafe for HalcSchemaIndex
impl Send for HalcSchemaIndex
impl Sync for HalcSchemaIndex
impl Unpin for HalcSchemaIndex
impl UnsafeUnpin for HalcSchemaIndex
impl UnwindSafe for HalcSchemaIndex
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more