pub trait CustomValueTypeInfo {
type TypeId: Clone;
// Required method
fn custom_value_info(
&self,
name: &str,
) -> Result<CustomValueInfo<'_, Self::TypeId>, CustomValueInfoError>;
}Expand description
This can be implemented for anything capable of providing Custom Value information.
Required Associated Types§
Required Methods§
Sourcefn custom_value_info(
&self,
name: &str,
) -> Result<CustomValueInfo<'_, Self::TypeId>, CustomValueInfoError>
fn custom_value_info( &self, name: &str, ) -> Result<CustomValueInfo<'_, Self::TypeId>, CustomValueInfoError>
Get information about a constant