Struct move_idl::IDLScriptFunction
source · [−]pub struct IDLScriptFunction {
pub name: String,
pub doc: Option<String>,
pub ty_args: Vec<String, Global>,
pub args: Vec<IDLArgument, Global>,
}
Fields
name: String
Name of the script function.
doc: Option<String>
Documentation for the script function.
ty_args: Vec<String, Global>
args: Vec<IDLArgument, Global>
Trait Implementations
sourceimpl Clone for IDLScriptFunction
impl Clone for IDLScriptFunction
sourcefn clone(&self) -> IDLScriptFunction
fn clone(&self) -> IDLScriptFunction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for IDLScriptFunction
impl Debug for IDLScriptFunction
sourceimpl<'de> Deserialize<'de> for IDLScriptFunction
impl<'de> Deserialize<'de> for IDLScriptFunction
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<IDLScriptFunction, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<IDLScriptFunction, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for IDLScriptFunction
impl Serialize for IDLScriptFunction
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for IDLScriptFunction
impl Send for IDLScriptFunction
impl Sync for IDLScriptFunction
impl Unpin for IDLScriptFunction
impl UnwindSafe for IDLScriptFunction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more