pub struct PackageInterface {
pub blueprints: IndexMap<String, BlueprintInterface>,
pub auxiliary_types: HashSet<ScopedTypeId>,
}Fields§
§blueprints: IndexMap<String, BlueprintInterface>The interface definition of the various blueprints contained in the package. The key is the blueprint name and the value is the interface of the blueprint.
auxiliary_types: HashSet<ScopedTypeId>A set of ScopedTypeId of the auxiliary types found in the package interface. Auxiliary
types are types which appear somewhere in the interface of the package. As an example, an
enum that appears as a function input that requires generation for the interface to make
sense.
Trait Implementations§
Source§impl Clone for PackageInterface
impl Clone for PackageInterface
Source§fn clone(&self) -> PackageInterface
fn clone(&self) -> PackageInterface
Returns a duplicate of the value. Read more
1.0.0 · 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 PackageInterface
impl Debug for PackageInterface
Source§impl Default for PackageInterface
impl Default for PackageInterface
Source§fn default() -> PackageInterface
fn default() -> PackageInterface
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PackageInterface
impl RefUnwindSafe for PackageInterface
impl Send for PackageInterface
impl Sync for PackageInterface
impl Unpin for PackageInterface
impl UnwindSafe for PackageInterface
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