#[non_exhaustive]pub struct ConditionChange {
pub token: usize,
pub before: Option<Condition>,
pub after: Option<Condition>,
}Expand description
One condition change recorded by Shaper::trace.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.token: usizeToken index.
before: Option<Condition>Condition before the rule ran.
after: Option<Condition>Condition after the rule ran.
Trait Implementations§
Source§impl Clone for ConditionChange
impl Clone for ConditionChange
Source§fn clone(&self) -> ConditionChange
fn clone(&self) -> ConditionChange
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 ConditionChange
Source§impl Debug for ConditionChange
impl Debug for ConditionChange
impl Eq for ConditionChange
Source§impl PartialEq for ConditionChange
impl PartialEq for ConditionChange
impl StructuralPartialEq for ConditionChange
Auto Trait Implementations§
impl Freeze for ConditionChange
impl RefUnwindSafe for ConditionChange
impl Send for ConditionChange
impl Sync for ConditionChange
impl Unpin for ConditionChange
impl UnsafeUnpin for ConditionChange
impl UnwindSafe for ConditionChange
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