pub struct ScriptFunctionSignature<'a> {
pub meta: Option<Meta>,
pub name: String,
pub module_name: Option<String>,
pub type_query: Option<TypeQuery<'a>>,
pub visibility: Visibility,
pub inputs: Vec<ScriptFunctionParameter<'a>>,
pub outputs: Vec<ScriptFunctionParameter<'a>>,
}
Fields§
§meta: Option<Meta>
§name: String
§module_name: Option<String>
§type_query: Option<TypeQuery<'a>>
§visibility: Visibility
§inputs: Vec<ScriptFunctionParameter<'a>>
§outputs: Vec<ScriptFunctionParameter<'a>>
Implementations§
Source§impl<'a> ScriptFunctionSignature<'a>
impl<'a> ScriptFunctionSignature<'a>
pub fn build(&self, registry: &Registry) -> FunctionSignature
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ScriptFunctionSignature<'a>
impl<'a> RefUnwindSafe for ScriptFunctionSignature<'a>
impl<'a> Send for ScriptFunctionSignature<'a>
impl<'a> Sync for ScriptFunctionSignature<'a>
impl<'a> Unpin for ScriptFunctionSignature<'a>
impl<'a> UnwindSafe for ScriptFunctionSignature<'a>
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