pub fn to_raw(self) -> i32 {
        use FxPresetRef::*;
        match self {
            FactoryPreset => -2,
            DefaultUserPreset => -1,
            Preset(idx) => idx as i32,
        }
    }
/// Converts this value to an integer as expected by the low-level API.
Converts this value to an integer as expected by the low-level API.
Converts this value to an integer as expected by the low - level API .
pub fn to_raw(self) -> i32 {
        use FxPresetRef::*;
        match self {
            FactoryPreset => -2,
            DefaultUserPreset => -1,
            Preset(idx) => idx as i32,
        }
    }
pub fn to_raw ( self ) -> i32 { use FxPresetRef :: * ; match self { FactoryPreset => - 2 , DefaultUserPreset => - 1 , Preset ( idx ) => idx as i32 , } }
Converts this value to an integer as expected by the low-level API.
Converts this value to an integer as expected by the low - level API .
self
self