Skip to main content

method_page

Function method_page 

Source
pub(crate) fn method_page<'a>(
    tags: &'a [String],
    default_page: &'a str,
) -> &'a str
Expand description

The page a method’s block lands on: its @describeIn destination (roxygen2 files a @describeIn block under the destination’s topic), its own @rdname, else default_page (the class page). A companion block that must share the method’s page (the S3 generic block, whose class-qualified @name is also the method’s alias) gets @rdname this.