pub(crate) struct DataStructArg {
pub(crate) marker_name: Path,
pub(crate) key_lit: Option<LitStr>,
pub(crate) fallback_by: Option<LitStr>,
pub(crate) extension_key: Option<LitStr>,
pub(crate) fallback_supplement: Option<LitStr>,
pub(crate) singleton: bool,
}
Fields§
§marker_name: Path
§key_lit: Option<LitStr>
§fallback_by: Option<LitStr>
§extension_key: Option<LitStr>
§fallback_supplement: Option<LitStr>
§singleton: bool
Implementations§
Trait Implementations§
source§impl Parse for DataStructArg
impl Parse for DataStructArg
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for DataStructArg
impl RefUnwindSafe for DataStructArg
impl !Send for DataStructArg
impl !Sync for DataStructArg
impl Unpin for DataStructArg
impl UnwindSafe for DataStructArg
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