pub struct Prototype {
pub return_type: String,
pub calling_convention: String,
pub params: Vec<ParamEntry>,
pub variadic: bool,
}Expand description
The current signature of a function, structured (read side; M2c Task 0.2). Sourced from the Program
DB Function.getSignature() — NOT the decompiler HighFunction, which infers params not locked in
the DB (the CAS/write only operate on the DB signature). Mirrors SetPrototypeArgs exactly so the
write-loop closes from one read: inspect → mutate one field → set_prototype.
Fields§
§return_type: String§calling_convention: String§params: Vec<ParamEntry>§variadic: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Prototype
impl<'de> Deserialize<'de> for Prototype
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 Prototype
impl StructuralPartialEq for Prototype
Auto Trait Implementations§
impl Freeze for Prototype
impl RefUnwindSafe for Prototype
impl Send for Prototype
impl Sync for Prototype
impl Unpin for Prototype
impl UnsafeUnpin for Prototype
impl UnwindSafe for Prototype
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