Enum rustfst::algorithms::ProjectType
source · pub enum ProjectType {
ProjectInput,
ProjectOutput,
}
Expand description
Different types of labels projection in a FST.
Variants§
ProjectInput
Input projection : output labels are replaced with input ones.
ProjectOutput
Output projection : input labels are replaced with output ones.
Trait Implementations§
source§impl Clone for ProjectType
impl Clone for ProjectType
source§fn clone(&self) -> ProjectType
fn clone(&self) -> ProjectType
Returns a copy 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 Debug for ProjectType
impl Debug for ProjectType
source§impl PartialEq for ProjectType
impl PartialEq for ProjectType
source§fn eq(&self, other: &ProjectType) -> bool
fn eq(&self, other: &ProjectType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProjectType
impl PartialOrd for ProjectType
source§fn partial_cmp(&self, other: &ProjectType) -> Option<Ordering>
fn partial_cmp(&self, other: &ProjectType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ProjectType
impl StructuralPartialEq for ProjectType
Auto Trait Implementations§
impl Freeze for ProjectType
impl RefUnwindSafe for ProjectType
impl Send for ProjectType
impl Sync for ProjectType
impl Unpin for ProjectType
impl UnwindSafe for ProjectType
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