Struct Contour

Source
pub struct Contour<Z, X = f64, Y = f64>{ /* private fields */ }

Implementations§

Source§

impl<Z> Contour<Z, f64, f64>
where Z: Serialize + Default,

Source

pub fn new_z(z: Vec<Z>) -> Box<Contour<Z, f64, f64>>

Source§

impl<Z, X, Y> Contour<Z, X, Y>

Source

pub fn new(x: Vec<X>, y: Vec<Y>, z: Vec<Z>) -> Box<Contour<Z, X, Y>>

Source

pub fn x(self, x: Vec<X>) -> Box<Contour<Z, X, Y>>

Source

pub fn x0(self, x0: X) -> Box<Contour<Z, X, Y>>

Source

pub fn dx(self, dx: X) -> Box<Contour<Z, X, Y>>

Source

pub fn y0(self, y0: Y) -> Box<Contour<Z, X, Y>>

Source

pub fn dy(self, dy: Y) -> Box<Contour<Z, X, Y>>

Source

pub fn y(self, y: Vec<Y>) -> Box<Contour<Z, X, Y>>

Source

pub fn name(self, name: &str) -> Box<Contour<Z, X, Y>>

Source

pub fn visible(self, visible: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn show_legend(self, show_legend: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn legend_group(self, legend_group: &str) -> Box<Contour<Z, X, Y>>

Source

pub fn opacity(self, opacity: f64) -> Box<Contour<Z, X, Y>>

Source

pub fn text<S: AsRef<str>>(self, text: Vec<S>) -> Box<Contour<Z, X, Y>>

Source

pub fn hover_text(self, hover_text: Vec<String>) -> Box<Contour<Z, X, Y>>

Source

pub fn hover_info(self, hover_info: HoverInfo) -> Box<Contour<Z, X, Y>>

Source

pub fn hover_template(self, hover_template: &str) -> Box<Contour<Z, X, Y>>

Source

pub fn x_axis(self, axis: &str) -> Box<Contour<Z, X, Y>>

Source

pub fn y_axis(self, axis: &str) -> Box<Contour<Z, X, Y>>

Source

pub fn hover_template_array<S: AsRef<str>>( self, hover_template: Vec<S>, ) -> Box<Contour<Z, X, Y>>

Source

pub fn line(self, line: Line) -> Box<Contour<Z, X, Y>>

Source

pub fn color_bar(self, color_bar: ColorBar) -> Box<Contour<Z, X, Y>>

Source

pub fn auto_color_scale(self, auto_color_scale: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn color_scale(self, color_scale: ColorScale) -> Box<Contour<Z, X, Y>>

Source

pub fn show_scale(self, show_scale: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn reverse_scale(self, reverse_scale: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn zauto(self, zauto: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn zhover_format(self, zhover_format: &str) -> Box<Contour<Z, X, Y>>

Source

pub fn zmax(self, zmax: Z) -> Box<Contour<Z, X, Y>>

Source

pub fn zmid(self, zmid: Z) -> Box<Contour<Z, X, Y>>

Source

pub fn zmin(self, zmin: Z) -> Box<Contour<Z, X, Y>>

Source

pub fn auto_contour(self, auto_contour: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn connect_gaps(self, connect_gaps: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn contours(self, contours: Contours) -> Box<Contour<Z, X, Y>>

Source

pub fn fill_color<C: Color>(self, fill_color: C) -> Box<Contour<Z, X, Y>>

Source

pub fn hover_label(self, hover_label: Label) -> Box<Contour<Z, X, Y>>

Source

pub fn hover_on_gaps(self, hover_on_gaps: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn n_contours(self, n_contours: usize) -> Box<Contour<Z, X, Y>>

Source

pub fn transpose(self, transpose: bool) -> Box<Contour<Z, X, Y>>

Source

pub fn x_calendar(self, x_calendar: Calendar) -> Box<Contour<Z, X, Y>>

Source

pub fn y_calendar(self, y_calendar: Calendar) -> Box<Contour<Z, X, Y>>

Trait Implementations§

Source§

impl<Z, X, Y> Debug for Contour<Z, X, Y>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<Z, X, Y> Default for Contour<Z, X, Y>

Source§

fn default() -> Contour<Z, X, Y>

Returns the “default value” for a type. Read more
Source§

impl<Z, X, Y> Serialize for Contour<Z, X, Y>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<X, Y, Z> Trace for Contour<X, Y, Z>

Auto Trait Implementations§

§

impl<Z, X, Y> Freeze for Contour<Z, X, Y>
where X: Freeze, Y: Freeze, Z: Freeze,

§

impl<Z, X, Y> RefUnwindSafe for Contour<Z, X, Y>

§

impl<Z, X, Y> Send for Contour<Z, X, Y>
where X: Send, Y: Send, Z: Send,

§

impl<Z, X, Y> Sync for Contour<Z, X, Y>
where X: Sync, Y: Sync, Z: Sync,

§

impl<Z, X, Y> Unpin for Contour<Z, X, Y>
where X: Unpin, Y: Unpin, Z: Unpin,

§

impl<Z, X, Y> UnwindSafe for Contour<Z, X, Y>
where X: UnwindSafe, Y: UnwindSafe, Z: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V