Type Alias gravel_ffi::ArcDynHit

source ·
pub type ArcDynHit = Hit_TO<'static, RArc<()>>;
Expand description

FFI-safe Hit trait object.

It uses [RArc] to facilitate caching hits.

Aliased Type§

struct ArcDynHit {
    pub obj: RObject<'static, RArc<()>, Hit_Interface, VTable_Prefix<(), RArc<()>>>,
    /* private fields */
}

Fields§

§obj: RObject<'static, RArc<()>, Hit_Interface, VTable_Prefix<(), RArc<()>>>

Trait Implementations§

source§

impl From<SimpleHit> for ArcDynHit

source§

fn from(value: SimpleHit) -> Self

Converts to this type from the input type.