pub struct MathUtilsPlugin { /* private fields */ }Expand description
Built-in plugin for mathematical operations
Implementations§
Trait Implementations§
Source§impl RulePlugin for MathUtilsPlugin
impl RulePlugin for MathUtilsPlugin
Source§fn get_metadata(&self) -> &PluginMetadata
fn get_metadata(&self) -> &PluginMetadata
Get plugin metadata
Source§fn register_actions(&self, engine: &mut RustRuleEngine) -> Result<()>
fn register_actions(&self, engine: &mut RustRuleEngine) -> Result<()>
Register custom actions with the engine
Source§fn register_functions(&self, engine: &mut RustRuleEngine) -> Result<()>
fn register_functions(&self, engine: &mut RustRuleEngine) -> Result<()>
Register custom functions with the engine
Source§fn health_check(&mut self) -> PluginHealth
fn health_check(&mut self) -> PluginHealth
Health check for the plugin
Auto Trait Implementations§
impl Freeze for MathUtilsPlugin
impl RefUnwindSafe for MathUtilsPlugin
impl Send for MathUtilsPlugin
impl Sync for MathUtilsPlugin
impl Unpin for MathUtilsPlugin
impl UnwindSafe for MathUtilsPlugin
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more