pub struct ModuleAttrs {
pub session: bool,
pub output: OutputSpec,
}Expand description
Parsed attributes for #[module(…)]
Fields§
§session: bool§output: OutputSpecTrait Implementations§
Source§impl Parse for ModuleAttrs
impl Parse for ModuleAttrs
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl !Send for ModuleAttrs
impl !Sync for ModuleAttrs
impl Freeze for ModuleAttrs
impl RefUnwindSafe for ModuleAttrs
impl Unpin for ModuleAttrs
impl UnsafeUnpin for ModuleAttrs
impl UnwindSafe for ModuleAttrs
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