Struct axgeom::ComputedVec2 [] [src]

pub struct ComputedVec2 { /* fields omitted */ }

A wrapper around a Vec2 with the f32 length and length sqr saved. Useful when you want to cache the length computation.

Methods

impl ComputedVec2
[src]

[src]

[src]

[src]

Get a read only reference to the underlying vec.

Trait Implementations

impl Copy for ComputedVec2
[src]

impl Clone for ComputedVec2
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ComputedVec2
[src]

[src]

Formats the value using the given formatter.