pub struct ExternArg {
pub slot: ExternSlot,
pub name: Option<Box<str>>,
pub attrs: ParamAttrs,
}Expand description
One planned positional argument of an external call.
Fields§
§slot: ExternSlotWhere the argument value is loaded from at the call site.
name: Option<Box<str>>The display name (the C prototype parameter name, or return_address
for the synthesized stdcall/cdecl slot). None leaves it unnamed.
attrs: ParamAttrsPer-argument pointer attributes (chiefly readonly from a const
pointee). Defaults fully conservative for non-pointer arguments.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExternArg
impl<'de> Deserialize<'de> for ExternArg
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 ExternArg
impl StructuralPartialEq for ExternArg
Auto Trait Implementations§
impl Freeze for ExternArg
impl RefUnwindSafe for ExternArg
impl Send for ExternArg
impl Sync for ExternArg
impl Unpin for ExternArg
impl UnsafeUnpin for ExternArg
impl UnwindSafe for ExternArg
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