#[repr(C)]pub struct ChartBracket {
pub y0: f32,
pub y1: f32,
pub label: String,
pub info: bool,
}Expand description
A right-side bracket annotation spanning [y0, y1] with a label note (e.g. a ceiling band).
Fields§
§y0: f32§y1: f32§label: String§info: boolShow an ⓘ info marker above the label (e.g. a “Ceiling max …” note). label may contain
\n for multiple lines.
Implementations§
Trait Implementations§
Source§impl Clone for ChartBracket
impl Clone for ChartBracket
Source§fn clone(&self) -> ChartBracket
fn clone(&self) -> ChartBracket
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChartBracket
impl Debug for ChartBracket
Source§impl<'de> Deserialize<'de> for ChartBracket
impl<'de> Deserialize<'de> for ChartBracket
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
Source§impl<'ʄ> Facet<'ʄ> for ChartBracket
impl<'ʄ> Facet<'ʄ> for ChartBracket
Source§impl PartialEq for ChartBracket
impl PartialEq for ChartBracket
Source§fn eq(&self, other: &ChartBracket) -> bool
fn eq(&self, other: &ChartBracket) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChartBracket
impl Serialize for ChartBracket
impl StructuralPartialEq for ChartBracket
Auto Trait Implementations§
impl Freeze for ChartBracket
impl RefUnwindSafe for ChartBracket
impl Send for ChartBracket
impl Sync for ChartBracket
impl Unpin for ChartBracket
impl UnsafeUnpin for ChartBracket
impl UnwindSafe for ChartBracket
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