pub trait ReflectionPathExt {
// Required methods
fn convert_to_0_indexed(&mut self);
fn is_empty(&self) -> bool;
fn iter(&self) -> impl Iterator<Item = &OffsetAccess>;
}
Expand description
An iterator over a reflect reference that will keep returning the next element forever.
Required Methods§
Sourcefn convert_to_0_indexed(&mut self)
fn convert_to_0_indexed(&mut self)
Assumes the accesses are 1 indexed and converts them to 0 indexed
Sourcefn iter(&self) -> impl Iterator<Item = &OffsetAccess>
fn iter(&self) -> impl Iterator<Item = &OffsetAccess>
Returns an iterator over the accesses
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.