pub(super) fn s4_field_methods(
parsed_impl: &ParsedImpl,
on_page: bool,
export: bool,
) -> Vec<String>Expand description
setMethod("$"), .DollarNames.Class, and with setters
setMethod("$<-"), for an S4 class with s4(r_data_accessors). An S4
object of the class is no list (its only slot is ptr), so a name that
is not a field raises miniextendr_no_field. The methods pass x@ptr to
the accessors. .DollarNames is an S3 method, which utils dispatches on
the S4 class; it is registered unless the class is noexport, as an S3
class’s methods are.