pub struct AlligatorEngine { /* private fields */ }Expand description
Williams Alligator Engine (Jaw, Teeth, Lips). Jaw = 13 SMMA (RMA) on hl2, Teeth = 8 SMMA on hl2, Lips = 5 SMMA on hl2.
Implementations§
Trait Implementations§
Source§impl Clone for AlligatorEngine
impl Clone for AlligatorEngine
Source§fn clone(&self) -> AlligatorEngine
fn clone(&self) -> AlligatorEngine
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 moreSource§impl Debug for AlligatorEngine
impl Debug for AlligatorEngine
Source§impl Default for AlligatorEngine
impl Default for AlligatorEngine
Source§impl Indicator for AlligatorEngine
impl Indicator for AlligatorEngine
fn name(&self) -> &str
fn warmup_period(&self) -> usize
fn reset(&mut self)
fn on_bar(&mut self, bar: &Bar) -> Option<IndicatorOutput>
fn alerts(&self) -> Vec<IndicatorAlert>
Source§fn on_checked_bar(
&mut self,
bar: &Bar,
) -> Result<Option<IndicatorOutput>, BarValidationError>
fn on_checked_bar( &mut self, bar: &Bar, ) -> Result<Option<IndicatorOutput>, BarValidationError>
Validates a bar before forwarding it to
Indicator::on_bar.Auto Trait Implementations§
impl Freeze for AlligatorEngine
impl RefUnwindSafe for AlligatorEngine
impl Send for AlligatorEngine
impl Sync for AlligatorEngine
impl Unpin for AlligatorEngine
impl UnsafeUnpin for AlligatorEngine
impl UnwindSafe for AlligatorEngine
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