#[repr(C)]pub struct EcsIdentifier {
pub value: *mut c_char,
pub length: ecs_size_t,
pub hash: u64,
pub index_hash: u64,
pub index: *mut ecs_hashmap_t,
}Expand description
A (string) identifier. Used as pair with EcsName and EcsSymbol tags
Fields§
§value: *mut c_char< Identifier string
length: ecs_size_t< Length of identifier
hash: u64< Hash of current value
index_hash: u64< Hash of existing record in current index
index: *mut ecs_hashmap_t< Current index
Trait Implementations§
Source§impl Clone for EcsIdentifier
impl Clone for EcsIdentifier
Source§fn clone(&self) -> EcsIdentifier
fn clone(&self) -> EcsIdentifier
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 Debug for EcsIdentifier
impl Debug for EcsIdentifier
impl Copy for EcsIdentifier
Auto Trait Implementations§
impl Freeze for EcsIdentifier
impl RefUnwindSafe for EcsIdentifier
impl !Send for EcsIdentifier
impl !Sync for EcsIdentifier
impl Unpin for EcsIdentifier
impl UnwindSafe for EcsIdentifier
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