pub trait ICapeIntegerParameterImpl: ICapeIntegerParameter {
type T: ICapeInterfaceImpl + ICapeIntegerParameterImpl;
const VTABLE: CAPEOPEN_1_2_ICapeIntegerParameter_VTable = _;
// Required method
fn as_interface_pointer(&mut self) -> *mut ICapeInterface;
// Provided methods
fn init_interface() -> ICapeInterface { ... }
fn init<Timpl: ICapeIntegerParameterImpl + ICapeInterfaceImpl>(
u: &mut Timpl,
) { ... }
extern "C" fn raw_get_value(
me: *mut c_void,
value: *mut CapeInteger,
) -> CapeResult { ... }
extern "C" fn raw_set_value(
me: *mut c_void,
value: CapeInteger,
) -> CapeResult { ... }
extern "C" fn raw_get_default_value(
me: *mut c_void,
default_value: *mut CapeInteger,
) -> CapeResult { ... }
extern "C" fn raw_get_lower_bound(
me: *mut c_void,
l_bound: *mut CapeInteger,
) -> CapeResult { ... }
extern "C" fn raw_get_upper_bound(
me: *mut c_void,
u_bound: *mut CapeInteger,
) -> CapeResult { ... }
extern "C" fn raw_validate(
me: *mut c_void,
value: CapeInteger,
message: *mut ICapeString,
is_ok: *mut CapeBoolean,
) -> CapeResult { ... }
}Provided Associated Constants§
Required Associated Types§
Required Methods§
fn as_interface_pointer(&mut self) -> *mut ICapeInterface
Provided Methods§
Sourcefn init_interface() -> ICapeInterface
fn init_interface() -> ICapeInterface
prepare CAPEOPEN_1_2_ICapeIntegerParameter interface and return as generic ICapeInterface pointer
fn init<Timpl: ICapeIntegerParameterImpl + ICapeInterfaceImpl>(u: &mut Timpl)
extern "C" fn raw_get_value( me: *mut c_void, value: *mut CapeInteger, ) -> CapeResult
extern "C" fn raw_set_value( me: *mut c_void, value: CapeInteger, ) -> CapeResult
extern "C" fn raw_get_default_value( me: *mut c_void, default_value: *mut CapeInteger, ) -> CapeResult
extern "C" fn raw_get_lower_bound( me: *mut c_void, l_bound: *mut CapeInteger, ) -> CapeResult
extern "C" fn raw_get_upper_bound( me: *mut c_void, u_bound: *mut CapeInteger, ) -> CapeResult
extern "C" fn raw_validate( me: *mut c_void, value: CapeInteger, message: *mut ICapeString, is_ok: *mut CapeBoolean, ) -> CapeResult
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.