Enum maturin::BridgeModel [−][src]
Expand description
The way the rust code is used in the wheel
Variants
A native module with c bindings, i.e. #[no_mangle] extern "C" <some item>
A rust binary to be shipped a python package
Bindings(String)
A native module with pyo3 or rust-cpython bindings. The String is the name of the bindings providing crate, e.g. pyo3.
Tuple Fields of Bindings
0: String
Bindings
, but specifically for pyo3 with feature flags that allow building a single wheel
for all cpython versions (pypy still needs multiple versions).
The numbers are the minimum major and minor version
Implementations
Returns the name of the bindings crate
Test whether this is using a specific bindings crate
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BridgeModel
impl Send for BridgeModel
impl Sync for BridgeModel
impl Unpin for BridgeModel
impl UnwindSafe for BridgeModel
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more