pub struct PackagedModule { /* fields omitted */ }
A PackagedModule
refers to an ISPC module which was previously
built using ispc_compile
, and is now distributed with
the crate.
Create a new PackagedModule
to link against the previously compiled
library named lib
. As in ispc_compile
, the library name should not
have any prefix or suffix. For example, instead of libexample.a
or
example.lib
, simple pass example
Specify the path to search for the packaged ISPC libraries and bindings
Link with a previously built ISPC library packaged with the crate
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more