pub struct ModuleToTokensConfig {
pub structs_filter: Option<HashSet<String>>,
}
Expand description
The configuration required to create a token stream describing a module.
Fields§
§structs_filter: Option<HashSet<String>>
A filter on the structs to expose. This is useful specifically when using the encase
feature,
since many structs can’t be encoded or decoded. It is therefore the using crate’s responsibility
to expose this in some way, for example by having structs that should be exported to Rust require
an attribute.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ModuleToTokensConfig
impl Send for ModuleToTokensConfig
impl Sync for ModuleToTokensConfig
impl Unpin for ModuleToTokensConfig
impl UnwindSafe for ModuleToTokensConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more