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