Skip to main content

Crate wplot

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§

abs
Abstraction.
color
Describe colors.
dependency
Namespace with dependencies.
exposed
Exposed namespace of the module.
math
Math library with adapters.
orphan
Orphan namespace of the module.
prelude
Prelude to use essentials: use my_module::prelude::*.
protected
Protected namespace of the module.
sys
Concrete system.
traits
Numeric traits for generic mathematics

Macros§

braces_unwrap
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.
for_each
Module :: for_each
impl_rented_op1
Declare operation with 1 operand renting its implementation from math lib of choice.
impl_rented_op2
Declare operation with 2 operands renting its implementation from math lib of choice.
impl_vector_deref
Implement dereferencing of regular math object to math objects of math lib of choice.

Structs§

Context
Concrete system. Main aggregating object. Concrete system. Main aggregating object. Context.
ContextChanger
Concrete system. Context changer. Concrete system. Context changer. Context.
DrawChanger
Concrete system. Draw changer. Draw changer. Concrete system. Draw changer. Draw changer. ChangerInterface of brush stroke.
Drawing
Concrete system. Draw changer. Concrete system. Draw changer. Drawing.
DrawingChangeNew
Concrete system. Draw changer. ChangeInterface for drawing constructor. Concrete system. Draw changer. ChangeInterface for drawing constructor. ChangerInterface of brush stroke.
Id
Abstraction. Identity of resource. Abstraction. Identity of resource. Reference on context.
RectChangeNew
Concrete system. Draw changer. New shape : rectangle. Concrete system. Draw changer. New shape : rectangle. Command to draw rectangle.
RectChangeRegion
Concrete system. Draw changer. Change region of the rectangle. Concrete system. Draw changer. Change region of the rectangle. Command to draw rectangle.
RectChanger
Concrete system. Draw changer. Rectangle change. Concrete system. Draw changer. Rectangle change. Command to draw rectangle.
Rgba
Describe colors. Describe colors. RGBA
StrokeBrush
Concrete system. Brush stroke. Concrete system. Brush stroke. StrokeBrush.
StrokeBrushChangeColor
Concrete system. Brush stroke. ChangeInterface of brush stroke to change color. Concrete system. Brush stroke. ChangeInterface of brush stroke to change color. ChangerInterface of brush stroke.
StrokeBrushChangeNew
Concrete system. Brush stroke. ChangeInterface of brush stroke constructor. Concrete system. Brush stroke. ChangeInterface of brush stroke constructor. ChangerInterface of brush stroke.
StrokeBrushChangeWidth
Concrete system. Brush stroke. ChangeInterface of brush stroke to change width. Concrete system. Brush stroke. ChangeInterface of brush stroke to change width. ChangerInterface of brush stroke.
StrokeBrushChanger
Concrete system. Brush stroke. ChangerInterface of brush stroke. Concrete system. Brush stroke. ChangerInterface of brush stroke. ChangerInterface of brush stroke.
X2
Vector X2

Traits§

AsForeignCanonicalInterface
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..
AsForeignNonCanonicalInterface
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..
ChangeInterface
Abstraction. Describe change. Abstraction. Describe change. Abstraction. Describe change. Abstraction. Describe change. Abstraction. Describe change. Context.
ChangerInterface
Abstraction. Describe changer. Abstraction. Describe changer. Abstraction. Describe changer. Abstraction. Describe changer. Abstraction. Describe changer. Context.
ContextInterface
Abstraction. Describe system. Abstraction. Describe system. Abstraction. Describe system. Abstraction. Describe system. Abstraction. Describe system. Registry of contexts.
From2
Local implementation of trait From.
HasIdInterface
Abstraction. Identity of resource. Abstraction. Identity of resource. Abstraction. Identity of resource. Abstraction. Identity of resource. Abstraction. Identity of resource. Has id.
IdInterface
Abstraction. Identity of resource. Abstraction. Identity of resource. Abstraction. Identity of resource. Abstraction. Identity of resource. Abstraction. Identity of resource. ID interface.
Into2
Local implementation of trait Into.
NanLikeInterface
Implement check is it nan and constructor with NAN value.
RgbaInterface
Describe colors. Describe colors. Describe colors. Convertable into RGBA.
ScalarInterface
Traits any element of a vector should implement.
X2BasicInterface
Standard interface of vector X2. Implements nominal interface, extending it by constructor make.
X2CanonicalInterface
Interface of vector X2 for structures with the canonical layout.
X2Interface
Nominal interface of vector X2.
X2NominalInterface
Nominal interface of vector X2.

Functions§

context
Concrete system. Main aggregating object. Concrete system. Main aggregating object. Get current context.