pub struct DfaBuilder { /* private fields */ }Implementations§
Trait Implementations§
Source§impl BuildFrom<DfaBuilder> for Dfa<General>
impl BuildFrom<DfaBuilder> for Dfa<General>
Source§fn build_from(dfa_builder: DfaBuilder) -> Self
fn build_from(dfa_builder: DfaBuilder) -> Self
Builds a Dfa::<General> from a DfaBuilder.
If an error is encountered or was already encountered before, an empty shell object is built with the log detailing the error(s).
Source§impl BuildFrom<VecTree<ReNode>> for DfaBuilder
impl BuildFrom<VecTree<ReNode>> for DfaBuilder
Source§fn build_from(regex_tree: ReTree) -> Self
fn build_from(regex_tree: ReTree) -> Self
Creates a DfaBuilder from a tree of regular expression VecTree<ReNode>.
Source§impl Clone for DfaBuilder
impl Clone for DfaBuilder
Source§fn clone(&self) -> DfaBuilder
fn clone(&self) -> DfaBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl HasBuildErrorSource for DfaBuilder
impl HasBuildErrorSource for DfaBuilder
const SOURCE: BuildErrorSource = BuildErrorSource::DfaBuilder
fn get_build_error_source() -> BuildErrorSource
Auto Trait Implementations§
impl !Freeze for DfaBuilder
impl !RefUnwindSafe for DfaBuilder
impl Send for DfaBuilder
impl !Sync for DfaBuilder
impl Unpin for DfaBuilder
impl UnwindSafe for DfaBuilder
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
Source§impl<S> BuildFrom<S> for S
impl<S> BuildFrom<S> for S
Source§fn build_from(source: S) -> S
fn build_from(source: S) -> S
Converts to this type from the input type.
Source§impl<S, T> BuildInto<T> for Swhere
T: BuildFrom<S>,
impl<S, T> BuildInto<T> for Swhere
T: BuildFrom<S>,
Source§fn build_into(self) -> T
fn build_into(self) -> T
Calls T::from(self) to convert a [S] into a [T].
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> TryBuildFrom<S> for Twhere
S: LogReader<Item = BufLog> + HasBuildErrorSource,
T: LogReader<Item = BufLog> + BuildFrom<S> + HasBuildErrorSource,
impl<S, T> TryBuildFrom<S> for Twhere
S: LogReader<Item = BufLog> + HasBuildErrorSource,
T: LogReader<Item = BufLog> + BuildFrom<S> + HasBuildErrorSource,
Source§type Error = BuildError
type Error = BuildError
The type returned in the event of a conversion error.
Source§fn try_build_from(source: S) -> Result<T, <T as TryBuildFrom<S>>::Error>
fn try_build_from(source: S) -> Result<T, <T as TryBuildFrom<S>>::Error>
Performs the conversion.
Source§impl<S, T> TryBuildInto<T> for Swhere
T: TryBuildFrom<S>,
impl<S, T> TryBuildInto<T> for Swhere
T: TryBuildFrom<S>,
Source§type Error = <T as TryBuildFrom<S>>::Error
type Error = <T as TryBuildFrom<S>>::Error
The type returned in the event of a conversion error.
Source§fn try_build_into(self) -> Result<T, <T as TryBuildFrom<S>>::Error>
fn try_build_into(self) -> Result<T, <T as TryBuildFrom<S>>::Error>
Performs the conversion.