pub struct PlottingConfig {
pub image_size: u32,
pub n_threads: Option<usize>,
pub image_type: ImageType,
pub show_progressbar: bool,
}
Available on crate feature
cpu_os_threads
only.Expand description
Contains settings for plotting results.
Fields§
§image_size: u32
Image size in pixels. The plotting function of the underlying simulation domain may choose to modifiy this parameter.
n_threads: Option<usize>
The number of threads used for plotting. Notice that this number is not the same as in SimulationMetaParams.
image_type: ImageType
The ImageType to export.
show_progressbar: bool
Shows a progressbar while exporting images.
Trait Implementations§
Source§impl Clone for PlottingConfig
impl Clone for PlottingConfig
Source§fn clone(&self) -> PlottingConfig
fn clone(&self) -> PlottingConfig
Returns a copy 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 PlottingConfig
impl Debug for PlottingConfig
Source§impl Default for PlottingConfig
impl Default for PlottingConfig
Source§impl<'de> Deserialize<'de> for PlottingConfig
impl<'de> Deserialize<'de> for PlottingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PlottingConfig
impl RefUnwindSafe for PlottingConfig
impl Send for PlottingConfig
impl Sync for PlottingConfig
impl Unpin for PlottingConfig
impl UnwindSafe for PlottingConfig
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more