pub struct GaiaFunction {
pub name: String,
pub signature: GaiaSignature,
pub blocks: Vec<GaiaBlock>,
pub is_external: bool,
}Expand description
Gaia Function definition representing a callable unit of code.
Fields§
§name: StringThe name of the function.
signature: GaiaSignatureThe function signature including parameter types and return type.
blocks: Vec<GaiaBlock>Basic blocks that make up the function body.
is_external: boolWhether this is an external function (defined in another module/library).
Trait Implementations§
Source§impl Clone for GaiaFunction
impl Clone for GaiaFunction
Source§fn clone(&self) -> GaiaFunction
fn clone(&self) -> GaiaFunction
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 GaiaFunction
impl Debug for GaiaFunction
Source§impl<'de> Deserialize<'de> for GaiaFunction
impl<'de> Deserialize<'de> for GaiaFunction
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
Source§impl PartialEq for GaiaFunction
impl PartialEq for GaiaFunction
Source§impl Serialize for GaiaFunction
impl Serialize for GaiaFunction
impl StructuralPartialEq for GaiaFunction
Auto Trait Implementations§
impl Freeze for GaiaFunction
impl RefUnwindSafe for GaiaFunction
impl Send for GaiaFunction
impl Sync for GaiaFunction
impl Unpin for GaiaFunction
impl UnsafeUnpin for GaiaFunction
impl UnwindSafe for GaiaFunction
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