Expand description
Plot interface.
§Module :: plot_interface
Plot interface.
§Sample :: trivial
§To add to your project
cargo add plot_interface§Try out from the repository
git clone https://github.com/Wandalen/wTools
cd wTools
cd sample/rust/plot_interface_trivial_sample
cargo runModules§
- abs
- Abstraction.
- color
- Describe colors.
- dependency
- Namespace with dependencies.
- exposed
- Exposed namespace of the module.
- orphan
- Orphan namespace of the module.
- prelude
- Prelude to use essentials:
use my_module::prelude::*. - protected
- Protected namespace of the module.
- sys
- Concrete system.
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
- Context.
- Context
Changer - Context.
- Draw
Changer - ChangerInterface of brush stroke.
- Drawing
- Drawing.
- Drawing
Change New - ChangerInterface of brush stroke.
- Id
- Reference on context.
- Rect
Change New - Command to draw rectangle.
- Rect
Change Region - Command to draw rectangle.
- Rect
Changer - Command to draw rectangle.
- Rgba
- RGBA
- Stroke
Brush - StrokeBrush.
- Stroke
Brush Change Color - ChangerInterface of brush stroke.
- Stroke
Brush Change New - ChangerInterface of brush stroke.
- Stroke
Brush Change Width - ChangerInterface of brush stroke.
- Stroke
Brush Changer - ChangerInterface of brush stroke.
- X2
- Vector X2
Traits§
- AsForeign
Canonical Interface - 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..
- AsForeign
NonCanonical Interface - 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..
- Change
Interface - Context.
- Changer
Interface - Context.
- Context
Interface - Registry of contexts.
- From2
- Local implementation of trait From.
- HasId
Interface - Has id.
- IdInterface
- ID interface.
- Into2
- Local implementation of trait Into.
- NanLike
Interface - Implement check is it nan and constructor with NAN value.
- Rgba
Interface - Convertable into RGBA.
- Scalar
Interface - Traits any element of a vector should implement.
- X2Basic
Interface - Standard interface of vector X2. Implements nominal interface, extending it by constructor
make. - X2Canonical
Interface - Interface of vector X2 for structures with the canonical layout.
- X2Interface
- Nominal interface of vector X2.
- X2Nominal
Interface - Nominal interface of vector X2.
Functions§
- context
- Get current context.