PhidgetMotorPositionController_OnPositionChangeCallback

Type Alias PhidgetMotorPositionController_OnPositionChangeCallback 

Source
pub type PhidgetMotorPositionController_OnPositionChangeCallback = Option<unsafe extern "C" fn(ch: PhidgetMotorPositionControllerHandle, ctx: *mut c_void, position: f64)>;

Aliased Type§

pub enum PhidgetMotorPositionController_OnPositionChangeCallback {
    None,
    Some(unsafe extern "C" fn(*mut _PhidgetMotorPositionController, *mut c_void, f64)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut _PhidgetMotorPositionController, *mut c_void, f64))

Some value of type T.