Struct wick_config::config::ComponentOperationExpression
source · pub struct ComponentOperationExpression { /* private fields */ }Expand description
A reference to an operation.
Implementations§
source§impl ComponentOperationExpression
impl ComponentOperationExpression
pub fn name(&self) -> &str
pub fn set_name<T: Into<String>>(&mut self, val: T) -> &mut Self
pub fn name_mut(&mut self) -> &mut String
pub fn component(&self) -> &ComponentDefinition
pub fn set_component<T: Into<ComponentDefinition>>( &mut self, val: T ) -> &mut Self
pub fn component_mut(&mut self) -> &mut ComponentDefinition
pub fn config(&self) -> Option<&LiquidJsonConfig>
pub fn set_config<T: Into<Option<LiquidJsonConfig>>>( &mut self, val: T ) -> &mut Self
pub fn config_mut(&mut self) -> &mut Option<LiquidJsonConfig>
pub fn settings(&self) -> Option<&ExecutionSettings>
pub fn set_settings<T: Into<Option<ExecutionSettings>>>( &mut self, val: T ) -> &mut Self
pub fn settings_mut(&mut self) -> &mut Option<ExecutionSettings>
source§impl ComponentOperationExpression
impl ComponentOperationExpression
sourcepub fn new_default<T: Into<String>>(
operation: T,
component: ComponentDefinition
) -> Self
pub fn new_default<T: Into<String>>( operation: T, component: ComponentDefinition ) -> Self
Create a new ComponentOperationExpression with specified operation and component.
sourcepub fn new<T: Into<String>>(
operation: T,
component: ComponentDefinition,
config: Option<LiquidJsonConfig>,
settings: Option<ExecutionSettings>
) -> Self
pub fn new<T: Into<String>>( operation: T, component: ComponentDefinition, config: Option<LiquidJsonConfig>, settings: Option<ExecutionSettings> ) -> Self
Create a new ComponentOperationExpression with specified operation and component.
pub fn maybe_import( &mut self, import_name: &str, bindings: &mut Vec<Binding<ImportDefinition>> )
Trait Implementations§
source§impl AssetManager for ComponentOperationExpression
impl AssetManager for ComponentOperationExpression
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
source§impl Clone for ComponentOperationExpression
impl Clone for ComponentOperationExpression
source§fn clone(&self) -> ComponentOperationExpression
fn clone(&self) -> ComponentOperationExpression
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 Debug for ComponentOperationExpression
impl Debug for ComponentOperationExpression
source§impl PartialEq<ComponentOperationExpression> for ComponentOperationExpression
impl PartialEq<ComponentOperationExpression> for ComponentOperationExpression
source§fn eq(&self, other: &ComponentOperationExpression) -> bool
fn eq(&self, other: &ComponentOperationExpression) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<ComponentOperationExpression> for ComponentOperationExpression
impl TryFrom<ComponentOperationExpression> for ComponentOperationExpression
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<ComponentOperationExpression> for ComponentOperationExpression
impl TryFrom<ComponentOperationExpression> for ComponentOperationExpression
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ComponentOperationExpression
Auto Trait Implementations§
impl !RefUnwindSafe for ComponentOperationExpression
impl Send for ComponentOperationExpression
impl Sync for ComponentOperationExpression
impl Unpin for ComponentOperationExpression
impl !UnwindSafe for ComponentOperationExpression
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