pub trait JetEnvironment {
type Jet: Jet;
type CJetEnvironment;
// Required methods
fn c_jet_env(&self) -> &Self::CJetEnvironment;
fn c_jet_ptr(
jet: &Self::Jet,
) -> fn(&mut CFrameItem, CFrameItem, &Self::CJetEnvironment) -> bool;
}Expand description
An environment for jets to read.
Required Associated Types§
Sourcetype CJetEnvironment
type CJetEnvironment
CJetEnvironment to interact with C FFI.
Required Methods§
Sourcefn c_jet_env(&self) -> &Self::CJetEnvironment
fn c_jet_env(&self) -> &Self::CJetEnvironment
Obtains a C FFI compatible environment for the jet.
Sourcefn c_jet_ptr(
jet: &Self::Jet,
) -> fn(&mut CFrameItem, CFrameItem, &Self::CJetEnvironment) -> bool
fn c_jet_ptr( jet: &Self::Jet, ) -> fn(&mut CFrameItem, CFrameItem, &Self::CJetEnvironment) -> bool
Obtain the FFI C pointer for the jet.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".