pub struct ExternBlock<Attr, Abi, Body> {
pub attr: Attr,
pub abi: Abi,
pub body: Body,
}Expand description
Declaration of an extern block, i.e. for FFI.
Fields§
§attr: AttrThe attributes. Must be a sequence, and each value will be placed inside #[].
abi: AbiThe ABI chosen. Must be writable
body: BodyThe body of the extern block. Must be writable
Trait Implementations§
Auto Trait Implementations§
impl<Attr, Abi, Body> Freeze for ExternBlock<Attr, Abi, Body>
impl<Attr, Abi, Body> RefUnwindSafe for ExternBlock<Attr, Abi, Body>
impl<Attr, Abi, Body> Send for ExternBlock<Attr, Abi, Body>
impl<Attr, Abi, Body> Sync for ExternBlock<Attr, Abi, Body>
impl<Attr, Abi, Body> Unpin for ExternBlock<Attr, Abi, Body>
impl<Attr, Abi, Body> UnwindSafe for ExternBlock<Attr, Abi, Body>
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