#[repr(C)]pub struct tm_properties_float_display_converter_i {
pub inst: *mut c_void,
pub model_to_display: Option<unsafe extern "C" fn(inst: *mut c_void, v: f32) -> f32>,
pub display_to_model: Option<unsafe extern "C" fn(inst: *mut c_void, v: f32) -> f32>,
pub get_spinner_settings: Option<unsafe extern "C" fn(inst: *mut c_void, spinner: *mut tm_ui_spinner_t)>,
}Fields§
§inst: *mut c_void§model_to_display: Option<unsafe extern "C" fn(inst: *mut c_void, v: f32) -> f32>§display_to_model: Option<unsafe extern "C" fn(inst: *mut c_void, v: f32) -> f32>§get_spinner_settings: Option<unsafe extern "C" fn(inst: *mut c_void, spinner: *mut tm_ui_spinner_t)>Trait Implementations§
Source§impl Clone for tm_properties_float_display_converter_i
impl Clone for tm_properties_float_display_converter_i
Source§fn clone(&self) -> tm_properties_float_display_converter_i
fn clone(&self) -> tm_properties_float_display_converter_i
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 moreimpl Copy for tm_properties_float_display_converter_i
Auto Trait Implementations§
impl Freeze for tm_properties_float_display_converter_i
impl RefUnwindSafe for tm_properties_float_display_converter_i
impl !Send for tm_properties_float_display_converter_i
impl !Sync for tm_properties_float_display_converter_i
impl Unpin for tm_properties_float_display_converter_i
impl UnsafeUnpin for tm_properties_float_display_converter_i
impl UnwindSafe for tm_properties_float_display_converter_i
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