pub struct FunctionLibrary { /* private fields */ }Expand description
Registry of named functions available to expression evaluation.
Built-in functions (round, dice, random_range, …) are pre-registered.
Hosts can add their own via FunctionLibrary::register.
Implementations§
Trait Implementations§
Source§impl Debug for FunctionLibrary
impl Debug for FunctionLibrary
Auto Trait Implementations§
impl Freeze for FunctionLibrary
impl !RefUnwindSafe for FunctionLibrary
impl Send for FunctionLibrary
impl Sync for FunctionLibrary
impl Unpin for FunctionLibrary
impl UnsafeUnpin for FunctionLibrary
impl !UnwindSafe for FunctionLibrary
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