pub trait ContainsSolAttrs {
// Required method
fn attrs(&self) -> &[Attribute];
// Provided method
fn split_attrs(&self) -> Result<(SolAttrs, Vec<Attribute>)> { ... }
}
Expand description
Trait for items that contain #[sol(...)]
attributes among other
attributes. This is usually a shortcut for SolAttrs::parse
.