cargo fmt.
This commit is contained in:
parent
939f4413de
commit
fed65676a2
@ -1,28 +1,15 @@
|
|||||||
//! Module defining plugins in Rhai. Is exported for use by plugin authors.
|
//! Module defining plugins in Rhai for use by plugin authors.
|
||||||
|
|
||||||
pub use crate::{
|
pub use crate::{
|
||||||
stdlib::any::TypeId,
|
fn_native::CallableFunction, stdlib::any::TypeId, stdlib::boxed::Box, stdlib::format,
|
||||||
stdlib::boxed::Box,
|
stdlib::mem, stdlib::string::ToString, stdlib::vec as new_vec, stdlib::vec::Vec, Dynamic,
|
||||||
stdlib::format,
|
Engine, EvalAltResult, FnAccess, ImmutableString, Module, Position, RegisterResultFn,
|
||||||
stdlib::string::ToString,
|
|
||||||
stdlib::vec::Vec,
|
|
||||||
stdlib::vec as new_vec,
|
|
||||||
stdlib::mem,
|
|
||||||
fn_native::CallableFunction,
|
|
||||||
Dynamic,
|
|
||||||
Engine,
|
|
||||||
EvalAltResult,
|
|
||||||
FnAccess,
|
|
||||||
ImmutableString,
|
|
||||||
Module,
|
|
||||||
Position,
|
|
||||||
RegisterResultFn,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#[cfg(features = "no_module")]
|
|
||||||
pub use rhai_codegen::{export_fn, register_exported_fn};
|
|
||||||
#[cfg(not(features = "no_module"))]
|
#[cfg(not(features = "no_module"))]
|
||||||
pub use rhai_codegen::*;
|
pub use rhai_codegen::*;
|
||||||
|
#[cfg(features = "no_module")]
|
||||||
|
pub use rhai_codegen::{export_fn, register_exported_fn};
|
||||||
|
|
||||||
#[cfg(features = "sync")]
|
#[cfg(features = "sync")]
|
||||||
/// Represents an externally-written plugin for the Rhai interpreter.
|
/// Represents an externally-written plugin for the Rhai interpreter.
|
||||||
|
Loading…
Reference in New Issue
Block a user