#[repr(C)]pub struct EcsUnit {
pub symbol: *mut c_char,
pub prefix: ecs_entity_t,
pub base: ecs_entity_t,
pub over: ecs_entity_t,
pub translation: ecs_unit_translation_t,
}Fields§
§symbol: *mut c_char§prefix: ecs_entity_t< Order of magnitude prefix relative to derived
base: ecs_entity_t< Base unit (e.g. “meters”)
over: ecs_entity_t< Over unit (e.g. “per second”)
translation: ecs_unit_translation_t< Translation for derived unit
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EcsUnit
impl RefUnwindSafe for EcsUnit
impl !Send for EcsUnit
impl !Sync for EcsUnit
impl Unpin for EcsUnit
impl UnwindSafe for EcsUnit
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