pub struct CondState {
pub stack: Vec<CondRecord>,
pub if_limit: u32,
pub cur_if: u32,
pub if_line: i32,
pub skip_line: i32,
pub is_in_csname: bool,
}Expand description
Conditional state.
Fields§
§stack: Vec<CondRecord>The condition stack (TeX’s cond_ptr list, innermost last). Its
length is the number of active conditionals.
if_limit: u32What ends the current conditional (if_limit).
cur_if: u32The type of the current conditional (cur_if).
if_line: i32Line where the current conditional began (if_line).
skip_line: i32Line where skipping began (skip_line).
is_in_csname: boolWhether we are inside \csname…\endcsname (is_in_csname).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CondState
impl RefUnwindSafe for CondState
impl Send for CondState
impl Sync for CondState
impl Unpin for CondState
impl UnsafeUnpin for CondState
impl UnwindSafe for CondState
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