[−][src]Struct colorspace::vspd::SpdShape
Fields
start: T
Start of the wavelength range, in nm
end: T
End of the wavelength range, in nm
interval: Interval<T>
Interval between two sample values, in nm
Implementations
impl<T> SpdShape<T> where
T: SpdElement,
[src]
T: SpdElement,
pub fn new(start: T, end: T, interval: T) -> SpdShape<T>
[src]
pub fn astm_e308() -> SpdShape<T>
[src]
pub fn iter(&self) -> SpdShapeIterator<T>
[src]
Trait Implementations
impl<T: Clone> Clone for SpdShape<T> where
T: SpdElement,
[src]
T: SpdElement,
impl<T: Copy> Copy for SpdShape<T> where
T: SpdElement,
[src]
T: SpdElement,
impl<T> Display for SpdShape<T> where
T: Display,
T: SpdElement,
[src]
T: Display,
T: SpdElement,
impl<T: PartialEq> PartialEq<SpdShape<T>> for SpdShape<T> where
T: SpdElement,
[src]
T: SpdElement,
impl<T: PartialOrd> PartialOrd<SpdShape<T>> for SpdShape<T> where
T: SpdElement,
[src]
T: SpdElement,
fn partial_cmp(&self, other: &SpdShape<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &SpdShape<T>) -> bool
[src]
fn le(&self, other: &SpdShape<T>) -> bool
[src]
fn gt(&self, other: &SpdShape<T>) -> bool
[src]
fn ge(&self, other: &SpdShape<T>) -> bool
[src]
impl<T> StructuralPartialEq for SpdShape<T> where
T: SpdElement,
[src]
T: SpdElement,
Auto Trait Implementations
impl<T> RefUnwindSafe for SpdShape<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for SpdShape<T> where
T: Send,
T: Send,
impl<T> Sync for SpdShape<T> where
T: Sync,
T: Sync,
impl<T> Unpin for SpdShape<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for SpdShape<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,