pub struct SilentError;Expand description
Error that does not expand to any compile_error! and therefor does not
cause compilation to fail.
Trait Implementations§
Source§impl Debug for SilentError
impl Debug for SilentError
Source§impl From<SilentError> for Error
impl From<SilentError> for Error
Source§fn from(_: SilentError) -> Self
fn from(_: SilentError) -> Self
Converts to this type from the input type.
Source§impl ToTokensError for SilentError
impl ToTokensError for SilentError
Source§fn to_tokens(&self, _: &mut TokenStream)
fn to_tokens(&self, _: &mut TokenStream)
Equivalent to
ToTokens::to_tokensSource§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Equivalent to
ToTokens::to_token_streamSource§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Equivalent to
ToTokens::into_token_streamAuto Trait Implementations§
impl Freeze for SilentError
impl RefUnwindSafe for SilentError
impl Send for SilentError
impl Sync for SilentError
impl Unpin for SilentError
impl UnwindSafe for SilentError
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