pub fn remove_custom_variable<N>(&mut self, name: N)
    where
        N: AsRef<str>,
    {
        let name = name.as_ref();
        if let Some(variable) = self.run.metadata().custom_variable(name) {
            if variable.is_permanent {
                self.run.metadata_mut().remove_custom_variable(name);
                self.raise_run_edited();
            }
        }
    }
/// Removes the custom variable with the name specified. If the custom
/// variable does not exist, or is not a permanent variable, nothing
/// happens.
Removes the custom variable with the name specified. If the custom
variable does not exist, or is not a permanent variable, nothing
happens.
Removes the custom variable with the name specified . If the custom variable does not exist or is not a permanent variable nothing happens .
pub fn remove_custom_variable<N>(&mut self, name: N)
    where
        N: AsRef<str>,
    {
        let name = name.as_ref();
        if let Some(variable) = self.run.metadata().custom_variable(name) {
            if variable.is_permanent {
                self.run.metadata_mut().remove_custom_variable(name);
                self.raise_run_edited();
            }
        }
    }
pub fn remove_custom_variable < N > ( & mut self , name : N ) where N : AsRef < str > , { let name = name . as_ref ( ) ; if let Some ( variable ) = self . run . metadata ( ) . custom_variable ( name ) { if variable . is_permanent { self . run . metadata_mut ( ) . remove_custom_variable ( name ) ; self . raise_run_edited ( ) ; } } }
Removes the custom variable with the name specified.
Removes the custom variable with the name specified .
&mut self
name
N
&mut self
name
N