pub struct ComponentFuncType {
pub params: Box<[(KebabString, ComponentValType)]>,
pub result: Option<ComponentValType>,
/* private fields */
}Expand description
Represents a type of a component function.
Fields§
§params: Box<[(KebabString, ComponentValType)]>The function parameters.
result: Option<ComponentValType>The function’s result.
Trait Implementations§
Source§impl Clone for ComponentFuncType
impl Clone for ComponentFuncType
Source§fn clone(&self) -> ComponentFuncType
fn clone(&self) -> ComponentFuncType
Returns a duplicate 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 ComponentFuncType
impl Debug for ComponentFuncType
Source§impl TypeData for ComponentFuncType
impl TypeData for ComponentFuncType
Source§const IS_CORE_SUB_TYPE: bool = false
const IS_CORE_SUB_TYPE: bool = false
Is this type a core sub type (or rec group of sub types)?
Source§type Id = ComponentFuncTypeId
type Id = ComponentFuncTypeId
The identifier for this type data.
Auto Trait Implementations§
impl Freeze for ComponentFuncType
impl RefUnwindSafe for ComponentFuncType
impl Send for ComponentFuncType
impl Sync for ComponentFuncType
impl Unpin for ComponentFuncType
impl UnwindSafe for ComponentFuncType
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