logo

Crate wplot

source · []
Expand description

Plot interface.

Module :: wplot

experimental rust-status docs.rs Open in Gitpod discord

Plot interface.

Sample

To add to your project

cargo add wplot

Try out from the repository

git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/wplot_trivial
cargo run

Modules

Abstraction.

Describe colors.

Namespace with dependencies.

Exposed namespace of the module.

Math library with adapters.

Orphan namespace of the module.

Prelude to use essentials: use my_module::prelude::*.

Protected namespace of the module.

Concrete system.

Numeric traits for generic mathematics

Macros

Unwrap braces of token tree and pass its content to the passed callback. If token tree in not braced then it passed to callback as is.

Module :: for_each

Declare operation with 1 operand renting its implementation from math lib of choice.

Declare operation with 2 operands renting its implementation from math lib of choice.

Implement dereferencing of regular math object to math objects of math lib of choice.

Structs

Context.

ChangerInterface of brush stroke.

Drawing.

ChangerInterface of brush stroke.

Reference on context.

Command to draw rectangle.

Command to draw rectangle.

Command to draw rectangle.

RGBA

StrokeBrush.

ChangerInterface of brush stroke.

ChangerInterface of brush stroke.

ChangerInterface of brush stroke.

ChangerInterface of brush stroke.

Vector X2

Traits

Trait to interpret canonical math data structures of other math libs as their analogs a math lib of choice to use operations of the library..

Trait to interpret non-canonical math data structures of other math libs as their analogs a math lib of choice to use operations of the library..

Registry of contexts.

Local implementation of trait From.

ID interface.

Local implementation of trait Into.

Implement check is it nan and constructor with NAN value.

Convertable into RGBA.

Traits any element of a vector should implement.

Standard interface of vector X2. Implements nominal interface, extending it by constructor make.

Interface of vector X2 for structures with the canonical layout.

Nominal interface of vector X2.

Nominal interface of vector X2.

Functions

Get current context.