Struct bc_envelope::extension::expression::ParametersStore
source · pub struct ParametersStore { /* private fields */ }Expand description
A type that maps parameters to their assigned names.
Implementations§
source§impl ParametersStore
impl ParametersStore
pub fn new<T>(parameters: T) -> Selfwhere
T: IntoIterator<Item = Parameter>,
pub fn insert(&mut self, parameter: Parameter)
pub fn assigned_name(&self, parameter: &Parameter) -> Option<&str>
pub fn name(&self, parameter: &Parameter) -> String
pub fn name_for_parameter( parameter: &Parameter, parameters: Option<&Self> ) -> String
Trait Implementations§
source§impl Clone for ParametersStore
impl Clone for ParametersStore
source§fn clone(&self) -> ParametersStore
fn clone(&self) -> ParametersStore
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ParametersStore
impl Debug for ParametersStore
Auto Trait Implementations§
impl RefUnwindSafe for ParametersStore
impl Send for ParametersStore
impl Sync for ParametersStore
impl Unpin for ParametersStore
impl UnwindSafe for ParametersStore
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more