pub trait RepeatAccessorMut {
// Required method
fn repeat_mut(&mut self, repeat: NonZeroUsize) -> Option<&mut Repeat>;
}
Expand description
A trait for accessing repeat on fields, to extend Option<&mut Field> with short-circuit access
Required Methods§
Sourcefn repeat_mut(&mut self, repeat: NonZeroUsize) -> Option<&mut Repeat>
fn repeat_mut(&mut self, repeat: NonZeroUsize) -> Option<&mut Repeat>
Access the component given by 1-based indexing