pub struct AccumulatorReset {
pub base: Control,
pub accumulator_value: Option<MridRef>,
}Expand description
This command resets the counter value to zero.
Fields§
§base: Control§accumulator_value: Option<MridRef>The accumulator value that is reset by the command.
Implementations§
Source§impl AccumulatorReset
impl AccumulatorReset
pub fn from_block(b: &RdfBlock) -> Self
Trait Implementations§
Source§impl CimElement for AccumulatorReset
impl CimElement for AccumulatorReset
Source§impl Clone for AccumulatorReset
impl Clone for AccumulatorReset
Source§fn clone(&self) -> AccumulatorReset
fn clone(&self) -> AccumulatorReset
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 AccumulatorReset
impl Debug for AccumulatorReset
Source§impl Default for AccumulatorReset
impl Default for AccumulatorReset
Source§fn default() -> AccumulatorReset
fn default() -> AccumulatorReset
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccumulatorReset
impl<'de> Deserialize<'de> for AccumulatorReset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AccumulatorReset
impl RefUnwindSafe for AccumulatorReset
impl Send for AccumulatorReset
impl Sync for AccumulatorReset
impl Unpin for AccumulatorReset
impl UnsafeUnpin for AccumulatorReset
impl UnwindSafe for AccumulatorReset
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