Crate tool[][src]

rustool

Personal toolbox for my Rust projects

Using rustool

Simply add the following to your Cargo.toml file:

[dependencies]
rustool = "*" // replace * by the latest version of the crate

Re-exports

pub use crate::core::*;

Modules

core

Main functionalities.

Macros

addjs

Add **kwargs to json map.

debug

Alias for debug logs.

error

Alias for error logs.

info

Alias for info logs.

log_init

Macro for the function to initialize the logs for default usage.

newjs

Create new json map from **kwargs.

trace

Alias for trace logs.

warn

Alias for warn logs.

writejs

Write json map to file.

Type Definitions

List

Type alias for RowDVector. The matrix has 1 row and X columns.

Unit

Type alias for UnitVector3. The matrix has 3 rows and 1 column.

Vector

Type alias for Vector3. The matrix has 3 rows and 1 column.

Vectors

Type alias for Matrix3xX. The matrix has 3 rows and X columns.