Struct soapysdr_sys::SoapySDRArgInfo 
source · #[repr(C)]pub struct SoapySDRArgInfo {
    pub key: *mut c_char,
    pub value: *mut c_char,
    pub name: *mut c_char,
    pub description: *mut c_char,
    pub units: *mut c_char,
    pub type_: SoapySDRArgInfoType,
    pub range: SoapySDRRange,
    pub numOptions: usize,
    pub options: *mut *mut c_char,
    pub optionNames: *mut *mut c_char,
}Expand description
! Definition for argument info
Fields§
§key: *mut c_char! The key used to identify the argument (required)
value: *mut c_charThe default value of the argument when not specified (required) Numbers should use standard floating point and integer formats. Boolean values should be represented as “true” and “false”.
name: *mut c_char! The displayable name of the argument (optional, use key if empty)
description: *mut c_char! A brief description about the argument (optional)
units: *mut c_char! The units of the argument: dB, Hz, etc (optional)
type_: SoapySDRArgInfoType! The data type of the argument (required)
range: SoapySDRRangeThe range of possible numeric values (optional) When specified, the argument should be restricted to this range. The range is only applicable to numeric argument types.
numOptions: usize! The size of the options set, or 0 when not used.
options: *mut *mut c_charA discrete list of possible values (optional) When specified, the argument should be restricted to this options set.
optionNames: *mut *mut c_charA discrete list of displayable names for the enumerated options (optional) When not specified, the option value itself can be used as a display name.
Trait Implementations§
source§impl Clone for SoapySDRArgInfo
 
impl Clone for SoapySDRArgInfo
source§fn clone(&self) -> SoapySDRArgInfo
 
fn clone(&self) -> SoapySDRArgInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more