#[repr(C)]pub struct EcsUnitPrefix {
pub symbol: *mut c_char,
pub translation: ecs_unit_translation_t,
}Fields§
§symbol: *mut c_char< Symbol of prefix (e.g. “K”, “M”, “Ki”)
translation: ecs_unit_translation_t< Translation of prefix
Trait Implementations§
Source§impl Clone for EcsUnitPrefix
impl Clone for EcsUnitPrefix
Source§fn clone(&self) -> EcsUnitPrefix
fn clone(&self) -> EcsUnitPrefix
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 EcsUnitPrefix
impl Debug for EcsUnitPrefix
impl Copy for EcsUnitPrefix
Auto Trait Implementations§
impl Freeze for EcsUnitPrefix
impl RefUnwindSafe for EcsUnitPrefix
impl !Send for EcsUnitPrefix
impl !Sync for EcsUnitPrefix
impl Unpin for EcsUnitPrefix
impl UnwindSafe for EcsUnitPrefix
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