#[repr(C)]pub struct EcsComponent {
pub size: i32,
pub alignment: i32,
}
Expand description
Component information.
Fields§
§size: i32
< Component size
alignment: i32
< Component alignment
Trait Implementations§
Source§impl Clone for EcsComponent
impl Clone for EcsComponent
Source§fn clone(&self) -> EcsComponent
fn clone(&self) -> EcsComponent
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 EcsComponent
impl Debug for EcsComponent
impl Copy for EcsComponent
Auto Trait Implementations§
impl Freeze for EcsComponent
impl RefUnwindSafe for EcsComponent
impl Send for EcsComponent
impl Sync for EcsComponent
impl Unpin for EcsComponent
impl UnwindSafe for EcsComponent
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