pub struct Surface<X, Y, Z>{ /* private fields */ }
Implementations§
Source§impl<X, Y, Z> Surface<X, Y, Z>
impl<X, Y, Z> Surface<X, Y, Z>
pub fn new(z: Vec<Vec<Z>>) -> Box<Surface<X, Y, Z>>
pub fn x(self, x: Vec<X>) -> Box<Surface<X, Y, Z>>
pub fn y(self, y: Vec<Y>) -> Box<Surface<X, Y, Z>>
pub fn name(self, name: &str) -> Box<Surface<X, Y, Z>>
pub fn visible(self, visible: bool) -> Box<Surface<X, Y, Z>>
pub fn show_legend(self, show_legend: bool) -> Box<Surface<X, Y, Z>>
pub fn legend_group(self, legend_group: &str) -> Box<Surface<X, Y, Z>>
pub fn opacity(self, opacity: f64) -> Box<Surface<X, Y, Z>>
pub fn surface_color<C: Color>( self, surface_color: Vec<C>, ) -> Box<Surface<X, Y, Z>>
pub fn text(self, text: &str) -> Box<Surface<X, Y, Z>>
pub fn text_array<S: AsRef<str>>(self, text: Vec<S>) -> Box<Surface<X, Y, Z>>
pub fn hover_text(self, hover_text: &str) -> Box<Surface<X, Y, Z>>
pub fn hover_text_array<S: AsRef<str>>( self, hover_text: Vec<S>, ) -> Box<Surface<X, Y, Z>>
pub fn hover_info(self, hover_info: HoverInfo) -> Box<Surface<X, Y, Z>>
pub fn hover_template(self, hover_template: &str) -> Box<Surface<X, Y, Z>>
pub fn hover_template_array<S: AsRef<str>>( self, hover_template: Vec<S>, ) -> Box<Surface<X, Y, Z>>
pub fn color_bar(self, color_bar: ColorBar) -> Box<Surface<X, Y, Z>>
pub fn auto_color_scale(self, auto_color_scale: bool) -> Box<Surface<X, Y, Z>>
pub fn color_scale(self, color_scale: ColorScale) -> Box<Surface<X, Y, Z>>
pub fn show_scale(self, show_scale: bool) -> Box<Surface<X, Y, Z>>
pub fn reverse_scale(self, reverse_scale: bool) -> Box<Surface<X, Y, Z>>
pub fn cauto(self, cauto: bool) -> Box<Surface<X, Y, Z>>
pub fn cmin(self, cmin: f64) -> Box<Surface<X, Y, Z>>
pub fn cmax(self, cmax: f64) -> Box<Surface<X, Y, Z>>
pub fn cmid(self, cmid: f64) -> Box<Surface<X, Y, Z>>
pub fn connect_gaps(self, connect_gaps: bool) -> Box<Surface<X, Y, Z>>
pub fn contours(self, contours: SurfaceContours) -> Box<Surface<X, Y, Z>>
pub fn hide_surface(self, hide_surface: bool) -> Box<Surface<X, Y, Z>>
pub fn hover_label(self, hover_label: Label) -> Box<Surface<X, Y, Z>>
pub fn lighting(self, lighting: Lighting) -> Box<Surface<X, Y, Z>>
pub fn light_position(self, light_position: Position) -> Box<Surface<X, Y, Z>>
pub fn x_calendar(self, x_calendar: Calendar) -> Box<Surface<X, Y, Z>>
pub fn y_calendar(self, y_calendar: Calendar) -> Box<Surface<X, Y, Z>>
pub fn z_calendar(self, z_calendar: Calendar) -> Box<Surface<X, Y, Z>>
Trait Implementations§
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>
impl<X, Y, Z> Sync for Surface<X, Y, Z>
impl<X, Y, Z> Unpin for Surface<X, Y, Z>
impl<X, Y, Z> UnwindSafe for Surface<X, Y, Z>
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