pub struct CurveData<'a>(pub &'a Object);Expand description
Multi-purpose data points for defining a curve. The use of this generic class is discouraged if a more specific class can be used to specify the x and y axis values along with their specific data types.
Tuple Fields§
§0: &'a ObjectImplementations§
Source§impl<'a> CurveData<'a>
impl<'a> CurveData<'a>
Sourcepub fn curve(&self) -> Option<TypedRef<Curve<'static>>>
pub fn curve(&self) -> Option<TypedRef<Curve<'static>>>
The point data values that define this curve.
Sourcepub fn curve_in<'d>(&self, dataset: &'d Dataset) -> Option<Curve<'d>>
pub fn curve_in<'d>(&self, dataset: &'d Dataset) -> Option<Curve<'d>>
Resolve Curve through dataset.
Sourcepub fn xvalue(&self) -> Option<f64>
pub fn xvalue(&self) -> Option<f64>
The data value of the X-axis variable, depending on the X-axis units.
Unit: none.
Trait Implementations§
impl<'a> Copy for CurveData<'a>
Auto Trait Implementations§
impl<'a> Forget for CurveData<'a>
impl<'a> Freeze for CurveData<'a>
impl<'a> Move for CurveData<'a>
impl<'a> RefUnwindSafe for CurveData<'a>
impl<'a> Send for CurveData<'a>
impl<'a> Sync for CurveData<'a>
impl<'a> Unpin for CurveData<'a>
impl<'a> UnsafeUnpin for CurveData<'a>where
&'a Object: UnsafeUnpin,
impl<'a> UnwindSafe for CurveData<'a>where
&'a Object: UnwindSafe,
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