pub struct AxesMetadata {Show 24 fields
pub title: Option<String>,
pub x_label: Option<String>,
pub y_label: Option<String>,
pub z_label: Option<String>,
pub x_limits: Option<(f64, f64)>,
pub y_limits: Option<(f64, f64)>,
pub z_limits: Option<(f64, f64)>,
pub x_log: bool,
pub y_log: bool,
pub view_azimuth_deg: Option<f32>,
pub view_elevation_deg: Option<f32>,
pub grid_enabled: bool,
pub box_enabled: bool,
pub axis_equal: bool,
pub legend_enabled: bool,
pub colorbar_enabled: bool,
pub colormap: ColorMap,
pub color_limits: Option<(f64, f64)>,
pub title_style: TextStyle,
pub x_label_style: TextStyle,
pub y_label_style: TextStyle,
pub z_label_style: TextStyle,
pub legend_style: LegendStyle,
pub world_text_annotations: Vec<TextAnnotation>,
}Fields§
§title: Option<String>§x_label: Option<String>§y_label: Option<String>§z_label: Option<String>§x_limits: Option<(f64, f64)>§y_limits: Option<(f64, f64)>§z_limits: Option<(f64, f64)>§x_log: bool§y_log: bool§view_azimuth_deg: Option<f32>§view_elevation_deg: Option<f32>§grid_enabled: bool§box_enabled: bool§axis_equal: bool§legend_enabled: bool§colorbar_enabled: bool§colormap: ColorMap§color_limits: Option<(f64, f64)>§title_style: TextStyle§x_label_style: TextStyle§y_label_style: TextStyle§z_label_style: TextStyle§legend_style: LegendStyle§world_text_annotations: Vec<TextAnnotation>Trait Implementations§
Source§impl Clone for AxesMetadata
impl Clone for AxesMetadata
Source§fn clone(&self) -> AxesMetadata
fn clone(&self) -> AxesMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AxesMetadata
impl Debug for AxesMetadata
Source§impl Default for AxesMetadata
impl Default for AxesMetadata
Source§fn default() -> AxesMetadata
fn default() -> AxesMetadata
Returns the “default value” for a type. Read more
Source§impl From<AxesMetadata> for SerializedAxesMetadata
impl From<AxesMetadata> for SerializedAxesMetadata
Source§fn from(value: AxesMetadata) -> Self
fn from(value: AxesMetadata) -> Self
Converts to this type from the input type.
Source§impl From<SerializedAxesMetadata> for AxesMetadata
impl From<SerializedAxesMetadata> for AxesMetadata
Source§fn from(value: SerializedAxesMetadata) -> Self
fn from(value: SerializedAxesMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AxesMetadata
impl RefUnwindSafe for AxesMetadata
impl Send for AxesMetadata
impl Sync for AxesMetadata
impl Unpin for AxesMetadata
impl UnsafeUnpin for AxesMetadata
impl UnwindSafe for AxesMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().