pub(crate) enum DataStructMarkerArg {
Path(Path),
NameValue(Ident, LitStr),
Lit(LitStr),
Singleton,
}
Expand description
A single argument to marker()
in `#[data_struct(…, marker(…), …)]
Variants§
Trait Implementations§
source§impl Parse for DataStructMarkerArg
impl Parse for DataStructMarkerArg
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for DataStructMarkerArg
impl RefUnwindSafe for DataStructMarkerArg
impl !Send for DataStructMarkerArg
impl !Sync for DataStructMarkerArg
impl Unpin for DataStructMarkerArg
impl UnwindSafe for DataStructMarkerArg
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