struct ConsiderLegacySyntax<'a> {
fields: &'a Fields,
}Expand description
attr::Parser considering legacy syntax for attr::Types and emitting legacy_error, if
any occurs.
Fields§
§fields: &'a Fieldssyn::Fields of a struct or enum variant, the attribute is parsed for.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ConsiderLegacySyntax<'a>
impl<'a> RefUnwindSafe for ConsiderLegacySyntax<'a>
impl<'a> !Send for ConsiderLegacySyntax<'a>
impl<'a> !Sync for ConsiderLegacySyntax<'a>
impl<'a> Unpin for ConsiderLegacySyntax<'a>
impl<'a> UnwindSafe for ConsiderLegacySyntax<'a>
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