pub trait CellRendererSpinExt: 'static {
// Required methods
fn get_property_adjustment(&self) -> Option<Adjustment>;
fn set_property_adjustment(&self, adjustment: Option<&Adjustment>);
fn get_property_climb_rate(&self) -> f64;
fn set_property_climb_rate(&self, climb_rate: f64);
fn get_property_digits(&self) -> u32;
fn set_property_digits(&self, digits: u32);
fn connect_property_adjustment_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_climb_rate_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_digits_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_property_adjustment(&self) -> Option<Adjustment>
fn set_property_adjustment(&self, adjustment: Option<&Adjustment>)
fn get_property_climb_rate(&self) -> f64
fn set_property_climb_rate(&self, climb_rate: f64)
fn get_property_digits(&self) -> u32
fn set_property_digits(&self, digits: u32)
fn connect_property_adjustment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_climb_rate_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_digits_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.