pub struct ImportedNamespace {
pub type_aliases: HashMap<String, VarType>,
pub param_types: HashMap<String, VarType>,
pub consts: HashMap<String, Value>,
}Expand description
Resolved namespace from an imported template.
Fields§
§type_aliases: HashMap<String, VarType>Type aliases exported by the imported template.
param_types: HashMap<String, VarType>Parameter types (for cross-template type references).
consts: HashMap<String, Value>Constants exported by the imported template.
Trait Implementations§
Source§impl Clone for ImportedNamespace
impl Clone for ImportedNamespace
Source§fn clone(&self) -> ImportedNamespace
fn clone(&self) -> ImportedNamespace
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 ImportedNamespace
impl Debug for ImportedNamespace
Source§impl Default for ImportedNamespace
impl Default for ImportedNamespace
Source§fn default() -> ImportedNamespace
fn default() -> ImportedNamespace
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImportedNamespace
impl RefUnwindSafe for ImportedNamespace
impl Send for ImportedNamespace
impl Sync for ImportedNamespace
impl Unpin for ImportedNamespace
impl UnsafeUnpin for ImportedNamespace
impl UnwindSafe for ImportedNamespace
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