Struct redfa::derivatives::Derivatives
[−]
[src]
pub struct Derivatives<T, R> { pub d: Vec<(Vec<T>, R)>, pub rest: R, }
The set of some object's derivatives with respect to an alphabet T
.
Fields
d: Vec<(Vec<T>, R)>
Holds a set of pairs (chars, derivative)
, meaning that the derivative
with respect to any element of chars
is derivative
.
rest: R
The derivative with respect to any character not listed in d
.
Methods
impl<T, R> Derivatives<T, R>
[src]
fn map<F: FnMut(R) -> R>(self, f: F) -> Derivatives<T, R>
Trait Implementations
impl<T: Debug, R: Debug> Debug for Derivatives<T, R>
[src]
impl<T: Clone, R: Clone> Clone for Derivatives<T, R>
[src]
fn clone(&self) -> Derivatives<T, R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more