Struct Surface

Source
pub struct Surface<X, Y, Z>
where X: Serialize, Y: Serialize, Z: Serialize,
{ /* private fields */ }

Implementations§

Source§

impl<X, Y, Z> Surface<X, Y, Z>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn surface_color<C: Color>( self, surface_color: Vec<C>, ) -> Box<Surface<X, Y, Z>>

Source

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

Source

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

Source

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

Source

pub fn hover_text_array<S: AsRef<str>>( self, hover_text: Vec<S>, ) -> Box<Surface<X, Y, Z>>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub fn cauto(self, cauto: bool) -> Box<Surface<X, Y, Z>>

Source

pub fn cmin(self, cmin: f64) -> Box<Surface<X, Y, Z>>

Source

pub fn cmax(self, cmax: f64) -> Box<Surface<X, Y, Z>>

Source

pub fn cmid(self, cmid: f64) -> Box<Surface<X, Y, Z>>

Source

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

Source

pub fn contours(self, contours: SurfaceContours) -> Box<Surface<X, Y, Z>>

Source

pub fn hide_surface(self, hide_surface: bool) -> Box<Surface<X, Y, Z>>

Source

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

Source

pub fn lighting(self, lighting: Lighting) -> Box<Surface<X, Y, Z>>

Source

pub fn light_position(self, light_position: Position) -> Box<Surface<X, Y, Z>>

Source

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

Source

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

Source

pub fn z_calendar(self, z_calendar: Calendar) -> Box<Surface<X, Y, Z>>

Trait Implementations§

Source§

impl<X, Y, Z> Debug for Surface<X, Y, Z>
where X: Serialize + Debug, Y: Serialize + Debug, Z: Serialize + Debug,

Source§

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

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

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

Source§

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

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

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

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 Surface<X, Y, Z>
where X: Serialize, Y: Serialize, Z: Serialize,

Auto Trait Implementations§

§

impl<X, Y, Z> Freeze for Surface<X, Y, Z>

§

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

§

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

§

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

§

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

§

impl<X, Y, Z> UnwindSafe for Surface<X, Y, Z>
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