2024-07-19 09:50:47 -05:00
|
|
|
//@ has "$.index[*][?(@.name=='PubTrait')]"
|
2023-07-11 09:32:11 -05:00
|
|
|
pub trait PubTrait {}
|
|
|
|
|
|
|
|
#[doc(hidden)]
|
|
|
|
pub mod hidden {
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ !has "$.index[*][?(@.name == 'HiddenPubStruct')]"
|
2023-07-11 09:32:11 -05:00
|
|
|
pub struct HiddenPubStruct;
|
|
|
|
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ !has "$.index[*][?(@.docs == 'Not Here')]"
|
2023-11-07 10:56:03 -06:00
|
|
|
/// Not Here
|
2023-07-11 09:32:11 -05:00
|
|
|
impl crate::PubTrait for HiddenPubStruct {}
|
|
|
|
}
|
2023-07-17 16:36:33 -05:00
|
|
|
|
|
|
|
pub mod not_hidden {
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ has "$.index[*][?(@.name == 'NotHiddenPubStruct')]"
|
2023-07-17 16:36:33 -05:00
|
|
|
pub struct NotHiddenPubStruct;
|
|
|
|
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ has "$.index[*][?(@.docs == 'Here')]"
|
2023-11-07 10:56:03 -06:00
|
|
|
/// Here
|
2023-07-17 16:36:33 -05:00
|
|
|
impl crate::PubTrait for NotHiddenPubStruct {}
|
|
|
|
}
|