pub enum MacroBody {
Text(NormalisedMacroBody),
Conditional,
}Expand description
Conditional is a macro defined under any -ifdef, -ifndef or -if
other than a TEST guard: no environment here could say which branch is
live, so no body is recorded.
Variants§
Text(NormalisedMacroBody)
Conditional
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MacroBody
impl<'de> Deserialize<'de> for MacroBody
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 MacroBody
Source§impl Ord for MacroBody
impl Ord for MacroBody
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for MacroBody
impl PartialOrd for MacroBody
impl StructuralPartialEq for MacroBody
Auto Trait Implementations§
impl Forget for MacroBody
impl Freeze for MacroBody
impl Move for MacroBody
impl RefUnwindSafe for MacroBody
impl Send for MacroBody
impl Sync for MacroBody
impl Unpin for MacroBody
impl UnsafeUnpin for MacroBody
impl UnwindSafe for MacroBody
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