#[repr(C)]pub struct Unit_ChangeValue {
pub m_value: u8,
pub m_display: u8,
}Expand description
Fields§
§m_value: u8§m_display: u8Implementations§
Source§impl Unit_ChangeValue
impl Unit_ChangeValue
Sourcepub fn op_implicit(v: impl Into<Unit_ChangeValue>) -> u8
pub fn op_implicit(v: impl Into<Unit_ChangeValue>) -> u8
op_Implicit(crate::app::unit::Unit_ChangeValue) overload
Source§impl Unit_ChangeValue
impl Unit_ChangeValue
Sourcepub fn get_display(&mut self) -> u8
pub fn get_display(&mut self) -> u8
get_Display() overload
Sourcepub fn is_changing(&mut self) -> bool
pub fn is_changing(&mut self) -> bool
IsChanging() overload
Source§impl Unit_ChangeValue
impl Unit_ChangeValue
pub fn get_value_method_info() -> &'static MethodInfo
pub fn set_value_method_info() -> &'static MethodInfo
pub fn get_display_method_info() -> &'static MethodInfo
pub fn change_method_info() -> &'static MethodInfo
pub fn tick_method_info() -> &'static MethodInfo
pub fn is_changing_method_info() -> &'static MethodInfo
pub fn instant_method_info() -> &'static MethodInfo
pub fn op_implicit_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for Unit_ChangeValue
impl ClassIdentity for Unit_ChangeValue
Source§impl Clone for Unit_ChangeValue
impl Clone for Unit_ChangeValue
Source§fn clone(&self) -> Unit_ChangeValue
fn clone(&self) -> Unit_ChangeValue
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Unit_ChangeValue
Auto Trait Implementations§
impl Freeze for Unit_ChangeValue
impl RefUnwindSafe for Unit_ChangeValue
impl Send for Unit_ChangeValue
impl Sync for Unit_ChangeValue
impl Unpin for Unit_ChangeValue
impl UnwindSafe for Unit_ChangeValue
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)