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§

source

fn repeat_mut(&mut self, repeat: NonZeroUsize) -> Option<&mut Repeat>

Access the component given by 1-based indexing

Implementations on Foreign Types§

source§

impl RepeatAccessorMut for Option<&mut Field>

source§

fn repeat_mut(&mut self, repeat: NonZeroUsize) -> Option<&mut Repeat>

Implementors§