pub struct ManifestKindTemplate {
pub supported_phases: BTreeSet<Phase>,
pub fit_scope: ControllerFitScope,
pub capabilities: BTreeSet<ControllerCapability>,
pub input_ports: Vec<PortSpec>,
pub output_ports: Vec<PortSpec>,
}Expand description
The mechanical, per-NodeKind portion of a ControllerManifest: the
fields a host does not need to author because they follow deterministically
from the node kind. HostControllerSpec::derive composes one of these with
the host-supplied identity/selectors/overrides.
Fields§
§supported_phases: BTreeSet<Phase>Phases the kind participates in.
fit_scope: ControllerFitScopeWhen fitted state is established.
capabilities: BTreeSet<ControllerCapability>Capabilities implied by the kind alone (the host may add more).
input_ports: Vec<PortSpec>Default input ports.
output_ports: Vec<PortSpec>Default output ports.
Trait Implementations§
Source§impl Clone for ManifestKindTemplate
impl Clone for ManifestKindTemplate
Source§fn clone(&self) -> ManifestKindTemplate
fn clone(&self) -> ManifestKindTemplate
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 ManifestKindTemplate
impl Debug for ManifestKindTemplate
impl Eq for ManifestKindTemplate
Source§impl PartialEq for ManifestKindTemplate
impl PartialEq for ManifestKindTemplate
Source§fn eq(&self, other: &ManifestKindTemplate) -> bool
fn eq(&self, other: &ManifestKindTemplate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ManifestKindTemplate
Auto Trait Implementations§
impl Freeze for ManifestKindTemplate
impl RefUnwindSafe for ManifestKindTemplate
impl Send for ManifestKindTemplate
impl Sync for ManifestKindTemplate
impl Unpin for ManifestKindTemplate
impl UnsafeUnpin for ManifestKindTemplate
impl UnwindSafe for ManifestKindTemplate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.