Struct ocl_core::types::vectors::ClFloat4
[−]
[src]
pub struct ClFloat4(pub f32, pub f32, pub f32, pub f32);
Methods
impl ClFloat4
[src]
Trait Implementations
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 Debug 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 Copy for ClFloat4
[src]
impl Default for ClFloat4
[src]
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