Device

Trait Device 

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

A mechanical device.

Required Methods§

Source

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

Call only the update methods of owned terminals and do not update anything else with the device.

Implementors§

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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