Struct dyon::vec4::Vec4 [] [src]

pub struct Vec4(pub [f32; 4]);

Wraps a 4D vector for easier embedding with Dyon.

Trait Implementations

impl Debug for Vec4
[src]

[src]

Formats the value using the given formatter.

impl Copy for Vec4
[src]

impl Clone for Vec4
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ConvertVec4 for Vec4
[src]

[src]

Converts vec4 to self.

[src]

impl PopVariable for Vec4
[src]

[src]

Converts variable to self. The variable should be resolved before call. Read more

impl PushVariable for Vec4
[src]

[src]

Converts from self to variable.

impl From<[f32; 2]> for Vec4
[src]

[src]

Performs the conversion.

impl From<[f32; 3]> for Vec4
[src]

[src]

Performs the conversion.

impl From<[f32; 4]> for Vec4
[src]

[src]

Performs the conversion.

impl From<[f64; 2]> for Vec4
[src]

[src]

Performs the conversion.

impl From<[f64; 3]> for Vec4
[src]

[src]

Performs the conversion.

impl From<[f64; 4]> for Vec4
[src]

[src]

Performs the conversion.

impl From<(f32, f32)> for Vec4
[src]

[src]

Performs the conversion.

impl From<(f32, f32, f32)> for Vec4
[src]

[src]

Performs the conversion.

impl From<(f32, f32, f32, f32)> for Vec4
[src]

[src]

Performs the conversion.

impl From<(f64, f64)> for Vec4
[src]

[src]

Performs the conversion.

impl From<(f64, f64, f64)> for Vec4
[src]

[src]

Performs the conversion.

impl From<(f64, f64, f64, f64)> for Vec4
[src]

[src]

Performs the conversion.

impl From<[u32; 2]> for Vec4
[src]

[src]

Performs the conversion.

impl From<(u32, u32)> for Vec4
[src]

[src]

Performs the conversion.

impl From<[u8; 4]> for Vec4
[src]

[src]

Performs the conversion.

impl From<(u8, u8, u8, u8)> for Vec4
[src]

[src]

Performs the conversion.

impl Into<[f32; 2]> for Vec4
[src]

[src]

Performs the conversion.

impl Into<[f32; 3]> for Vec4
[src]

[src]

Performs the conversion.

impl Into<[f32; 4]> for Vec4
[src]

[src]

Performs the conversion.

impl Into<[f64; 2]> for Vec4
[src]

[src]

Performs the conversion.

impl Into<[f64; 3]> for Vec4
[src]

[src]

Performs the conversion.

impl Into<[f64; 4]> for Vec4
[src]

[src]

Performs the conversion.

impl Into<(f32, f32)> for Vec4
[src]

[src]

Performs the conversion.

impl Into<(f32, f32, f32)> for Vec4
[src]

[src]

Performs the conversion.

impl Into<(f32, f32, f32, f32)> for Vec4
[src]

[src]

Performs the conversion.

impl Into<(f64, f64)> for Vec4
[src]

[src]

Performs the conversion.

impl Into<(f64, f64, f64)> for Vec4
[src]

[src]

Performs the conversion.

impl Into<(f64, f64, f64, f64)> for Vec4
[src]

[src]

Performs the conversion.

impl Into<[u32; 2]> for Vec4
[src]

[src]

Performs the conversion.

impl Into<(u32, u32)> for Vec4
[src]

[src]

Performs the conversion.

impl Into<(u8, u8, u8, u8)> for Vec4
[src]

[src]

Performs the conversion.

impl Into<[u8; 4]> for Vec4
[src]

[src]

Performs the conversion.