Realm

oa::OhlcvWindows

Host-only borrowed sliding windows. Construct separately within each split.

StRust public API

Declaration

pub struct OhlcvWindows<'a> { /* private fields */ }
Public Rust declaration.

Public Methods

pub fn len(&self) -> i64
pub fn is_empty(&self) -> bool
pub fn window(&self, index: i64) -> Result<(OhlcvView<'a>, OhlcvView<'a>)>
fn clone(&self) -> OhlcvWindows<'a>
fn fmt(&self, f: &mut Formatter<'_>) -> Result

Associated Functions

pub fn new(source: OhlcvView<'a>, config: OhlcvWindowConfig) -> Result<Self>

Public Method Documentation

pub fn len( &self ) -> i64
No public source comment is attached to this declaration.
pub fn is_empty( &self ) -> bool
No public source comment is attached to this declaration.
pub fn window(&self, index: i64) -> Result<( OhlcvView<'a>, OhlcvView<'a> )>
No public source comment is attached to this declaration.
fn clone( &self ) -> OhlcvWindows<'a>
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
pub fn new( source: OhlcvView<'a>, config: OhlcvWindowConfig ) -> Result<Self>
No public source comment is attached to this declaration.