pub enum MarkerPos {
Show 13 variants
AboveBar,
BelowBar,
InBar,
Top,
Bottom,
Left,
Right,
AbsoluteUp,
AbsoluteDown,
Absolute,
AtPriceTop,
AtPriceBottom,
AtPriceMiddle,
}Expand description
Marker position relative to the data point
Variants§
AboveBar
Above the high price
BelowBar
Below the low price
InBar
At the data point (on the candle/bar)
Top
At the top of the chart pane
Bottom
At the bottom of the chart pane
Left
At the left edge of the chart
Right
At the right edge of the chart
AbsoluteUp
Absolute pixel position (up arrow)
AbsoluteDown
Absolute pixel position (down arrow)
Absolute
Absolute pixel position (centered)
AtPriceTop
Just above Marker::price, the shape’s lower edge on the price.
AtPriceBottom
Just below Marker::price, the shape’s upper edge on the price.
AtPriceMiddle
Centred on Marker::price.
Trait Implementations§
impl Copy for MarkerPos
Source§impl<'de> Deserialize<'de> for MarkerPos
impl<'de> Deserialize<'de> for MarkerPos
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
impl Eq for MarkerPos
impl StructuralPartialEq for MarkerPos
Auto Trait Implementations§
impl Freeze for MarkerPos
impl RefUnwindSafe for MarkerPos
impl Send for MarkerPos
impl Sync for MarkerPos
impl Unpin for MarkerPos
impl UnsafeUnpin for MarkerPos
impl UnwindSafe for MarkerPos
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. 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 more