pub enum UnexpandedMacroReason {
RequiresExecution,
Unresolved,
ExpansionUnavailable,
}Expand description
Why an individual macro invocation was not expanded.
Variants§
RequiresExecution
Expanding the invocation would execute a procedural macro.
Unresolved
The analysis engine could not resolve the invocation to a macro.
A declarative macro was known but its expansion was unavailable.
Implementations§
Trait Implementations§
Source§impl Clone for UnexpandedMacroReason
impl Clone for UnexpandedMacroReason
Source§fn clone(&self) -> UnexpandedMacroReason
fn clone(&self) -> UnexpandedMacroReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnexpandedMacroReason
Source§impl Debug for UnexpandedMacroReason
impl Debug for UnexpandedMacroReason
Source§impl<'de> Deserialize<'de> for UnexpandedMacroReason
impl<'de> Deserialize<'de> for UnexpandedMacroReason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UnexpandedMacroReason
Source§impl PartialEq for UnexpandedMacroReason
impl PartialEq for UnexpandedMacroReason
Source§impl Serialize for UnexpandedMacroReason
impl Serialize for UnexpandedMacroReason
impl StructuralPartialEq for UnexpandedMacroReason
Auto Trait Implementations§
impl Freeze for UnexpandedMacroReason
impl RefUnwindSafe for UnexpandedMacroReason
impl Send for UnexpandedMacroReason
impl Sync for UnexpandedMacroReason
impl Unpin for UnexpandedMacroReason
impl UnsafeUnpin for UnexpandedMacroReason
impl UnwindSafe for UnexpandedMacroReason
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