#[repr(C)]pub struct ecs_header_t {
pub magic: i32,
pub type_: i32,
pub mixins: *mut ecs_mixins_t,
}Expand description
Header for ecs_poly_t objects.
Fields§
§magic: i32Magic number verifying it’s a flecs object
type_: i32Magic number indicating which type of flecs object
mixins: *mut ecs_mixins_tTable with offsets to (optional) mixins
Trait Implementations§
Source§impl Clone for ecs_header_t
impl Clone for ecs_header_t
Source§fn clone(&self) -> ecs_header_t
fn clone(&self) -> ecs_header_t
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 ecs_header_t
impl Debug for ecs_header_t
impl Copy for ecs_header_t
Auto Trait Implementations§
impl Freeze for ecs_header_t
impl RefUnwindSafe for ecs_header_t
impl !Send for ecs_header_t
impl !Sync for ecs_header_t
impl Unpin for ecs_header_t
impl UnwindSafe for ecs_header_t
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