Module x2

Module x2 

Source
Expand description

Vector of length 2.

Modules§

array
Array.
exposed
Exposed namespace of the module.
impl_deref
Macro to implement deref trait.
impl_rented_op
Macro to implement rented operators.
orphan
Orphan namespace of the module.
prelude
Prelude to use essentials: use my_module::prelude::*.
protected
Protected namespace of the module.
slice
Slice.
structure
Implement canonical X2 strcture.
tuple
Implement interfaces for tuple.

Macros§

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§

X2
Vector X2