pub struct CompositeComponentImplementation { /* private fields */ }Expand description
The internal representation of a Wick manifest.
Implementations§
source§impl CompositeComponentImplementation
impl CompositeComponentImplementation
pub fn config(&self) -> &[Field]
pub fn set_config<T: Into<Field>>( &mut self, val: impl IntoIterator<Item = T> ) -> &mut Self
pub fn config_mut(&mut self) -> &mut Vec<Field>
pub fn extends(&self) -> &[String]
pub fn set_extends<T: Into<String>>( &mut self, val: impl IntoIterator<Item = T> ) -> &mut Self
pub fn extends_mut(&mut self) -> &mut Vec<String>
source§impl CompositeComponentImplementation
impl CompositeComponentImplementation
sourcepub fn flow(&self, name: &str) -> Option<&FlowOperation>
pub fn flow(&self, name: &str) -> Option<&FlowOperation>
Get a FlowOperation by name.
Trait Implementations§
source§impl AssetManager for CompositeComponentImplementation
impl AssetManager for CompositeComponentImplementation
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
source§impl Clone for CompositeComponentImplementation
impl Clone for CompositeComponentImplementation
source§fn clone(&self) -> CompositeComponentImplementation
fn clone(&self) -> CompositeComponentImplementation
Returns a copy 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 ComponentConfig for CompositeComponentImplementation
impl ComponentConfig for CompositeComponentImplementation
type Operation = FlowOperation
source§fn operations(&self) -> &[Self::Operation]
fn operations(&self) -> &[Self::Operation]
Get the operations defined by this configuration.
source§fn operations_mut(&mut self) -> &mut Vec<Self::Operation>
fn operations_mut(&mut self) -> &mut Vec<Self::Operation>
Get the operations defined by this configuration.
source§impl Default for CompositeComponentImplementation
impl Default for CompositeComponentImplementation
source§fn default() -> CompositeComponentImplementation
fn default() -> CompositeComponentImplementation
Returns the “default value” for a type. Read more
source§impl OperationSignatures for CompositeComponentImplementation
impl OperationSignatures for CompositeComponentImplementation
source§fn operation_signatures(&self) -> Vec<OperationSignature>
fn operation_signatures(&self) -> Vec<OperationSignature>
Get a list of operations hosted by the implementer.
source§fn get_operation_signature(&self, name: &str) -> Option<OperationSignature>
fn get_operation_signature(&self, name: &str) -> Option<OperationSignature>
Get an operation signature by name.
source§impl TryFrom<CompositeComponentConfiguration> for CompositeComponentImplementation
impl TryFrom<CompositeComponentConfiguration> for CompositeComponentImplementation
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<CompositeComponentImplementation> for CompositeComponentConfiguration
impl TryFrom<CompositeComponentImplementation> for CompositeComponentConfiguration
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl RefUnwindSafe for CompositeComponentImplementation
impl Send for CompositeComponentImplementation
impl Sync for CompositeComponentImplementation
impl Unpin for CompositeComponentImplementation
impl UnwindSafe for CompositeComponentImplementation
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