pub struct VariantCBlock {
pub guard: String,
pub start_line: usize,
pub end_line: usize,
pub else_line: Option<usize>,
}Fields§
§guard: StringThe -ifndef(...) identifier (typically TEST).
start_line: usize1-based line of the -ifndef directive.
end_line: usize1-based line of the matching -endif..
else_line: Option<usize>1-based line of the -else., when present.
Trait Implementations§
Source§impl Clone for VariantCBlock
impl Clone for VariantCBlock
Source§impl Debug for VariantCBlock
impl Debug for VariantCBlock
Source§impl<'de> Deserialize<'de> for VariantCBlock
impl<'de> Deserialize<'de> for VariantCBlock
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 VariantCBlock
Source§impl Hash for VariantCBlock
impl Hash for VariantCBlock
Source§impl PartialEq for VariantCBlock
impl PartialEq for VariantCBlock
Source§impl Serialize for VariantCBlock
impl Serialize for VariantCBlock
impl StructuralPartialEq for VariantCBlock
Auto Trait Implementations§
impl Freeze for VariantCBlock
impl RefUnwindSafe for VariantCBlock
impl Send for VariantCBlock
impl Sync for VariantCBlock
impl Unpin for VariantCBlock
impl UnsafeUnpin for VariantCBlock
impl UnwindSafe for VariantCBlock
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