pin_project_internal::pin_project::derive

Function validate_struct

Source
fn validate_struct(ident: &Ident, fields: &Fields) -> Result<()>