pub struct ExternArgmem {
pub params: Vec<ArgMemKind>,
pub variadic: bool,
}Expand description
C-prototype-derived argmem summary for a prototyped external: the ordered
per-parameter ArgMemKinds (in lockstep with the materialized register
interface inputs, so params[i] describes the i-th positional argument /
Param(i)) and whether the callee is variadic. Read by the RAM effect
channel’s external_leaf to derive a bounded argmem footprint in place of ⊤.
None on the signature for non-externals and un-prototyped externals.
Serde-defaulted, so older .harbinger snapshots load with it absent.
Fields§
§params: Vec<ArgMemKind>Per-input parameter kinds, lockstep with the register-interface inputs.
variadic: boolWhether the prototype takes a trailing ... (unknowable pointer args).
Trait Implementations§
Source§impl Clone for ExternArgmem
impl Clone for ExternArgmem
Source§fn clone(&self) -> ExternArgmem
fn clone(&self) -> ExternArgmem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExternArgmem
impl Debug for ExternArgmem
Source§impl Default for ExternArgmem
impl Default for ExternArgmem
Source§fn default() -> ExternArgmem
fn default() -> ExternArgmem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternArgmem
impl<'de> Deserialize<'de> for ExternArgmem
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 ExternArgmem
Source§impl PartialEq for ExternArgmem
impl PartialEq for ExternArgmem
Source§impl Serialize for ExternArgmem
impl Serialize for ExternArgmem
impl StructuralPartialEq for ExternArgmem
Auto Trait Implementations§
impl Freeze for ExternArgmem
impl RefUnwindSafe for ExternArgmem
impl Send for ExternArgmem
impl Sync for ExternArgmem
impl Unpin for ExternArgmem
impl UnsafeUnpin for ExternArgmem
impl UnwindSafe for ExternArgmem
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