rune::module

Trait InstallWith

Source
pub trait InstallWith {
    // Provided method
    fn install_with(_: &mut Module) -> Result<(), ContextError> { ... }
}
Expand description

Trait to handle the installation of auxilliary functions for a type installed into a module.

Provided Methods§

Source

fn install_with(_: &mut Module) -> Result<(), ContextError>

Hook to install more things into the module.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl InstallWith for Ordering

Source§

impl InstallWith for Option<Value>

Source§

impl InstallWith for Result<Value, Value>

Source§

impl InstallWith for bool

Source§

impl InstallWith for char

Source§

impl InstallWith for f64

Source§

impl InstallWith for i64

Source§

impl InstallWith for u64

Source§

impl InstallWith for Error

Source§

impl InstallWith for ParseCharError

Source§

impl InstallWith for Error

Source§

impl InstallWith for ParseFloatError

Source§

impl InstallWith for ParseIntError

Source§

impl InstallWith for Utf8Error

Source§

impl InstallWith for Error

Available on crate feature std only.

Implementors§