Skip to main content

mx_owner_meth

Type Alias mx_owner_meth 

Source
pub type mx_owner_meth = unsafe extern "C" fn(data: *mut c_void, owner: SEXP, argc: i32, argv: *const SEXP) -> SEXP;
Expand description

A trait method whose explicit borrowed receiver needs its R owner.

In addition to mx_meth’s contract, owner must be the caller-rooted external pointer holding data, with initialized sidecar slots. Only owner-receiver methods use this signature; ordinary receivers keep mx_meth.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes