pub struct DisplayParams {Show 16 fields
pub show_colorbar: bool,
pub transparent: bool,
pub draw_border: bool,
pub latex_rendering: bool,
pub units: Option<String>,
pub extend: Extend,
pub tick_direction: TickDirection,
pub tick_font_size: Option<f32>,
pub units_font_size: Option<f32>,
pub rlabel: Option<String>,
pub llabel: Option<String>,
pub label_font_size: Option<f32>,
pub mask: Option<PixelMask>,
pub title: Option<String>,
pub show_title: bool,
pub scale_text: bool,
}Expand description
Display and layout parameters.
Fields§
§show_colorbar: bool§transparent: bool§draw_border: bool§latex_rendering: bool§units: Option<String>§extend: Extend§tick_direction: TickDirection§tick_font_size: Option<f32>§units_font_size: Option<f32>§rlabel: Option<String>§llabel: Option<String>§label_font_size: Option<f32>§mask: Option<PixelMask>§title: Option<String>§show_title: bool§scale_text: boolAuto Trait Implementations§
impl Freeze for DisplayParams
impl RefUnwindSafe for DisplayParams
impl Send for DisplayParams
impl Sync for DisplayParams
impl Unpin for DisplayParams
impl UnsafeUnpin for DisplayParams
impl UnwindSafe for DisplayParams
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> 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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.