Struct wick_config::config::InterfaceDefinition
source · pub struct InterfaceDefinition { /* private fields */ }Expand description
The Wick representation of an interface.
Implementations§
source§impl InterfaceDefinition
impl InterfaceDefinition
pub fn types(&self) -> &[TypeDefinition]
Trait Implementations§
source§impl AssetManager for InterfaceDefinition
impl AssetManager for InterfaceDefinition
type Asset = AssetReference
fn set_baseurl(&self, baseurl: &Path)
fn assets(&self) -> Assets<'_, AssetReference>
fn get_asset_flags(&self) -> u32
source§impl Clone for InterfaceDefinition
impl Clone for InterfaceDefinition
source§fn clone(&self) -> InterfaceDefinition
fn clone(&self) -> InterfaceDefinition
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 InterfaceDefinition
impl ComponentConfig for InterfaceDefinition
type Operation = OperationDefinition
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 Debug for InterfaceDefinition
impl Debug for InterfaceDefinition
source§impl Default for InterfaceDefinition
impl Default for InterfaceDefinition
source§fn default() -> InterfaceDefinition
fn default() -> InterfaceDefinition
Returns the “default value” for a type. Read more
source§impl OperationSignatures for InterfaceDefinition
impl OperationSignatures for InterfaceDefinition
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 Serialize for InterfaceDefinition
impl Serialize for InterfaceDefinition
source§impl TryFrom<InterfaceDefinition> for InterfaceDefinition
impl TryFrom<InterfaceDefinition> for InterfaceDefinition
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<InterfaceDefinition> for InterfaceDefinition
impl TryFrom<InterfaceDefinition> for InterfaceDefinition
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceDefinition
impl Send for InterfaceDefinition
impl Sync for InterfaceDefinition
impl Unpin for InterfaceDefinition
impl UnwindSafe for InterfaceDefinition
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