Struct octoon::spectrum::rgb::RGBSpectrum
source · Fields
x: f32
y: f32
z: f32
Implementations
Trait Implementations
sourceimpl Add<RGBSpectrum> for RGBSpectrum
impl Add<RGBSpectrum> for RGBSpectrum
type Output = RGBSpectrum
type Output = RGBSpectrum
The resulting type after applying the
+
operator.sourcefn add(self, other: RGBSpectrum) -> RGBSpectrum
fn add(self, other: RGBSpectrum) -> RGBSpectrum
Performs the
+
operation. Read moresourceimpl AddAssign<RGBSpectrum> for RGBSpectrum
impl AddAssign<RGBSpectrum> for RGBSpectrum
sourcefn add_assign(&mut self, other: RGBSpectrum)
fn add_assign(&mut self, other: RGBSpectrum)
Performs the
+=
operation. Read moresourceimpl Clone for RGBSpectrum
impl Clone for RGBSpectrum
sourcefn clone(&self) -> RGBSpectrum
fn clone(&self) -> RGBSpectrum
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RGBSpectrum
impl Debug for RGBSpectrum
sourceimpl Default for RGBSpectrum
impl Default for RGBSpectrum
sourcefn default() -> RGBSpectrum
fn default() -> RGBSpectrum
Returns the “default value” for a type. Read more
sourceimpl Div<RGBSpectrum> for RGBSpectrum
impl Div<RGBSpectrum> for RGBSpectrum
type Output = RGBSpectrum
type Output = RGBSpectrum
The resulting type after applying the
/
operator.sourcefn div(self, other: RGBSpectrum) -> RGBSpectrum
fn div(self, other: RGBSpectrum) -> RGBSpectrum
Performs the
/
operation. Read moresourceimpl DivAssign<RGBSpectrum> for RGBSpectrum
impl DivAssign<RGBSpectrum> for RGBSpectrum
sourcefn div_assign(&mut self, other: RGBSpectrum)
fn div_assign(&mut self, other: RGBSpectrum)
Performs the
/=
operation. Read moresourceimpl From<Celsius> for RGBSpectrum
impl From<Celsius> for RGBSpectrum
sourceimpl From<Kelvin> for RGBSpectrum
impl From<Kelvin> for RGBSpectrum
sourceimpl From<RGB> for RGBSpectrum
impl From<RGB> for RGBSpectrum
sourceimpl From<SRGB> for RGBSpectrum
impl From<SRGB> for RGBSpectrum
sourceimpl From<XYZ> for RGBSpectrum
impl From<XYZ> for RGBSpectrum
sourceimpl Mul<RGBSpectrum> for RGBSpectrum
impl Mul<RGBSpectrum> for RGBSpectrum
type Output = RGBSpectrum
type Output = RGBSpectrum
The resulting type after applying the
*
operator.sourcefn mul(self, other: RGBSpectrum) -> RGBSpectrum
fn mul(self, other: RGBSpectrum) -> RGBSpectrum
Performs the
*
operation. Read moresourceimpl MulAssign<RGBSpectrum> for RGBSpectrum
impl MulAssign<RGBSpectrum> for RGBSpectrum
sourcefn mul_assign(&mut self, other: RGBSpectrum)
fn mul_assign(&mut self, other: RGBSpectrum)
Performs the
*=
operation. Read moresourceimpl Neg for RGBSpectrum
impl Neg for RGBSpectrum
type Output = RGBSpectrum
type Output = RGBSpectrum
The resulting type after applying the
-
operator.sourcefn neg(self) -> RGBSpectrum
fn neg(self) -> RGBSpectrum
Performs the unary
-
operation. Read moresourceimpl One for RGBSpectrum
impl One for RGBSpectrum
fn one() -> RGBSpectrum
sourceimpl PartialEq<RGBSpectrum> for RGBSpectrum
impl PartialEq<RGBSpectrum> for RGBSpectrum
sourcefn eq(&self, other: &RGBSpectrum) -> bool
fn eq(&self, other: &RGBSpectrum) -> bool
sourceimpl Sub<RGBSpectrum> for RGBSpectrum
impl Sub<RGBSpectrum> for RGBSpectrum
type Output = RGBSpectrum
type Output = RGBSpectrum
The resulting type after applying the
-
operator.sourcefn sub(self, other: RGBSpectrum) -> RGBSpectrum
fn sub(self, other: RGBSpectrum) -> RGBSpectrum
Performs the
-
operation. Read moresourceimpl SubAssign<RGBSpectrum> for RGBSpectrum
impl SubAssign<RGBSpectrum> for RGBSpectrum
sourcefn sub_assign(&mut self, other: RGBSpectrum)
fn sub_assign(&mut self, other: RGBSpectrum)
Performs the
-=
operation. Read moresourceimpl Zero for RGBSpectrum
impl Zero for RGBSpectrum
fn zero() -> RGBSpectrum
impl Copy for RGBSpectrum
impl StructuralPartialEq for RGBSpectrum
Auto Trait Implementations
impl RefUnwindSafe for RGBSpectrum
impl Send for RGBSpectrum
impl Sync for RGBSpectrum
impl Unpin for RGBSpectrum
impl UnwindSafe for RGBSpectrum
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.