Docs.rs
gfxmath-vec2-0.1.6
gfxmath-vec2 0.1.6
Permalink
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
T101N
Dependencies
opimps ^0.2.2
normal
gl ^0.14.0
dev
gl_generator ^0.14.0
dev
khronos_api ^3.1.0
dev
sdl2 ^0.35.2
dev
Versions
40%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
gfxmath_
vec2
0.1.6
Norm
Required Associated Types
Output
Required Methods
norm
Implementors
In gfxmath_
vec2::
ops
gfxmath_vec2
::
ops
Trait
Norm
Copy item path
Source
pub trait Norm { type
Output
; // Required method fn
norm
(self) -> Self::
Output
; }
Expand description
Normalize a vector
Required Associated Types
§
Source
type
Output
Required Methods
§
Source
fn
norm
(self) -> Self::
Output
Implementors
§
Source
§
impl
Norm
for &
Vec2
<
f32
>
Source
§
type
Output
=
Option
<
Vec2
<
f32
>>
Source
§
impl
Norm
for &
Vec2
<
f64
>
Source
§
type
Output
=
Option
<
Vec2
<
f64
>>
Source
§
impl
Norm
for
Vec2
<
f32
>
Source
§
type
Output
=
Option
<
Vec2
<
f32
>>
Source
§
impl
Norm
for
Vec2
<
f64
>
Source
§
type
Output
=
Option
<
Vec2
<
f64
>>