Skip to main content

hwio_types/defs/
zeroing.rs

1/// Describes a stateful component that can be reset to a "zero state".
2/// Weather this action involves physical movement is up to the implementation.
3/// Do not assume calling zero() is physically safe
4pub trait Zeroable {
5    /// Reset the component to its "zero state"
6    /// This may cause systems to physically move, based on the implementation
7    fn zero();
8}