pub struct IncludeDecl<P: Phase = Raw> {
pub visibility: Visibility,
pub path: ModulePath,
pub param_bindings: Vec<ParamBinding<P>>,
pub kind: ImportKind,
}Expand description
Include declaration (DAG embedding / instantiation).
include nasa.rocket.compute_thrust(args); — bare form; instance alias is
the DAG’s leaf name.
include nasa.rocket.compute_thrust(args) as ct; — explicit instance alias.
include nasa.rocket.compute_thrust(args).{thrust}; — exposes selected
outputs as nodes in the including DAG.
Fields§
§visibility: Visibility§path: ModulePath§param_bindings: Vec<ParamBinding<P>>§kind: ImportKindTrait Implementations§
Source§impl<P: Clone + Phase> Clone for IncludeDecl<P>
impl<P: Clone + Phase> Clone for IncludeDecl<P>
Source§fn clone(&self) -> IncludeDecl<P>
fn clone(&self) -> IncludeDecl<P>
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 FormatEquivalent for IncludeDecl
impl FormatEquivalent for IncludeDecl
Source§fn format_equivalent(&self, other: &Self) -> bool
fn format_equivalent(&self, other: &Self) -> bool
Returns
true if self and other are equivalent up to formatting.Source§impl From<IncludeDecl> for IncludeDecl<Desugared>
impl From<IncludeDecl> for IncludeDecl<Desugared>
Source§fn from(i: IncludeDecl<Raw>) -> Self
fn from(i: IncludeDecl<Raw>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<P> Freeze for IncludeDecl<P>
impl<P> RefUnwindSafe for IncludeDecl<P>
impl<P> Send for IncludeDecl<P>
impl<P> Sync for IncludeDecl<P>
impl<P> Unpin for IncludeDecl<P>
impl<P> UnsafeUnpin for IncludeDecl<P>
impl<P> UnwindSafe for IncludeDecl<P>
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