pub enum FillPolicy {
ForwardFill,
ZeroFlow,
}Expand description
How a stream’s observations collapse onto a bar.
Variants§
ForwardFill
State/level stream — carry the last observation forward into empty bars.
ZeroFlow
Event-flow stream — sum observations falling inside the bar; empty = 0.
Trait Implementations§
Source§impl Clone for FillPolicy
impl Clone for FillPolicy
Source§fn clone(&self) -> FillPolicy
fn clone(&self) -> FillPolicy
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 FillPolicy
Source§impl Debug for FillPolicy
impl Debug for FillPolicy
impl Eq for FillPolicy
Source§impl PartialEq for FillPolicy
impl PartialEq for FillPolicy
Source§fn eq(&self, other: &FillPolicy) -> bool
fn eq(&self, other: &FillPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FillPolicy
Auto Trait Implementations§
impl Freeze for FillPolicy
impl RefUnwindSafe for FillPolicy
impl Send for FillPolicy
impl Sync for FillPolicy
impl Unpin for FillPolicy
impl UnsafeUnpin for FillPolicy
impl UnwindSafe for FillPolicy
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