[][src]Struct lcms2_sys::ffi::CurveSegment

#[repr(C)]pub struct CurveSegment {
    pub x0: f32,
    pub x1: f32,
    pub Type: i32,
    pub Params: [f64; 10],
    pub nGridPoints: u32,
    pub SampledPoints: *mut f32,
}

This describes a curve segment.

For a table of supported types, see the manual. User can increase the number of available types by using a proper plug-in. Parametric segments allow 10 parameters at most

Fields

x0: f32x1: f32Type: i32Params: [f64; 10]nGridPoints: u32SampledPoints: *mut f32

Trait Implementations

impl Clone for CurveSegment[src]

impl Copy for CurveSegment[src]

impl Debug for CurveSegment[src]

impl Default for CurveSegment[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.