pub struct SelectedDeclarations {
pub default: HashSet<NameAtom>,
pub types: HashSet<NameAtom>,
}Expand description
Names selected from a dependency’s type-system registry.
The sets span several namespaces by design (dims, units, indexes, and
types share the selective-import surface), so entries are kept as the
namespace-agnostic NameAtom rather than coerced into one name type.
Fields§
§default: HashSet<NameAtom>Names imported from the default compile-time namespace.
types: HashSet<NameAtom>Names imported from the explicit type namespace.
Implementations§
Trait Implementations§
Source§impl Clone for SelectedDeclarations
impl Clone for SelectedDeclarations
Source§fn clone(&self) -> SelectedDeclarations
fn clone(&self) -> SelectedDeclarations
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 SelectedDeclarations
impl Debug for SelectedDeclarations
Source§impl Default for SelectedDeclarations
impl Default for SelectedDeclarations
Source§fn default() -> SelectedDeclarations
fn default() -> SelectedDeclarations
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SelectedDeclarations
impl RefUnwindSafe for SelectedDeclarations
impl Send for SelectedDeclarations
impl Sync for SelectedDeclarations
impl Unpin for SelectedDeclarations
impl UnsafeUnpin for SelectedDeclarations
impl UnwindSafe for SelectedDeclarations
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