#[repr(C)]pub struct TheTruthApi {Show 166 fields
pub allocator: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> *mut AllocatorI>,
pub buffers: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> *mut BuffersI>,
pub streamable_buffers: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> *mut StreamableBuffersI>,
pub create_object_type: Option<unsafe extern "C" fn(tt: *mut TheTruthO, name: *const c_char, properties: *const TheTruthPropertyDefinitionT, num_properties: u32) -> TtTypeT>,
pub set_default_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object_type: TtTypeT, object: TtIdT)>,
pub set_default_object_to_create_subobjects: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object_type: TtTypeT)>,
pub default_object: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> TtIdT>,
pub is_default: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> bool>,
pub set_aspect: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object_type: TtTypeT, aspect: StrhashT, data: *const c_void)>,
pub set_default_aspect: Option<unsafe extern "C" fn(tt: *mut TheTruthO, aspect: StrhashT, data: *const c_void)>,
pub set_property_aspect: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object_type: TtTypeT, property: u32, aspect: StrhashT, data: *const c_void)>,
pub reload_aspects: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>,
pub object_type_from_name_hash: Option<unsafe extern "C" fn(tt: *const TheTruthO, name_hash: StrhashT) -> TtTypeT>,
pub optional_object_type_from_name_hash: Option<unsafe extern "C" fn(tt: *const TheTruthO, name_hash: StrhashT) -> TtTypeT>,
pub num_types: Option<unsafe extern "C" fn(tt: *const TheTruthO) -> u32>,
pub type_name: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> *const c_char>,
pub type_name_hash: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> StrhashT>,
pub num_properties: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> u32>,
pub properties: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> *const TheTruthPropertyDefinitionT>,
pub find_property: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, name_hash: StrhashT, type_: TheTruthPropertyType, res: *mut u32) -> bool>,
pub property_index: Option<unsafe extern "C" fn(tt: *const TheTruthO, type_: TtTypeT, name_hash: StrhashT) -> u32>,
pub has_property: Option<unsafe extern "C" fn(tt: *const TheTruthO, type_: TtTypeT, name_hash: StrhashT) -> u32>,
pub get_aspect: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, aspect: StrhashT) -> *mut c_void>,
pub get_types_with_aspect: Option<unsafe extern "C" fn(tt: *const TheTruthO, aspect: StrhashT, ta: *mut TempAllocatorI) -> *mut TheTruthGetTypesWithAspectT>,
pub get_aspects: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> *const TheTruthGetAspectsT>,
pub get_property_aspect: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, property: u32, aspect: StrhashT) -> *mut c_void>,
pub all_objects_of_type: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, ta: *mut TempAllocatorI) -> *mut TtIdT>,
pub create_undo_scope: Option<unsafe extern "C" fn(tt: *mut TheTruthO, name: *const c_char) -> TtUndoScopeT>,
pub create_thread_safe_undo_scope: Option<unsafe extern "C" fn(tt: *mut TheTruthO, name: *const c_char) -> TtUndoScopeT>,
pub undo_scope_name: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT) -> *const c_char>,
pub undo_scope_objects: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT, ta: *mut TempAllocatorI) -> *mut TtIdT>,
pub undo_scope_actions: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT, ta: *mut TempAllocatorI) -> *mut TtUndoActionT>,
pub undo: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT)>,
pub redo: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT)>,
pub create_object_of_type: Option<unsafe extern "C" fn(tt: *mut TheTruthO, type_: TtTypeT, undo_scope: TtUndoScopeT) -> TtIdT>,
pub create_object_of_hash: Option<unsafe extern "C" fn(tt: *mut TheTruthO, type_name_hash: StrhashT, undo_scope: TtUndoScopeT) -> TtIdT>,
pub create_object_from_prototype: Option<unsafe extern "C" fn(tt: *mut TheTruthO, prototype: TtIdT, undo_scope: TtUndoScopeT) -> TtIdT>,
pub clone_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT) -> TtIdT>,
pub instantiate_subobject: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, undo_scope: TtUndoScopeT) -> TtIdT>,
pub remove_instantiated_subobject: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, undo_scope: TtUndoScopeT)>,
pub instantiate_subobject_from_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, subobject: TtIdT, undo_scope: TtUndoScopeT) -> TtIdT>,
pub remove_instantiated_subobject_from_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, subobject: TtIdT, undo_scope: TtUndoScopeT)>,
pub add_instantiated_subobject_back_to_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, subobject: TtIdT)>,
pub id: Option<unsafe extern "C" fn(obj: *const TheTruthObjectO) -> TtIdT>,
pub destroy_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT)>,
pub destroy_objects: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: *const TtIdT, n: u32, undo_scope: TtUndoScopeT)>,
pub garbage_collect: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>,
pub is_alive: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> bool>,
pub interop_ensure_compatibility: Option<unsafe extern "C" fn(ctx: *mut TheTruthInteropContextT)>,
pub interop_clone_object: Option<unsafe extern "C" fn(ctx: *mut TheTruthInteropContextT, object: TtIdT) -> TtIdT>,
pub deep_clone_assets: Option<unsafe extern "C" fn(to_tt: *mut TheTruthO, from_tt: *const TheTruthO, assets: *const TtIdT, n: u32, undo_scope: TtUndoScopeT, ta: *mut TempAllocatorI) -> *mut TtIdT>,
pub uuid: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> UuidT>,
pub read: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> *const TheTruthObjectO>,
pub get_bool: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> bool>,
pub get_uint32_t: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u32>,
pub get_uint64_t: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u64>,
pub get_float: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> f32>,
pub get_double: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> f64>,
pub get_string: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> *const c_char>,
pub get_string_hash: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> StrhashT>,
pub get_str: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> StrT>,
pub get_buffer: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TtBufferT>,
pub get_buffer_id: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u32>,
pub get_reference: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TtIdT>,
pub get_subobject: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TtIdT>,
pub get_property_value: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI) -> TtPropValueT>,
pub property_value_equal: Option<unsafe extern "C" fn(a: TtPropValueT, b: TtPropValueT) -> bool>,
pub get_reference_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI) -> *const TtIdT>,
pub get_subobject_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI) -> *const TtIdT>,
pub get_reference_set_size: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u64>,
pub get_subobject_set_size: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u64>,
pub get_subobject_set_type: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TtTypeT>,
pub get_subobject_set_locally_removed: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI) -> *const TtIdT>,
pub find_subobject_of_type: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, type_: TtTypeT) -> TtIdT>,
pub is_subobject_of: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, subobject: TtIdT) -> bool>,
pub is_in_reference_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, object: TtIdT) -> bool>,
pub property_index_of_subobject: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT, subobject: TtIdT) -> u32>,
pub write: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT) -> *mut TheTruthObjectO>,
pub commit: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, undo_scope: TtUndoScopeT)>,
pub commit_range: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut *mut TheTruthObjectO, n: u32, undo_scope: TtUndoScopeT)>,
pub retarget_write: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, object: TtIdT)>,
pub try_write: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, original: *mut *const TheTruthObjectO) -> *mut TheTruthObjectO>,
pub try_commit: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, original: *const TheTruthObjectO, undo_scope: TtUndoScopeT) -> bool>,
pub set_bool: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: bool)>,
pub set_uint32_t: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: u32)>,
pub set_uint64_t: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: u64)>,
pub set_float: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: f32)>,
pub set_double: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: f64)>,
pub set_string: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: *const c_char)>,
pub set_str: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: StrT)>,
pub set_buffer: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: u32)>,
pub set_buffer_content: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, p: *mut c_void, size: u64)>,
pub set_reference: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: TtIdT)>,
pub set_subobject: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: *mut TheTruthObjectO)>,
pub set_subobject_id: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: TtIdT, undo_scope: TtUndoScopeT)>,
pub set_property_value: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: TtPropValueT, undo_scope: TtUndoScopeT)>,
pub clear: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32)>,
pub clear_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO)>,
pub propagate_property: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, property: u32, undo_scope: TtUndoScopeT)>,
pub propagate_property_except: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, property: u32, skip: *const TtIdT, num_skip: u32, undo_scope: TtUndoScopeT)>,
pub propagate_property_subobject: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, property: u32, subobject: TtIdT, undo_scope: TtUndoScopeT)>,
pub propagate_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT)>,
pub propagate_object_except: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, skip: *const TtIdT, num_skip: u32, undo_scope: TtUndoScopeT)>,
pub add_to_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>,
pub remove_from_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>,
pub clear_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32)>,
pub remove_from_prototype_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>,
pub cancel_remove_from_prototype_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>,
pub add_to_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *mut *mut TheTruthObjectO, count: u32)>,
pub add_to_subobject_set_id: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, undo_scope: TtUndoScopeT)>,
pub remove_from_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>,
pub clear_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32)>,
pub remove_from_prototype_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>,
pub cancel_remove_from_prototype_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>,
pub prototype: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> TtIdT>,
pub owner: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> TtIdT>,
pub is_currently_owner_of: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT, subobject: TtIdT) -> bool>,
pub is_overridden: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> bool>,
pub has_data: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> bool>,
pub prototype_relation: Option<unsafe extern "C" fn(tt: *const TheTruthO, parent: TtIdT, property: u32, object: TtIdT) -> TheTruthPrototypeRelation>,
pub version: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> u32>,
pub changed_objects: Option<unsafe extern "C" fn(tt: *const TheTruthO, type_: TtTypeT, since_version: u64, ta: *mut TempAllocatorI) -> TheTruthChangedObjectsT>,
pub request_changelog: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> u64>,
pub relinquish_changelog: Option<unsafe extern "C" fn(tt: *mut TheTruthO, h: u64)>,
pub disable_changelog_start_scope: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>,
pub disable_changelog_end_scope: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>,
pub changelog_size: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> u64>,
pub serialize: Option<unsafe extern "C" fn(tt: *mut TheTruthO, o: TtIdT, carray: *mut *mut c_char, a: *mut AllocatorI, opt: *const TtSerializeOptionsT)>,
pub deserialize: Option<unsafe extern "C" fn(tt: *mut TheTruthO, buffer: *mut *const c_char, opt: *const TtDeserializeOptionsT) -> TtIdT>,
pub buffer_hashes: Option<unsafe extern "C" fn(buffer: *mut *const c_char, count: *mut u64) -> *const u64>,
pub deserialize_from_file: Option<unsafe extern "C" fn(tt: *mut TheTruthO, file: *const c_char) -> TtIdT>,
pub migration_ids: Option<unsafe extern "C" fn(tt: *const TheTruthO, n: *mut u32) -> *mut StrhashT>,
pub serialize_changes_header: Option<unsafe extern "C" fn(tt: *mut TheTruthO, carray: *mut *mut c_char, a: *mut AllocatorI)>,
pub serialize_changes: Option<unsafe extern "C" fn(tt: *mut TheTruthO, begin: u64, end: u64, carray: *mut *mut c_char, a: *mut AllocatorI, opt: *const TtSerializeChangesOptionsT)>,
pub deserialize_changes: Option<unsafe extern "C" fn(tt: *mut TheTruthO, buffer: *mut *const c_char, opt: *const TtDeserializeChangesOptionsT)>,
pub serialize_patch: Option<unsafe extern "C" fn(from_tt: *mut TheTruthO, from_o: TtIdT, to_tt: *mut TheTruthO, to_o: TtIdT, carray: *mut *mut c_char, a: *mut AllocatorI)>,
pub deserialize_patch: Option<unsafe extern "C" fn(tt: *mut TheTruthO, buffer: *mut *const c_char)>,
pub deserialize_patch_from_file: Option<unsafe extern "C" fn(tt: *mut TheTruthO, file: *const c_char)>,
pub serialize_type: Option<unsafe extern "C" fn(tt: *mut TheTruthO, type_: u32, ta: *mut TempAllocatorI) -> *mut c_char>,
pub deserialize_type: Option<unsafe extern "C" fn(tt: *mut TheTruthO, buf: *mut *const c_char, type_info: *mut TheTruthSerializedTypeInfoT)>,
pub memory_use: Option<unsafe extern "C" fn(tt: *mut TheTruthO, id: TtIdT, buffers: *mut SetT) -> TtMemoryUseT>,
pub add_properties: Option<unsafe extern "C" fn(tt: *mut TheTruthO, type_: TtTypeT, properties: *const TheTruthPropertyDefinitionT, num_properties: u32)>,
pub resolve_or_create_placeholder: Option<unsafe extern "C" fn(tt: *mut TheTruthO, uuid: UuidT, type_: TtTypeT, default_initialize: bool) -> TtIdT>,
pub resolve_or_fail: Option<unsafe extern "C" fn(tt: *mut TheTruthO, uuid: UuidT, type_: TtTypeT) -> TtIdT>,
pub set_uuid: Option<unsafe extern "C" fn(tt: *mut TheTruthO, id: TtIdT, uuid: UuidT)>,
pub set_prototype: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, id: TtIdT)>,
pub detach_from_prototype: Option<unsafe extern "C" fn(tt: *mut TheTruthO, id: TtIdT, lookup: *mut HashIdToIdT, undo_scope: TtUndoScopeT)>,
pub detach_all_instances: Option<unsafe extern "C" fn(tt: *mut TheTruthO, id: TtIdT, undo_scope: TtUndoScopeT)>,
pub get_local_reference_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TheTruthLocalSetT>,
pub get_local_subobject_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TheTruthLocalSetT>,
pub set_local_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, set: TheTruthLocalSetT)>,
pub set_local_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, set: TheTruthSetLocalSubobjectSetT)>,
pub string_repository: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> *mut StringRepositoryI>,
pub set_migration_ids: Option<unsafe extern "C" fn(tt: *mut TheTruthO, ids: *mut StrhashT, n: u32)>,
pub set_properties_to_default: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, mask: u64)>,
pub instantiate_subobjects_recursively: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT)>,
pub quick_set_properties: Option<unsafe extern "C" fn(tt: *mut TheTruthO, undo_scope: TtUndoScopeT, id: TtIdT, ...)>,
pub quick_create_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, undo_scope: TtUndoScopeT, type_hash: StrhashT, ...) -> TtIdT>,
pub quick_get_property: Option<unsafe extern "C" fn(tt: *const TheTruthO, id: TtIdT, prop_1: u32, ...) -> TtPropValueT>,
pub copy_properties_by_name: Option<unsafe extern "C" fn(t: *mut TheTruthO, to: TtIdT, from: TtIdT, undo_scope: TtUndoScopeT)>,
pub internal__make_into_pseudo_object_with_owner: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, owner: TtIdT)>,
pub internal__convert_pseudo_object_back_to_regular_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO)>,
pub debug_inspect: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> *const c_char>,
pub internal__detect_overlapping_writes: Option<unsafe extern "C" fn(tt: *const TheTruthO) -> bool>,
pub create: Option<unsafe extern "C" fn(a: *mut AllocatorI, types: TheTruthCreateTypes) -> *mut TheTruthO>,
pub destroy: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>,
}
Fields§
§allocator: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> *mut AllocatorI>
§buffers: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> *mut BuffersI>
§streamable_buffers: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> *mut StreamableBuffersI>
§create_object_type: Option<unsafe extern "C" fn(tt: *mut TheTruthO, name: *const c_char, properties: *const TheTruthPropertyDefinitionT, num_properties: u32) -> TtTypeT>
§set_default_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object_type: TtTypeT, object: TtIdT)>
§set_default_object_to_create_subobjects: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object_type: TtTypeT)>
§default_object: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> TtIdT>
§is_default: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> bool>
§set_aspect: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object_type: TtTypeT, aspect: StrhashT, data: *const c_void)>
§set_default_aspect: Option<unsafe extern "C" fn(tt: *mut TheTruthO, aspect: StrhashT, data: *const c_void)>
§set_property_aspect: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object_type: TtTypeT, property: u32, aspect: StrhashT, data: *const c_void)>
§reload_aspects: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>
§object_type_from_name_hash: Option<unsafe extern "C" fn(tt: *const TheTruthO, name_hash: StrhashT) -> TtTypeT>
§optional_object_type_from_name_hash: Option<unsafe extern "C" fn(tt: *const TheTruthO, name_hash: StrhashT) -> TtTypeT>
§num_types: Option<unsafe extern "C" fn(tt: *const TheTruthO) -> u32>
§type_name: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> *const c_char>
§type_name_hash: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> StrhashT>
§num_properties: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> u32>
§properties: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> *const TheTruthPropertyDefinitionT>
§find_property: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, name_hash: StrhashT, type_: TheTruthPropertyType, res: *mut u32) -> bool>
§property_index: Option<unsafe extern "C" fn(tt: *const TheTruthO, type_: TtTypeT, name_hash: StrhashT) -> u32>
§has_property: Option<unsafe extern "C" fn(tt: *const TheTruthO, type_: TtTypeT, name_hash: StrhashT) -> u32>
§get_aspect: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, aspect: StrhashT) -> *mut c_void>
§get_types_with_aspect: Option<unsafe extern "C" fn(tt: *const TheTruthO, aspect: StrhashT, ta: *mut TempAllocatorI) -> *mut TheTruthGetTypesWithAspectT>
§get_aspects: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT) -> *const TheTruthGetAspectsT>
§get_property_aspect: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, property: u32, aspect: StrhashT) -> *mut c_void>
§all_objects_of_type: Option<unsafe extern "C" fn(tt: *const TheTruthO, object_type: TtTypeT, ta: *mut TempAllocatorI) -> *mut TtIdT>
§create_undo_scope: Option<unsafe extern "C" fn(tt: *mut TheTruthO, name: *const c_char) -> TtUndoScopeT>
§create_thread_safe_undo_scope: Option<unsafe extern "C" fn(tt: *mut TheTruthO, name: *const c_char) -> TtUndoScopeT>
§undo_scope_name: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT) -> *const c_char>
§undo_scope_objects: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT, ta: *mut TempAllocatorI) -> *mut TtIdT>
§undo_scope_actions: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT, ta: *mut TempAllocatorI) -> *mut TtUndoActionT>
§undo: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT)>
§redo: Option<unsafe extern "C" fn(tt: *mut TheTruthO, scope: TtUndoScopeT)>
§create_object_of_type: Option<unsafe extern "C" fn(tt: *mut TheTruthO, type_: TtTypeT, undo_scope: TtUndoScopeT) -> TtIdT>
§create_object_of_hash: Option<unsafe extern "C" fn(tt: *mut TheTruthO, type_name_hash: StrhashT, undo_scope: TtUndoScopeT) -> TtIdT>
§create_object_from_prototype: Option<unsafe extern "C" fn(tt: *mut TheTruthO, prototype: TtIdT, undo_scope: TtUndoScopeT) -> TtIdT>
§clone_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT) -> TtIdT>
§instantiate_subobject: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, undo_scope: TtUndoScopeT) -> TtIdT>
§remove_instantiated_subobject: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, undo_scope: TtUndoScopeT)>
§instantiate_subobject_from_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, subobject: TtIdT, undo_scope: TtUndoScopeT) -> TtIdT>
§remove_instantiated_subobject_from_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, subobject: TtIdT, undo_scope: TtUndoScopeT)>
§add_instantiated_subobject_back_to_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, subobject: TtIdT)>
§id: Option<unsafe extern "C" fn(obj: *const TheTruthObjectO) -> TtIdT>
§destroy_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT)>
§destroy_objects: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: *const TtIdT, n: u32, undo_scope: TtUndoScopeT)>
§garbage_collect: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>
§is_alive: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> bool>
§interop_ensure_compatibility: Option<unsafe extern "C" fn(ctx: *mut TheTruthInteropContextT)>
§interop_clone_object: Option<unsafe extern "C" fn(ctx: *mut TheTruthInteropContextT, object: TtIdT) -> TtIdT>
§deep_clone_assets: Option<unsafe extern "C" fn(to_tt: *mut TheTruthO, from_tt: *const TheTruthO, assets: *const TtIdT, n: u32, undo_scope: TtUndoScopeT, ta: *mut TempAllocatorI) -> *mut TtIdT>
§uuid: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> UuidT>
§read: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> *const TheTruthObjectO>
§get_bool: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> bool>
§get_uint32_t: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u32>
§get_uint64_t: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u64>
§get_float: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> f32>
§get_double: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> f64>
§get_string: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> *const c_char>
§get_string_hash: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> StrhashT>
§get_str: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> StrT>
§get_buffer: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TtBufferT>
§get_buffer_id: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u32>
§get_reference: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TtIdT>
§get_subobject: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TtIdT>
§get_property_value: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI) -> TtPropValueT>
§property_value_equal: Option<unsafe extern "C" fn(a: TtPropValueT, b: TtPropValueT) -> bool>
§get_reference_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI) -> *const TtIdT>
§get_subobject_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI) -> *const TtIdT>
§get_reference_set_size: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u64>
§get_subobject_set_size: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> u64>
§get_subobject_set_type: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TtTypeT>
§get_subobject_set_locally_removed: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI) -> *const TtIdT>
§find_subobject_of_type: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, type_: TtTypeT) -> TtIdT>
§is_subobject_of: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, subobject: TtIdT) -> bool>
§is_in_reference_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, object: TtIdT) -> bool>
§property_index_of_subobject: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT, subobject: TtIdT) -> u32>
§write: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT) -> *mut TheTruthObjectO>
§commit: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, undo_scope: TtUndoScopeT)>
§commit_range: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut *mut TheTruthObjectO, n: u32, undo_scope: TtUndoScopeT)>
§retarget_write: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, object: TtIdT)>
§try_write: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, original: *mut *const TheTruthObjectO) -> *mut TheTruthObjectO>
§try_commit: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, original: *const TheTruthObjectO, undo_scope: TtUndoScopeT) -> bool>
§set_bool: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: bool)>
§set_uint32_t: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: u32)>
§set_uint64_t: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: u64)>
§set_float: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: f32)>
§set_double: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: f64)>
§set_string: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: *const c_char)>
§set_str: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: StrT)>
§set_buffer: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: u32)>
§set_buffer_content: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, p: *mut c_void, size: u64)>
§set_reference: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: TtIdT)>
§set_subobject: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: *mut TheTruthObjectO)>
§set_subobject_id: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: TtIdT, undo_scope: TtUndoScopeT)>
§set_property_value: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: TtPropValueT, undo_scope: TtUndoScopeT)>
§clear: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32)>
§clear_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO)>
§propagate_property: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, property: u32, undo_scope: TtUndoScopeT)>
§propagate_property_except: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, property: u32, skip: *const TtIdT, num_skip: u32, undo_scope: TtUndoScopeT)>
§propagate_property_subobject: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, property: u32, subobject: TtIdT, undo_scope: TtUndoScopeT)>
§propagate_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT)>
§propagate_object_except: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, skip: *const TtIdT, num_skip: u32, undo_scope: TtUndoScopeT)>
§add_to_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>
§remove_from_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>
§clear_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32)>
§remove_from_prototype_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>
§cancel_remove_from_prototype_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>
§add_to_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *mut *mut TheTruthObjectO, count: u32)>
§add_to_subobject_set_id: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, undo_scope: TtUndoScopeT)>
§remove_from_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>
§clear_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32)>
§remove_from_prototype_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>
§cancel_remove_from_prototype_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32)>
§prototype: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> TtIdT>
§owner: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> TtIdT>
§is_currently_owner_of: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT, subobject: TtIdT) -> bool>
§is_overridden: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> bool>
§has_data: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> bool>
§prototype_relation: Option<unsafe extern "C" fn(tt: *const TheTruthO, parent: TtIdT, property: u32, object: TtIdT) -> TheTruthPrototypeRelation>
§version: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> u32>
§changed_objects: Option<unsafe extern "C" fn(tt: *const TheTruthO, type_: TtTypeT, since_version: u64, ta: *mut TempAllocatorI) -> TheTruthChangedObjectsT>
§request_changelog: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> u64>
§relinquish_changelog: Option<unsafe extern "C" fn(tt: *mut TheTruthO, h: u64)>
§disable_changelog_start_scope: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>
§disable_changelog_end_scope: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>
§changelog_size: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> u64>
§serialize: Option<unsafe extern "C" fn(tt: *mut TheTruthO, o: TtIdT, carray: *mut *mut c_char, a: *mut AllocatorI, opt: *const TtSerializeOptionsT)>
§deserialize: Option<unsafe extern "C" fn(tt: *mut TheTruthO, buffer: *mut *const c_char, opt: *const TtDeserializeOptionsT) -> TtIdT>
§buffer_hashes: Option<unsafe extern "C" fn(buffer: *mut *const c_char, count: *mut u64) -> *const u64>
§deserialize_from_file: Option<unsafe extern "C" fn(tt: *mut TheTruthO, file: *const c_char) -> TtIdT>
§migration_ids: Option<unsafe extern "C" fn(tt: *const TheTruthO, n: *mut u32) -> *mut StrhashT>
§serialize_changes_header: Option<unsafe extern "C" fn(tt: *mut TheTruthO, carray: *mut *mut c_char, a: *mut AllocatorI)>
§serialize_changes: Option<unsafe extern "C" fn(tt: *mut TheTruthO, begin: u64, end: u64, carray: *mut *mut c_char, a: *mut AllocatorI, opt: *const TtSerializeChangesOptionsT)>
§deserialize_changes: Option<unsafe extern "C" fn(tt: *mut TheTruthO, buffer: *mut *const c_char, opt: *const TtDeserializeChangesOptionsT)>
§serialize_patch: Option<unsafe extern "C" fn(from_tt: *mut TheTruthO, from_o: TtIdT, to_tt: *mut TheTruthO, to_o: TtIdT, carray: *mut *mut c_char, a: *mut AllocatorI)>
§deserialize_patch: Option<unsafe extern "C" fn(tt: *mut TheTruthO, buffer: *mut *const c_char)>
§deserialize_patch_from_file: Option<unsafe extern "C" fn(tt: *mut TheTruthO, file: *const c_char)>
§serialize_type: Option<unsafe extern "C" fn(tt: *mut TheTruthO, type_: u32, ta: *mut TempAllocatorI) -> *mut c_char>
§deserialize_type: Option<unsafe extern "C" fn(tt: *mut TheTruthO, buf: *mut *const c_char, type_info: *mut TheTruthSerializedTypeInfoT)>
§memory_use: Option<unsafe extern "C" fn(tt: *mut TheTruthO, id: TtIdT, buffers: *mut SetT) -> TtMemoryUseT>
§add_properties: Option<unsafe extern "C" fn(tt: *mut TheTruthO, type_: TtTypeT, properties: *const TheTruthPropertyDefinitionT, num_properties: u32)>
§resolve_or_create_placeholder: Option<unsafe extern "C" fn(tt: *mut TheTruthO, uuid: UuidT, type_: TtTypeT, default_initialize: bool) -> TtIdT>
§resolve_or_fail: Option<unsafe extern "C" fn(tt: *mut TheTruthO, uuid: UuidT, type_: TtTypeT) -> TtIdT>
§set_uuid: Option<unsafe extern "C" fn(tt: *mut TheTruthO, id: TtIdT, uuid: UuidT)>
§set_prototype: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, id: TtIdT)>
§detach_from_prototype: Option<unsafe extern "C" fn(tt: *mut TheTruthO, id: TtIdT, lookup: *mut HashIdToIdT, undo_scope: TtUndoScopeT)>
§detach_all_instances: Option<unsafe extern "C" fn(tt: *mut TheTruthO, id: TtIdT, undo_scope: TtUndoScopeT)>
§get_local_reference_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TheTruthLocalSetT>
§get_local_subobject_set: Option<unsafe extern "C" fn(tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32) -> TheTruthLocalSetT>
§set_local_reference_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, set: TheTruthLocalSetT)>
§set_local_subobject_set: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, set: TheTruthSetLocalSubobjectSetT)>
§string_repository: Option<unsafe extern "C" fn(tt: *mut TheTruthO) -> *mut StringRepositoryI>
§set_migration_ids: Option<unsafe extern "C" fn(tt: *mut TheTruthO, ids: *mut StrhashT, n: u32)>
§set_properties_to_default: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, mask: u64)>
§instantiate_subobjects_recursively: Option<unsafe extern "C" fn(tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT)>
§quick_set_properties: Option<unsafe extern "C" fn(tt: *mut TheTruthO, undo_scope: TtUndoScopeT, id: TtIdT, ...)>
§quick_create_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, undo_scope: TtUndoScopeT, type_hash: StrhashT, ...) -> TtIdT>
§quick_get_property: Option<unsafe extern "C" fn(tt: *const TheTruthO, id: TtIdT, prop_1: u32, ...) -> TtPropValueT>
§copy_properties_by_name: Option<unsafe extern "C" fn(t: *mut TheTruthO, to: TtIdT, from: TtIdT, undo_scope: TtUndoScopeT)>
§internal__make_into_pseudo_object_with_owner: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO, owner: TtIdT)>
§internal__convert_pseudo_object_back_to_regular_object: Option<unsafe extern "C" fn(tt: *mut TheTruthO, obj: *mut TheTruthObjectO)>
§debug_inspect: Option<unsafe extern "C" fn(tt: *const TheTruthO, object: TtIdT) -> *const c_char>
§internal__detect_overlapping_writes: Option<unsafe extern "C" fn(tt: *const TheTruthO) -> bool>
§create: Option<unsafe extern "C" fn(a: *mut AllocatorI, types: TheTruthCreateTypes) -> *mut TheTruthO>
§destroy: Option<unsafe extern "C" fn(tt: *mut TheTruthO)>
Implementations§
Source§impl TheTruthApi
impl TheTruthApi
pub unsafe fn allocator(&self, tt: *mut TheTruthO) -> *mut AllocatorI
pub unsafe fn buffers(&self, tt: *mut TheTruthO) -> *mut BuffersI
pub unsafe fn streamable_buffers( &self, tt: *mut TheTruthO, ) -> *mut StreamableBuffersI
pub unsafe fn create_object_type( &self, tt: *mut TheTruthO, name: *const c_char, properties: *const TheTruthPropertyDefinitionT, num_properties: u32, ) -> TtTypeT
pub unsafe fn set_default_object( &self, tt: *mut TheTruthO, object_type: TtTypeT, object: TtIdT, )
pub unsafe fn set_default_object_to_create_subobjects( &self, tt: *mut TheTruthO, object_type: TtTypeT, )
pub unsafe fn default_object( &self, tt: *const TheTruthO, object_type: TtTypeT, ) -> TtIdT
pub unsafe fn is_default( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> bool
pub unsafe fn set_aspect( &self, tt: *mut TheTruthO, object_type: TtTypeT, aspect: StrhashT, data: *const c_void, )
pub unsafe fn set_default_aspect( &self, tt: *mut TheTruthO, aspect: StrhashT, data: *const c_void, )
pub unsafe fn set_property_aspect( &self, tt: *mut TheTruthO, object_type: TtTypeT, property: u32, aspect: StrhashT, data: *const c_void, )
pub unsafe fn reload_aspects(&self, tt: *mut TheTruthO)
pub unsafe fn object_type_from_name_hash( &self, tt: *const TheTruthO, name_hash: StrhashT, ) -> TtTypeT
pub unsafe fn optional_object_type_from_name_hash( &self, tt: *const TheTruthO, name_hash: StrhashT, ) -> TtTypeT
pub unsafe fn num_types(&self, tt: *const TheTruthO) -> u32
pub unsafe fn type_name( &self, tt: *const TheTruthO, object_type: TtTypeT, ) -> *const c_char
pub unsafe fn type_name_hash( &self, tt: *const TheTruthO, object_type: TtTypeT, ) -> StrhashT
pub unsafe fn num_properties( &self, tt: *const TheTruthO, object_type: TtTypeT, ) -> u32
pub unsafe fn properties( &self, tt: *const TheTruthO, object_type: TtTypeT, ) -> *const TheTruthPropertyDefinitionT
pub unsafe fn find_property( &self, tt: *const TheTruthO, object_type: TtTypeT, name_hash: StrhashT, type_: TheTruthPropertyType, res: *mut u32, ) -> bool
pub unsafe fn property_index( &self, tt: *const TheTruthO, type_: TtTypeT, name_hash: StrhashT, ) -> u32
pub unsafe fn has_property( &self, tt: *const TheTruthO, type_: TtTypeT, name_hash: StrhashT, ) -> u32
pub unsafe fn get_aspect( &self, tt: *const TheTruthO, object_type: TtTypeT, aspect: StrhashT, ) -> *mut c_void
pub unsafe fn get_types_with_aspect( &self, tt: *const TheTruthO, aspect: StrhashT, ta: *mut TempAllocatorI, ) -> *mut TheTruthGetTypesWithAspectT
pub unsafe fn get_aspects( &self, tt: *const TheTruthO, object_type: TtTypeT, ) -> *const TheTruthGetAspectsT
pub unsafe fn get_property_aspect( &self, tt: *const TheTruthO, object_type: TtTypeT, property: u32, aspect: StrhashT, ) -> *mut c_void
pub unsafe fn all_objects_of_type( &self, tt: *const TheTruthO, object_type: TtTypeT, ta: *mut TempAllocatorI, ) -> *mut TtIdT
pub unsafe fn create_undo_scope( &self, tt: *mut TheTruthO, name: *const c_char, ) -> TtUndoScopeT
pub unsafe fn create_thread_safe_undo_scope( &self, tt: *mut TheTruthO, name: *const c_char, ) -> TtUndoScopeT
pub unsafe fn undo_scope_name( &self, tt: *mut TheTruthO, scope: TtUndoScopeT, ) -> *const c_char
pub unsafe fn undo_scope_objects( &self, tt: *mut TheTruthO, scope: TtUndoScopeT, ta: *mut TempAllocatorI, ) -> *mut TtIdT
pub unsafe fn undo_scope_actions( &self, tt: *mut TheTruthO, scope: TtUndoScopeT, ta: *mut TempAllocatorI, ) -> *mut TtUndoActionT
pub unsafe fn undo(&self, tt: *mut TheTruthO, scope: TtUndoScopeT)
pub unsafe fn redo(&self, tt: *mut TheTruthO, scope: TtUndoScopeT)
pub unsafe fn create_object_of_type( &self, tt: *mut TheTruthO, type_: TtTypeT, undo_scope: TtUndoScopeT, ) -> TtIdT
pub unsafe fn create_object_of_hash( &self, tt: *mut TheTruthO, type_name_hash: StrhashT, undo_scope: TtUndoScopeT, ) -> TtIdT
pub unsafe fn create_object_from_prototype( &self, tt: *mut TheTruthO, prototype: TtIdT, undo_scope: TtUndoScopeT, ) -> TtIdT
pub unsafe fn clone_object( &self, tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT, ) -> TtIdT
pub unsafe fn instantiate_subobject( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, undo_scope: TtUndoScopeT, ) -> TtIdT
pub unsafe fn remove_instantiated_subobject( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, undo_scope: TtUndoScopeT, )
pub unsafe fn instantiate_subobject_from_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, subobject: TtIdT, undo_scope: TtUndoScopeT, ) -> TtIdT
pub unsafe fn remove_instantiated_subobject_from_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, subobject: TtIdT, undo_scope: TtUndoScopeT, )
pub unsafe fn add_instantiated_subobject_back_to_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, subobject: TtIdT, )
pub unsafe fn id(&self, obj: *const TheTruthObjectO) -> TtIdT
pub unsafe fn destroy_object( &self, tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT, )
pub unsafe fn destroy_objects( &self, tt: *mut TheTruthO, object: *const TtIdT, n: u32, undo_scope: TtUndoScopeT, )
pub unsafe fn garbage_collect(&self, tt: *mut TheTruthO)
pub unsafe fn is_alive(&self, tt: *const TheTruthO, object: TtIdT) -> bool
pub unsafe fn interop_ensure_compatibility( &self, ctx: *mut TheTruthInteropContextT, )
pub unsafe fn interop_clone_object( &self, ctx: *mut TheTruthInteropContextT, object: TtIdT, ) -> TtIdT
pub unsafe fn deep_clone_assets( &self, to_tt: *mut TheTruthO, from_tt: *const TheTruthO, assets: *const TtIdT, n: u32, undo_scope: TtUndoScopeT, ta: *mut TempAllocatorI, ) -> *mut TtIdT
pub unsafe fn uuid(&self, tt: *const TheTruthO, object: TtIdT) -> UuidT
pub unsafe fn read( &self, tt: *const TheTruthO, object: TtIdT, ) -> *const TheTruthObjectO
pub unsafe fn get_bool( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> bool
pub unsafe fn get_uint32_t( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> u32
pub unsafe fn get_uint64_t( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> u64
pub unsafe fn get_float( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> f32
pub unsafe fn get_double( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> f64
pub unsafe fn get_string( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> *const c_char
pub unsafe fn get_string_hash( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> StrhashT
pub unsafe fn get_str( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> StrT
pub unsafe fn get_buffer( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> TtBufferT
pub unsafe fn get_buffer_id( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> u32
pub unsafe fn get_reference( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> TtIdT
pub unsafe fn get_subobject( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> TtIdT
pub unsafe fn get_property_value( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI, ) -> TtPropValueT
pub unsafe fn property_value_equal( &self, a: TtPropValueT, b: TtPropValueT, ) -> bool
pub unsafe fn get_reference_set( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI, ) -> *const TtIdT
pub unsafe fn get_subobject_set( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI, ) -> *const TtIdT
pub unsafe fn get_reference_set_size( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> u64
pub unsafe fn get_subobject_set_size( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> u64
pub unsafe fn get_subobject_set_type( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> TtTypeT
pub unsafe fn get_subobject_set_locally_removed( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ta: *mut TempAllocatorI, ) -> *const TtIdT
pub unsafe fn find_subobject_of_type( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, type_: TtTypeT, ) -> TtIdT
pub unsafe fn is_subobject_of( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, subobject: TtIdT, ) -> bool
pub unsafe fn is_in_reference_set( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, object: TtIdT, ) -> bool
pub unsafe fn property_index_of_subobject( &self, tt: *const TheTruthO, object: TtIdT, subobject: TtIdT, ) -> u32
pub unsafe fn write( &self, tt: *mut TheTruthO, object: TtIdT, ) -> *mut TheTruthObjectO
pub unsafe fn commit( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, undo_scope: TtUndoScopeT, )
pub unsafe fn commit_range( &self, tt: *mut TheTruthO, obj: *mut *mut TheTruthObjectO, n: u32, undo_scope: TtUndoScopeT, )
pub unsafe fn retarget_write( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, object: TtIdT, )
pub unsafe fn try_write( &self, tt: *mut TheTruthO, object: TtIdT, original: *mut *const TheTruthObjectO, ) -> *mut TheTruthObjectO
pub unsafe fn try_commit( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, original: *const TheTruthObjectO, undo_scope: TtUndoScopeT, ) -> bool
pub unsafe fn set_bool( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: bool, )
pub unsafe fn set_uint32_t( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: u32, )
pub unsafe fn set_uint64_t( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: u64, )
pub unsafe fn set_float( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: f32, )
pub unsafe fn set_double( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: f64, )
pub unsafe fn set_string( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: *const c_char, )
pub unsafe fn set_str( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: StrT, )
pub unsafe fn set_buffer( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: u32, )
pub unsafe fn set_buffer_content( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, p: *mut c_void, size: u64, )
pub unsafe fn set_reference( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: TtIdT, )
pub unsafe fn set_subobject( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: *mut TheTruthObjectO, )
pub unsafe fn set_subobject_id( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: TtIdT, undo_scope: TtUndoScopeT, )
pub unsafe fn set_property_value( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, value: TtPropValueT, undo_scope: TtUndoScopeT, )
pub unsafe fn clear( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, )
pub unsafe fn clear_object(&self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO)
pub unsafe fn propagate_property( &self, tt: *mut TheTruthO, object: TtIdT, property: u32, undo_scope: TtUndoScopeT, )
pub unsafe fn propagate_property_except( &self, tt: *mut TheTruthO, object: TtIdT, property: u32, skip: *const TtIdT, num_skip: u32, undo_scope: TtUndoScopeT, )
pub unsafe fn propagate_property_subobject( &self, tt: *mut TheTruthO, object: TtIdT, property: u32, subobject: TtIdT, undo_scope: TtUndoScopeT, )
pub unsafe fn propagate_object( &self, tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT, )
pub unsafe fn propagate_object_except( &self, tt: *mut TheTruthO, object: TtIdT, skip: *const TtIdT, num_skip: u32, undo_scope: TtUndoScopeT, )
pub unsafe fn add_to_reference_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, )
pub unsafe fn remove_from_reference_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, )
pub unsafe fn clear_reference_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, )
pub unsafe fn remove_from_prototype_reference_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, )
pub unsafe fn cancel_remove_from_prototype_reference_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, )
pub unsafe fn add_to_subobject_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *mut *mut TheTruthObjectO, count: u32, )
pub unsafe fn add_to_subobject_set_id( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, undo_scope: TtUndoScopeT, )
pub unsafe fn remove_from_subobject_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, )
pub unsafe fn clear_subobject_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, )
pub unsafe fn remove_from_prototype_subobject_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, )
pub unsafe fn cancel_remove_from_prototype_subobject_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, items: *const TtIdT, count: u32, )
pub unsafe fn prototype(&self, tt: *const TheTruthO, object: TtIdT) -> TtIdT
pub unsafe fn owner(&self, tt: *const TheTruthO, object: TtIdT) -> TtIdT
pub unsafe fn is_currently_owner_of( &self, tt: *const TheTruthO, object: TtIdT, subobject: TtIdT, ) -> bool
pub unsafe fn is_overridden( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> bool
pub unsafe fn has_data( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> bool
pub unsafe fn prototype_relation( &self, tt: *const TheTruthO, parent: TtIdT, property: u32, object: TtIdT, ) -> TheTruthPrototypeRelation
pub unsafe fn version(&self, tt: *const TheTruthO, object: TtIdT) -> u32
pub unsafe fn changed_objects( &self, tt: *const TheTruthO, type_: TtTypeT, since_version: u64, ta: *mut TempAllocatorI, ) -> TheTruthChangedObjectsT
pub unsafe fn request_changelog(&self, tt: *mut TheTruthO) -> u64
pub unsafe fn relinquish_changelog(&self, tt: *mut TheTruthO, h: u64)
pub unsafe fn disable_changelog_start_scope(&self, tt: *mut TheTruthO)
pub unsafe fn disable_changelog_end_scope(&self, tt: *mut TheTruthO)
pub unsafe fn changelog_size(&self, tt: *mut TheTruthO) -> u64
pub unsafe fn serialize( &self, tt: *mut TheTruthO, o: TtIdT, carray: *mut *mut c_char, a: *mut AllocatorI, opt: *const TtSerializeOptionsT, )
pub unsafe fn deserialize( &self, tt: *mut TheTruthO, buffer: *mut *const c_char, opt: *const TtDeserializeOptionsT, ) -> TtIdT
pub unsafe fn buffer_hashes( &self, buffer: *mut *const c_char, count: *mut u64, ) -> *const u64
pub unsafe fn deserialize_from_file( &self, tt: *mut TheTruthO, file: *const c_char, ) -> TtIdT
pub unsafe fn migration_ids( &self, tt: *const TheTruthO, n: *mut u32, ) -> *mut StrhashT
pub unsafe fn serialize_changes_header( &self, tt: *mut TheTruthO, carray: *mut *mut c_char, a: *mut AllocatorI, )
pub unsafe fn serialize_changes( &self, tt: *mut TheTruthO, begin: u64, end: u64, carray: *mut *mut c_char, a: *mut AllocatorI, opt: *const TtSerializeChangesOptionsT, )
pub unsafe fn deserialize_changes( &self, tt: *mut TheTruthO, buffer: *mut *const c_char, opt: *const TtDeserializeChangesOptionsT, )
pub unsafe fn serialize_patch( &self, from_tt: *mut TheTruthO, from_o: TtIdT, to_tt: *mut TheTruthO, to_o: TtIdT, carray: *mut *mut c_char, a: *mut AllocatorI, )
pub unsafe fn deserialize_patch( &self, tt: *mut TheTruthO, buffer: *mut *const c_char, )
pub unsafe fn deserialize_patch_from_file( &self, tt: *mut TheTruthO, file: *const c_char, )
pub unsafe fn serialize_type( &self, tt: *mut TheTruthO, type_: u32, ta: *mut TempAllocatorI, ) -> *mut c_char
pub unsafe fn deserialize_type( &self, tt: *mut TheTruthO, buf: *mut *const c_char, type_info: *mut TheTruthSerializedTypeInfoT, )
pub unsafe fn memory_use( &self, tt: *mut TheTruthO, id: TtIdT, buffers: *mut SetT, ) -> TtMemoryUseT
pub unsafe fn add_properties( &self, tt: *mut TheTruthO, type_: TtTypeT, properties: *const TheTruthPropertyDefinitionT, num_properties: u32, )
pub unsafe fn resolve_or_create_placeholder( &self, tt: *mut TheTruthO, uuid: UuidT, type_: TtTypeT, default_initialize: bool, ) -> TtIdT
pub unsafe fn resolve_or_fail( &self, tt: *mut TheTruthO, uuid: UuidT, type_: TtTypeT, ) -> TtIdT
pub unsafe fn set_uuid(&self, tt: *mut TheTruthO, id: TtIdT, uuid: UuidT)
pub unsafe fn set_prototype( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, id: TtIdT, )
pub unsafe fn detach_from_prototype( &self, tt: *mut TheTruthO, id: TtIdT, lookup: *mut HashIdToIdT, undo_scope: TtUndoScopeT, )
pub unsafe fn detach_all_instances( &self, tt: *mut TheTruthO, id: TtIdT, undo_scope: TtUndoScopeT, )
pub unsafe fn get_local_reference_set( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> TheTruthLocalSetT
pub unsafe fn get_local_subobject_set( &self, tt: *const TheTruthO, obj: *const TheTruthObjectO, property: u32, ) -> TheTruthLocalSetT
pub unsafe fn set_local_reference_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, set: TheTruthLocalSetT, )
pub unsafe fn set_local_subobject_set( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, property: u32, set: TheTruthSetLocalSubobjectSetT, )
pub unsafe fn string_repository( &self, tt: *mut TheTruthO, ) -> *mut StringRepositoryI
pub unsafe fn set_migration_ids( &self, tt: *mut TheTruthO, ids: *mut StrhashT, n: u32, )
pub unsafe fn set_properties_to_default( &self, tt: *mut TheTruthO, obj: *mut TheTruthObjectO, mask: u64, )
pub unsafe fn instantiate_subobjects_recursively( &self, tt: *mut TheTruthO, object: TtIdT, undo_scope: TtUndoScopeT, )
pub unsafe fn quick_set_properties( &self, tt: *mut TheTruthO, undo_scope: TtUndoScopeT, id: TtIdT, )
pub unsafe fn quick_create_object( &self, tt: *mut TheTruthO, undo_scope: TtUndoScopeT, type_hash: StrhashT, ) -> TtIdT
pub unsafe fn quick_get_property( &self, tt: *const TheTruthO, id: TtIdT, prop_1: u32, ) -> TtPropValueT
pub unsafe fn copy_properties_by_name( &self, t: *mut TheTruthO, to: TtIdT, from: TtIdT, undo_scope: TtUndoScopeT, )
pub unsafe fn debug_inspect( &self, tt: *const TheTruthO, object: TtIdT, ) -> *const c_char
pub unsafe fn create( &self, a: *mut AllocatorI, types: TheTruthCreateTypes, ) -> *mut TheTruthO
pub unsafe fn destroy(&self, tt: *mut TheTruthO)
Trait Implementations§
Source§impl Clone for TheTruthApi
impl Clone for TheTruthApi
Source§fn clone(&self) -> TheTruthApi
fn clone(&self) -> TheTruthApi
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for TheTruthApi
impl Default for TheTruthApi
Source§fn default() -> TheTruthApi
fn default() -> TheTruthApi
Returns the “default value” for a type. Read more
impl Copy for TheTruthApi
Auto Trait Implementations§
impl Freeze for TheTruthApi
impl RefUnwindSafe for TheTruthApi
impl Send for TheTruthApi
impl Sync for TheTruthApi
impl Unpin for TheTruthApi
impl UnwindSafe for TheTruthApi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more