struct ExplicitErrorNamedArgs {
message: Option<Argument<Accumulator>>,
span: Option<Argument<TokenAccumulator>>,
}Fields§
§message: Option<Argument<Accumulator>>§span: Option<Argument<TokenAccumulator>>Trait Implementations§
Source§impl Debug for ExplicitErrorNamedArgs
impl Debug for ExplicitErrorNamedArgs
Source§impl Default for ExplicitErrorNamedArgs
impl Default for ExplicitErrorNamedArgs
Source§fn default() -> ExplicitErrorNamedArgs
fn default() -> ExplicitErrorNamedArgs
Returns the “default value” for a type. Read more
Source§impl ParseOneSubkeyword for ExplicitErrorNamedArgs
impl ParseOneSubkeyword for ExplicitErrorNamedArgs
Source§fn process_one_keyword(
&mut self,
got: &Ident,
ps: ParseStream<'_>,
) -> Option<Result<()>>
fn process_one_keyword( &mut self, got: &Ident, ps: ParseStream<'_>, ) -> Option<Result<()>>
Process the value for a keyword
subkw. Read moreAuto Trait Implementations§
impl Freeze for ExplicitErrorNamedArgs
impl RefUnwindSafe for ExplicitErrorNamedArgs
impl !Send for ExplicitErrorNamedArgs
impl !Sync for ExplicitErrorNamedArgs
impl Unpin for ExplicitErrorNamedArgs
impl UnwindSafe for ExplicitErrorNamedArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more