fn update_send_pan(&mut self, index: u32, v: ReaperPanValue) -> (bool, Option<ReaperPanValue>) {
        match self.send_pans.insert(index, v) {
            None => (true, None),
            Some(prev) => (v != prev, Some(prev)),
        }
    }
/// Returns true if it has changed along with the old value.
Returns true if it has changed along with the old value.
Returns true if it has changed along with the old value .
fn update_send_pan(&mut self, index: u32, v: ReaperPanValue) -> (bool, Option<ReaperPanValue>) {
        match self.send_pans.insert(index, v) {
            None => (true, None),
            Some(prev) => (v != prev, Some(prev)),
        }
    }
fn update_send_pan ( & mut self , index : u32 , v : ReaperPanValue ) -> ( bool , Option < ReaperPanValue > ) { match self . send_pans . insert ( index , v ) { None => ( true , None ) , Some ( prev ) => ( v != prev , Some ( prev ) ) , } }
Returns true if it has changed along with the old value.
Returns true if it has changed along with the old value .
&mut self
index
u32
v
ReaperPanValue
&mut self
index
u32
v
ReaperPanValue