#[non_exhaustive]pub struct FluentChange {
pub fluent: Atom,
pub before: Option<f64>,
pub after: f64,
}Expand description
A numeric fluent a step updated.
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.fluent: AtomThe fluent, such as (total-cost).
before: Option<f64>The value before the step; None if it was undefined.
after: f64The value after the step.
Trait Implementations§
Source§impl Clone for FluentChange
impl Clone for FluentChange
Source§impl Debug for FluentChange
impl Debug for FluentChange
Source§impl PartialEq for FluentChange
impl PartialEq for FluentChange
impl StructuralPartialEq for FluentChange
Auto Trait Implementations§
impl Forget for FluentChange
impl Freeze for FluentChange
impl Move for FluentChange
impl RefUnwindSafe for FluentChange
impl Send for FluentChange
impl Sync for FluentChange
impl Unpin for FluentChange
impl UnsafeUnpin for FluentChange
impl UnwindSafe for FluentChange
Blanket Implementations§
Source§impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
Source§fn accept_mut(&self, v: &mut V) -> O
fn accept_mut(&self, v: &mut V) -> O
Lets the mutable visitor
v visit self.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