#[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 f32Trait Implementations§
Source§impl Clone for CurveSegment
impl Clone for CurveSegment
Source§fn clone(&self) -> CurveSegment
fn clone(&self) -> CurveSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CurveSegment
Source§impl Debug for CurveSegment
impl Debug for CurveSegment
Auto Trait Implementations§
impl !Send for CurveSegment
impl !Sync for CurveSegment
impl Freeze for CurveSegment
impl RefUnwindSafe for CurveSegment
impl Unpin for CurveSegment
impl UnsafeUnpin 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