struct ModuleAttr {
_module: Ident,
_eq_token: Eq,
name: LitStr,
}
Fields§
§_module: Ident
§_eq_token: Eq
§name: LitStr
Trait Implementations§
source§impl Parse for ModuleAttr
impl Parse for ModuleAttr
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for ModuleAttr
impl RefUnwindSafe for ModuleAttr
impl !Send for ModuleAttr
impl !Sync for ModuleAttr
impl Unpin for ModuleAttr
impl UnwindSafe for ModuleAttr
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