Skip to main content

resource_links

Function resource_links 

Source
pub fn resource_links(resource: &Resource) -> Option<&dyn ResourceLinks>
Expand description

The link-owning view of a resource, or None when it owns no links.

None is ordinary and callers walking every resource skip it; a caller that has already established it holds a link owner should fail loudly instead.