Struct machinery_api::foundation::CoreApi [−][src]
#[repr(C)]pub struct CoreApi { pub create: Option<unsafe extern "C" fn(tt: *mut TheTruthO, asset_root_id: TtIdT)>, pub update: Option<unsafe extern "C" fn(tt: *mut TheTruthO, asset_root_id: TtIdT, ta: *mut TempAllocatorI) -> CoreUpdateResultT>, pub locate_asset: Option<unsafe extern "C" fn(tt: *mut TheTruthO, asset_root_id: TtIdT, core_id: StrhashT) -> TtIdT>, }
Fields
create: Option<unsafe extern "C" fn(tt: *mut TheTruthO, asset_root_id: TtIdT)>update: Option<unsafe extern "C" fn(tt: *mut TheTruthO, asset_root_id: TtIdT, ta: *mut TempAllocatorI) -> CoreUpdateResultT>locate_asset: Option<unsafe extern "C" fn(tt: *mut TheTruthO, asset_root_id: TtIdT, core_id: StrhashT) -> TtIdT>Implementations
pub unsafe fn update(
&self,
tt: *mut TheTruthO,
asset_root_id: TtIdT,
ta: *mut TempAllocatorI
) -> CoreUpdateResultT
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CoreApi
impl UnwindSafe for CoreApi
Blanket Implementations
Mutably borrows from an owned value. Read more