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