pub struct SupertrendBar {
pub value: f64,
pub direction: i8,
}Fields§
§value: f64§direction: i8+1 uptrend (line under price), −1 downtrend (line over price).
Trait Implementations§
Source§impl Clone for SupertrendBar
impl Clone for SupertrendBar
Source§fn clone(&self) -> SupertrendBar
fn clone(&self) -> SupertrendBar
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 moreimpl Copy for SupertrendBar
Source§impl Debug for SupertrendBar
impl Debug for SupertrendBar
Source§impl PartialEq for SupertrendBar
impl PartialEq for SupertrendBar
impl StructuralPartialEq for SupertrendBar
Auto Trait Implementations§
impl Freeze for SupertrendBar
impl RefUnwindSafe for SupertrendBar
impl Send for SupertrendBar
impl Sync for SupertrendBar
impl Unpin for SupertrendBar
impl UnsafeUnpin for SupertrendBar
impl UnwindSafe for SupertrendBar
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> 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