pub struct ExternSignature {
pub pure: bool,
pub result: Option<ExternType>,
pub arguments: Vec<ExternType>,
}Expand description
The prototype of an ExternFunction.
Fields§
§pure: boolWhether the function is declared pure.
result: Option<ExternType>The result, or None for a void function.
arguments: Vec<ExternType>Trait Implementations§
Source§impl Clone for ExternSignature
impl Clone for ExternSignature
Source§impl Debug for ExternSignature
impl Debug for ExternSignature
Source§impl<'de> Deserialize<'de> for ExternSignature
impl<'de> Deserialize<'de> for ExternSignature
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExternSignature
Source§impl PartialEq for ExternSignature
impl PartialEq for ExternSignature
Source§impl Serialize for ExternSignature
impl Serialize for ExternSignature
impl StructuralPartialEq for ExternSignature
Auto Trait Implementations§
impl Freeze for ExternSignature
impl RefUnwindSafe for ExternSignature
impl Send for ExternSignature
impl Sync for ExternSignature
impl Unpin for ExternSignature
impl UnsafeUnpin for ExternSignature
impl UnwindSafe for ExternSignature
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