pub struct Scatter3D<'a> {
pub label: &'a str,
pub xs_f32: Option<&'a [f32]>,
pub ys_f32: Option<&'a [f32]>,
pub zs_f32: Option<&'a [f32]>,
pub xs_f64: Option<&'a [f64]>,
pub ys_f64: Option<&'a [f64]>,
pub zs_f64: Option<&'a [f64]>,
pub flags: Scatter3DFlags,
pub offset: i32,
pub stride: i32,
}Fields§
§label: &'a str§xs_f32: Option<&'a [f32]>§ys_f32: Option<&'a [f32]>§zs_f32: Option<&'a [f32]>§xs_f64: Option<&'a [f64]>§ys_f64: Option<&'a [f64]>§zs_f64: Option<&'a [f64]>§flags: Scatter3DFlags§offset: i32§stride: i32Implementations§
Source§impl<'a> Scatter3D<'a>
impl<'a> Scatter3D<'a>
pub fn f32(label: &'a str, xs: &'a [f32], ys: &'a [f32], zs: &'a [f32]) -> Self
pub fn f64(label: &'a str, xs: &'a [f64], ys: &'a [f64], zs: &'a [f64]) -> Self
pub fn flags(self, flags: Scatter3DFlags) -> Self
pub fn offset(self, o: i32) -> Self
pub fn stride(self, s: i32) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Scatter3D<'a>
impl<'a> RefUnwindSafe for Scatter3D<'a>
impl<'a> Send for Scatter3D<'a>
impl<'a> Sync for Scatter3D<'a>
impl<'a> Unpin for Scatter3D<'a>
impl<'a> UnwindSafe for Scatter3D<'a>
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