pub struct StudyPane {
pub height: Option<f32>,
pub range: Option<(f64, f64)>,
pub levels: Vec<(f64, Color32, &'static str)>,
pub fill_between_levels: bool,
}Expand description
Default layout and reference levels supplied by a study for its separate pane.
Fields§
§height: Option<f32>Preferred initial height in logical pixels; None shares the available space.
range: Option<(f64, f64)>Fixed initial range, or automatic fitting to visible values.
levels: Vec<(f64, Color32, &'static str)>Reference level, colour and caption: the defaults of
StudySettings::levels.
fill_between_levels: boolFill between the outer levels using Indicator::level_fill_color.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StudyPane
impl RefUnwindSafe for StudyPane
impl Send for StudyPane
impl Sync for StudyPane
impl Unpin for StudyPane
impl UnsafeUnpin for StudyPane
impl UnwindSafe for StudyPane
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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