ArcDynHit

Type Alias 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§

#[repr(transparent)]
pub 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.