pub struct AutoQueue { /* private fields */ }Implementations§
Source§impl AutoQueue
impl AutoQueue
pub fn new<W: Semiring, F: ExpandedFst<W>, A: TrFilter<W>>( fst: &F, distance: Option<&Vec<W>>, tr_filter: &A, ) -> Result<Self>
pub fn scc_queue_type<W: Semiring, F: ExpandedFst<W>, C: Fn(&W, &W) -> Result<bool>, A: TrFilter<W>>( fst: &F, sccs: &[StateId], compare: Option<C>, queue_types: &mut [QueueType], all_trivial: &mut bool, unweighted: &mut bool, tr_filter: &A, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AutoQueue
impl !RefUnwindSafe for AutoQueue
impl !Send for AutoQueue
impl !Sync for AutoQueue
impl Unpin for AutoQueue
impl !UnwindSafe for AutoQueue
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more