Enum icu_segmenter::provider::lstm::ModelType
source · pub enum ModelType {
Codepoints,
GraphemeClusters,
}
Expand description
The type of LSTM model
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Variants§
Trait Implementations§
source§impl PartialEq<ModelType> for ModelType
impl PartialEq<ModelType> for ModelType
impl Copy for ModelType
impl StructuralPartialEq for ModelType
Auto Trait Implementations§
impl RefUnwindSafe for ModelType
impl Send for ModelType
impl Sync for ModelType
impl Unpin for ModelType
impl UnwindSafe for ModelType
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