pub struct FunctionRegistry { /* private fields */ }Expand description
Registry that maps helper names to callable functions.
Implementations§
Source§impl FunctionRegistry
impl FunctionRegistry
Sourcepub fn empty() -> FunctionRegistry
pub fn empty() -> FunctionRegistry
Creates an empty registry.
Sourcepub fn builder() -> FunctionRegistryBuilder
pub fn builder() -> FunctionRegistryBuilder
Returns a new builder for constructing registries.
Sourcepub fn from_builder(builder: FunctionRegistryBuilder) -> FunctionRegistry
pub fn from_builder(builder: FunctionRegistryBuilder) -> FunctionRegistry
Builds a registry from a previously configured builder.
Trait Implementations§
Source§impl Clone for FunctionRegistry
impl Clone for FunctionRegistry
Source§fn clone(&self) -> FunctionRegistry
fn clone(&self) -> FunctionRegistry
Returns a duplicate 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 Default for FunctionRegistry
impl Default for FunctionRegistry
Source§fn default() -> FunctionRegistry
fn default() -> FunctionRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FunctionRegistry
impl !RefUnwindSafe for FunctionRegistry
impl Send for FunctionRegistry
impl Sync for FunctionRegistry
impl Unpin for FunctionRegistry
impl !UnwindSafe for FunctionRegistry
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