pub struct IchimokuConfig {
pub conversion: usize,
pub base: usize,
pub lagging: usize,
pub displacement: usize,
}Expand description
Ichimoku Cloud configuration.
Fields§
§conversion: usize§base: usize§lagging: usize§displacement: usizeImplementations§
Source§impl IchimokuConfig
impl IchimokuConfig
Sourcepub fn conversion_line(&self) -> IchimokuConversionRef
pub fn conversion_line(&self) -> IchimokuConversionRef
Get the Tenkan-sen (Conversion Line) reference.
Sourcepub fn base_line(&self) -> IchimokuBaseRef
pub fn base_line(&self) -> IchimokuBaseRef
Get the Kijun-sen (Base Line) reference.
Sourcepub fn leading_span_a(&self) -> IchimokuLeadingARef
pub fn leading_span_a(&self) -> IchimokuLeadingARef
Get the Senkou Span A (Leading Span A) reference.
Sourcepub fn leading_span_b(&self) -> IchimokuLeadingBRef
pub fn leading_span_b(&self) -> IchimokuLeadingBRef
Get the Senkou Span B (Leading Span B) reference.
Sourcepub fn lagging_span(&self) -> IchimokuLaggingRef
pub fn lagging_span(&self) -> IchimokuLaggingRef
Get the Chikou Span (Lagging Span) reference.
Trait Implementations§
Source§impl Clone for IchimokuConfig
impl Clone for IchimokuConfig
Source§fn clone(&self) -> IchimokuConfig
fn clone(&self) -> IchimokuConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 IchimokuConfig
impl Debug for IchimokuConfig
impl Copy for IchimokuConfig
Auto Trait Implementations§
impl Freeze for IchimokuConfig
impl RefUnwindSafe for IchimokuConfig
impl Send for IchimokuConfig
impl Sync for IchimokuConfig
impl Unpin for IchimokuConfig
impl UnsafeUnpin for IchimokuConfig
impl UnwindSafe for IchimokuConfig
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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