pub enum IfdefGuardKind {
Test,
NotTest,
Other,
}Variants§
Test
The macro is inside -ifdef(TEST).
NotTest
The macro is inside -ifndef(TEST).
Other
The macro is inside some other -ifdef or -if block.
Implementations§
Trait Implementations§
Source§impl Clone for IfdefGuardKind
impl Clone for IfdefGuardKind
impl Copy for IfdefGuardKind
Source§impl Debug for IfdefGuardKind
impl Debug for IfdefGuardKind
Source§impl<'de> Deserialize<'de> for IfdefGuardKind
impl<'de> Deserialize<'de> for IfdefGuardKind
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 IfdefGuardKind
Source§impl Hash for IfdefGuardKind
impl Hash for IfdefGuardKind
Source§impl PartialEq for IfdefGuardKind
impl PartialEq for IfdefGuardKind
Source§impl Serialize for IfdefGuardKind
impl Serialize for IfdefGuardKind
impl StructuralPartialEq for IfdefGuardKind
Auto Trait Implementations§
impl Forget for IfdefGuardKind
impl Freeze for IfdefGuardKind
impl Move for IfdefGuardKind
impl RefUnwindSafe for IfdefGuardKind
impl Send for IfdefGuardKind
impl Sync for IfdefGuardKind
impl Unpin for IfdefGuardKind
impl UnsafeUnpin for IfdefGuardKind
impl UnwindSafe for IfdefGuardKind
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