Updatable

Trait Updatable 

Source
pub trait Updatable<E: Copy + Debug> {
    // Required method
    fn update(&mut self) -> NothingOrError<E>;
}
Expand description

Something with an update method. Mostly for subtraiting.

Required Methods§

Source

fn update(&mut self) -> NothingOrError<E>

As this trait is very generic, exactly what this does will be very dependent on the implementor.

Implementors§

Source§

impl<E: Copy + Debug> Updatable<E> for Differential<'_, E>

Source§

impl<E: Copy + Debug> Updatable<E> for GearTrain<'_, E>

Source§

impl<E: Copy + Debug> Updatable<E> for Invert<'_, E>

Source§

impl<E: Copy + Debug> Updatable<E> for Time

Source§

impl<E: Copy + Debug> Updatable<E> for MotionProfile

Source§

impl<E: Copy + Debug> Updatable<E> for NoneGetter

Source§

impl<E: Copy + Debug> Updatable<E> for Terminal<'_, E>

Source§

impl<G1: Getter<bool, E> + ?Sized, G2: Getter<bool, E> + ?Sized, E: Copy + Debug> Updatable<E> for AndStream<G1, G2, E>

Source§

impl<G1: Getter<bool, E> + ?Sized, G2: Getter<bool, E> + ?Sized, E: Copy + Debug> Updatable<E> for OrStream<G1, G2, E>

Source§

impl<G, TG: TimeGetter<E>, E: Copy + Debug> Updatable<E> for GetterFromHistory<'_, G, TG, E>

Source§

impl<G: Getter<bool, E> + ?Sized, E: Copy + Debug> Updatable<E> for NotStream<G, E>

Source§

impl<G: Getter<f32, E> + ?Sized, E: Copy + Debug> Updatable<E> for PIDControllerStream<G, E>

Source§

impl<G: Getter<f32, E>, E: Copy + Debug> Updatable<E> for FloatToQuantity<G, E>

Source§

impl<G: Getter<Quantity, E> + ?Sized, E: Copy + Debug> Updatable<E> for EWMAStream<Quantity, G, E>

Source§

impl<G: Getter<Quantity, E> + ?Sized, E: Copy + Debug> Updatable<E> for MovingAverageStream<Quantity, G, E>

Source§

impl<G: Getter<Quantity, E> + ?Sized, E: Copy + Debug> Updatable<E> for AccelerationToState<G, E>

Source§

impl<G: Getter<Quantity, E> + ?Sized, E: Copy + Debug> Updatable<E> for PositionToState<G, E>

Source§

impl<G: Getter<Quantity, E> + ?Sized, E: Copy + Debug> Updatable<E> for QuantityToFloat<G, E>

Source§

impl<G: Getter<Quantity, E> + ?Sized, E: Copy + Debug> Updatable<E> for VelocityToState<G, E>

Source§

impl<G: Getter<Quantity, E> + ?Sized, E: Copy + Debug> Updatable<E> for DerivativeStream<G, E>

Source§

impl<G: Getter<Quantity, E> + ?Sized, E: Copy + Debug> Updatable<E> for IntegralStream<G, E>

Source§

impl<G: Getter<State, E> + ?Sized, E: Copy + Debug> Updatable<E> for CommandPID<G, E>

Source§

impl<GB: Getter<f32, E> + ?Sized, GE: Getter<f32, E> + ?Sized, E: Copy + Debug> Updatable<E> for ExponentStream<GB, GE, E>

Source§

impl<T, G: Getter<T, E> + ?Sized, TG: TimeGetter<E> + ?Sized, E: Copy + Debug> Updatable<E> for Expirer<T, G, TG, E>

Source§

impl<T, GC: Getter<bool, E> + ?Sized, GI: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for IfStream<T, GC, GI, E>

Source§

impl<T, GC: Getter<bool, E> + ?Sized, GT: Getter<T, E> + ?Sized, GF: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for IfElseStream<T, GC, GT, GF, E>

Source§

impl<T, const C: usize, E: Copy + Debug> Updatable<E> for Latest<T, C, E>

Source§

impl<T: Clone + Default + AddAssign + Mul<f32, Output = T> + DivAssign<f32>, G: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for MovingAverageStream<T, G, E>

Source§

impl<T: Clone + Add<Output = T> + Mul<f32, Output = T>, G: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for EWMAStream<T, G, E>

Source§

impl<T: Clone, G: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for NoneToError<T, G, E>

Source§

impl<T: Clone, G: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for TimeGetterFromGetter<T, G, E>

Source§

impl<T: Clone, G: Getter<T, E> + ?Sized, TG: TimeGetter<E> + ?Sized, E: Copy + Debug> Updatable<E> for NoneToValue<T, G, TG, E>

Source§

impl<T: Clone, GC: Getter<bool, E> + ?Sized, GI: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for FreezeStream<T, GC, GI, E>

Source§

impl<T: Clone, TG: TimeGetter<E> + ?Sized, E: Copy + Debug> Updatable<E> for ConstantGetter<T, TG, E>

Source§

impl<T: Add<Output = T>, G1: Getter<T, E> + ?Sized, G2: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for Sum2<T, G1, G2, E>

Source§

impl<T: AddAssign + Copy, const N: usize, E: Copy + Debug> Updatable<E> for SumStream<T, N, E>

Source§

impl<T: Div<Output = T>, GD: Getter<T, E> + ?Sized, GS: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for QuotientStream<T, GD, GS, E>

Source§

impl<T: Mul<Output = T>, G1: Getter<T, E> + ?Sized, G2: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for Product2<T, G1, G2, E>

Source§

impl<T: MulAssign + Copy, const N: usize, E: Copy + Debug> Updatable<E> for ProductStream<T, N, E>

Source§

impl<T: Sub<Output = T>, GM: Getter<T, E> + ?Sized, GS: Getter<T, E> + ?Sized, E: Copy + Debug> Updatable<E> for DifferenceStream<T, GM, GS, E>

Source§

impl<T: Getter<State, E>, E: Copy + Debug> Updatable<E> for GetterStateDeviceWrapper<'_, T, E>

Source§

impl<T: Settable<f32, E>, E: Copy + Debug + 'static> Updatable<E> for PIDWrapper<'_, T, E>

Source§

impl<T: Settable<TerminalData, E>, E: Copy + Debug> Updatable<E> for ActuatorWrapper<'_, T, E>

Source§

impl<const N: usize, E: Copy + Debug> Updatable<E> for Axle<'_, N, E>