pub enum CfvoPosition {
Min,
Max,
Percent(f64),
Number(f64),
}Expand description
A threshold position for a ColorScaleStop/DataBar min or max (<cfvo type=".." val="..">,
CT_Cfvo) — only the three most common ST_CfvoType values are modeled;
formula/percentile/autoMin/ autoMax are not.
Variants§
Min
type="min": the range’s own minimum value — Min/Max carry no val attribute at all
when written.
Max
type="max": the range’s own maximum value.
Percent(f64)
type="percent", e.g. Percent(50.0) for the 50th percentile point.
Number(f64)
type="num": a fixed literal value.
Trait Implementations§
Source§impl Clone for CfvoPosition
impl Clone for CfvoPosition
Source§fn clone(&self) -> CfvoPosition
fn clone(&self) -> CfvoPosition
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 CfvoPosition
impl Debug for CfvoPosition
Source§impl PartialEq for CfvoPosition
impl PartialEq for CfvoPosition
impl StructuralPartialEq for CfvoPosition
Auto Trait Implementations§
impl Freeze for CfvoPosition
impl RefUnwindSafe for CfvoPosition
impl Send for CfvoPosition
impl Sync for CfvoPosition
impl Unpin for CfvoPosition
impl UnsafeUnpin for CfvoPosition
impl UnwindSafe for CfvoPosition
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