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

pub struct ClFloat4(pub f32, pub f32, pub f32, pub f32);

Methods

impl ClFloat4
[src]

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

Trait Implementations

impl Default for ClFloat4
[src]

fn default() -> ClFloat4

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

impl Copy for ClFloat4
[src]

impl Clone for ClFloat4
[src]

fn clone(&self) -> ClFloat4

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 ClFloat4
[src]

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

Formats the value using the given formatter.

impl PartialEq for ClFloat4
[src]

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

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

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

This method tests for !=.

impl Add<ClFloat4> for ClFloat4
[src]

type Output = ClFloat4

The resulting type after applying the + operator

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

The method for the + operator

impl OclPrm for ClFloat4
[src]

impl OclVec for ClFloat4
[src]