Struct bc_envelope::extension::expression::FunctionsStore
source · pub struct FunctionsStore { /* private fields */ }Expand description
A type that maps functions to their assigned names.
Implementations§
source§impl FunctionsStore
impl FunctionsStore
pub fn new<T>(functions: T) -> Selfwhere
T: IntoIterator<Item = Function>,
pub fn insert(&mut self, function: Function)
pub fn assigned_name(&self, function: &Function) -> Option<&str>
pub fn name(&self, function: &Function) -> String
pub fn name_for_function( function: &Function, functions: Option<&Self> ) -> String
Trait Implementations§
source§impl Clone for FunctionsStore
impl Clone for FunctionsStore
source§fn clone(&self) -> FunctionsStore
fn clone(&self) -> FunctionsStore
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 FunctionsStore
impl Debug for FunctionsStore
Auto Trait Implementations§
impl RefUnwindSafe for FunctionsStore
impl Send for FunctionsStore
impl Sync for FunctionsStore
impl Unpin for FunctionsStore
impl UnwindSafe for FunctionsStore
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