-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Closed
Copy link
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
STR
pub trait Any {}
impl<'any> Any + 'any {
/// Returns true if the boxed type is the same as `T`
pub fn is<T: 'static>(&self) -> bool { unimplemented!() }
/// Returns some reference to the boxed value if it is of type `T`, or
/// `None` if it isn't.
pub fn downcast_ref<'a, T: 'static>(&'a self) -> Option<&'a T> { unimplemented!() }
/// Returns some mutable reference to the boxed value if it is of type `T`, or
/// `None` if it isn't.
pub fn downcast_mut<'a, T: 'static>(&'a mut self) -> Option<&'a mut T> { unimplemented!() }
}Output
Any's inherent methods appear in the search index:
But upon clicking the method, you land in the Any main page:
Where the methods don't show up
Metadata
Metadata
Assignees
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.

