Struct ocl_core::types::vectors::ClFloat3 [] [src]

pub struct ClFloat3(pub f32, pub f32, pub f32, _);

Methods

impl ClFloat3
[src]

fn new(s0: f32, s1: f32, s2: f32) -> ClFloat3

Trait Implementations

impl Default for ClFloat3
[src]

fn default() -> ClFloat3

Returns the "default value" for a type. Read more

impl Copy for ClFloat3
[src]

impl Clone for ClFloat3
[src]

fn clone(&self) -> ClFloat3

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for ClFloat3
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for ClFloat3
[src]

fn eq(&self, __arg_0: &ClFloat3) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ClFloat3) -> bool

This method tests for !=.

impl Add<ClFloat3> for ClFloat3
[src]

type Output = Self

The resulting type after applying the + operator

fn add(self, rhs: Self) -> Self

The method for the + operator

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

fn from(f: [f32; 3]) -> Self

Performs the conversion.

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

fn from(f: (f32, f32, f32)) -> Self

Performs the conversion.

impl OclPrm for ClFloat3
[src]

impl OclVec for ClFloat3
[src]