Struct libsweep::Sweep
[−]
[src]
pub struct Sweep { /* fields omitted */ }
pub struct Sweep { /* fields omitted */ }
impl Sweep
[src]fn new(device: String) -> Result<Self, String>
[src]fn get_version() -> int32_t
[src]fn is_abi_compatible() -> bool
[src]fn set_motor_speed(&self, speed_hertz: int32_t) -> Result<(), String>
[src]fn get_motor_speed(&self) -> Result<int32_t, String>
[src]fn get_sample_rate(&self) -> Result<int32_t, String>
[src]fn get_motor_ready(&self) -> Result<bool, String>
[src]fn start_scanning(&self) -> Result<(), String>
[src]fn stop_scanning(&self) -> Result<(), String>
[src]fn scan(&self) -> Result<Vec<Sample>, String>
[src]