#[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,
}
Expand description
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: f32
§x1: f32
§Type: i32
§Params: [f64; 10]
§nGridPoints: u32
§SampledPoints: *mut f32
Trait Implementations§
Source§impl Clone for CurveSegment
impl Clone for CurveSegment
Source§fn clone(&self) -> CurveSegment
fn clone(&self) -> CurveSegment
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CurveSegment
impl Debug for CurveSegment
Source§impl Default for CurveSegment
impl Default for CurveSegment
impl Copy for CurveSegment
Auto Trait Implementations§
impl Freeze for CurveSegment
impl RefUnwindSafe for CurveSegment
impl !Send for CurveSegment
impl !Sync for CurveSegment
impl Unpin for CurveSegment
impl UnwindSafe for CurveSegment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more