PhidgetMotorVelocityController_OnDutyCycleUpdateCallback

Type Alias PhidgetMotorVelocityController_OnDutyCycleUpdateCallback 

Source
pub type PhidgetMotorVelocityController_OnDutyCycleUpdateCallback = Option<unsafe extern "C" fn(ch: PhidgetMotorVelocityControllerHandle, ctx: *mut c_void, dutyCycle: f64)>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.