pub struct HydroWriteConfig<'a> {
pub show_metadata: bool,
pub show_location_groups: bool,
pub use_short_labels: bool,
pub location_names: &'a SecondaryMap<LocationKey, String>,
}Available on crate feature
viz only.Expand description
Configuration for graph writing.
Fields§
§show_metadata: bool§show_location_groups: bool§use_short_labels: bool§location_names: &'a SecondaryMap<LocationKey, String>Trait Implementations§
Source§impl<'a> Clone for HydroWriteConfig<'a>
impl<'a> Clone for HydroWriteConfig<'a>
Source§fn clone(&self) -> HydroWriteConfig<'a>
fn clone(&self) -> HydroWriteConfig<'a>
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<'a> Debug for HydroWriteConfig<'a>
impl<'a> Debug for HydroWriteConfig<'a>
Source§impl Default for HydroWriteConfig<'_>
impl Default for HydroWriteConfig<'_>
impl<'a> Copy for HydroWriteConfig<'a>
Auto Trait Implementations§
impl<'a> Freeze for HydroWriteConfig<'a>
impl<'a> RefUnwindSafe for HydroWriteConfig<'a>
impl<'a> Send for HydroWriteConfig<'a>
impl<'a> Sync for HydroWriteConfig<'a>
impl<'a> Unpin for HydroWriteConfig<'a>
impl<'a> UnwindSafe for HydroWriteConfig<'a>
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 moreCreates a shared type from an unshared type.