Struct machinery_api::plugins::entity::TagComponentApi [−][src]
#[repr(C)]pub struct TagComponentApi { pub tag_assets: Option<unsafe extern "C" fn(tt: *mut TheTruthO, ta: *mut TempAllocatorI) -> *mut TtIdT>, pub add_tag: Option<unsafe extern "C" fn(tcm: *mut TagComponentManagerO, e: EntityT, tag: StrhashT)>, pub add_tag_optional: Option<unsafe extern "C" fn(tcm: *mut TagComponentManagerO, e: EntityT, tag: StrhashT)>, pub remove_tag: Option<unsafe extern "C" fn(tcm: *mut TagComponentManagerO, e: EntityT, tag: StrhashT)>, pub has_tag: Option<unsafe extern "C" fn(tcm: *const TagComponentManagerO, e: EntityT, tag: StrhashT) -> bool>, pub find_all: Option<unsafe extern "C" fn(tcm: *const TagComponentManagerO, tag: StrhashT, ta: *mut TempAllocatorI) -> *mut EntityT>, pub find_first: Option<unsafe extern "C" fn(tcm: *const TagComponentManagerO, tag: StrhashT) -> EntityT>, }
Fields
tag_assets: Option<unsafe extern "C" fn(tt: *mut TheTruthO, ta: *mut TempAllocatorI) -> *mut TtIdT>add_tag: Option<unsafe extern "C" fn(tcm: *mut TagComponentManagerO, e: EntityT, tag: StrhashT)>add_tag_optional: Option<unsafe extern "C" fn(tcm: *mut TagComponentManagerO, e: EntityT, tag: StrhashT)>remove_tag: Option<unsafe extern "C" fn(tcm: *mut TagComponentManagerO, e: EntityT, tag: StrhashT)>has_tag: Option<unsafe extern "C" fn(tcm: *const TagComponentManagerO, e: EntityT, tag: StrhashT) -> bool>find_all: Option<unsafe extern "C" fn(tcm: *const TagComponentManagerO, tag: StrhashT, ta: *mut TempAllocatorI) -> *mut EntityT>find_first: Option<unsafe extern "C" fn(tcm: *const TagComponentManagerO, tag: StrhashT) -> EntityT>Implementations
pub unsafe fn add_tag_optional(
&self,
tcm: *mut TagComponentManagerO,
e: EntityT,
tag: StrhashT
)
pub unsafe fn find_all(
&self,
tcm: *const TagComponentManagerO,
tag: StrhashT,
ta: *mut TempAllocatorI
) -> *mut EntityT
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for TagComponentApi
impl Send for TagComponentApi
impl Sync for TagComponentApi
impl Unpin for TagComponentApi
impl UnwindSafe for TagComponentApi
Blanket Implementations
Mutably borrows from an owned value. Read more