# Crate tool[−][src]

Expand description

# 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. all_some Return the name of the first None value. 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. ListSlice The matrix does not own the data and has 1 row and X columns. See List for list of owned data. 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. VectorSlice Type alias for VectorSlice3. The matrix does not own the data and has 3 rows and 1 column. See Vector for owned vector data. Vectors Type alias for Matrix3xX. The matrix has 3 rows and X columns. VectorsGeneric Type alias for Matrix3xX. The matrix has 3 rows and X columns. VectorsSlice Type alias for MatrixSlice3xX. The matrix does not own the data and has 3 rows and X column. See Vectors for list of owned vector data.