Trait attr::InsecureIndexableAttr
[−]
[src]
pub trait InsecureIndexableAttr<Type: ?Sized, Idx: ?Sized>: InsecureAttr<Type> { type Output; fn at(&self, i: Type, idx: Idx) -> Result<Self::Output>; }
Access to a part of the attribute by index, where access can fail
This can be used to provide access to parts of a vector where the exact structure of vector parts is unknown.
Associated Types
type Output
The resulting value when accessing the attribute