[−][src]Enum rust_bert::pipelines::sentiment::SentimentPolarity
Enum with the possible sentiment polarities. Note that the pre-trained SST2 model does not include neutral sentiment.
Variants
Trait Implementations
impl Debug for SentimentPolarity
[src]
impl PartialEq<SentimentPolarity> for SentimentPolarity
[src]
fn eq(&self, other: &SentimentPolarity) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for SentimentPolarity
[src]
Auto Trait Implementations
impl RefUnwindSafe for SentimentPolarity
impl Send for SentimentPolarity
impl Sync for SentimentPolarity
impl Unpin for SentimentPolarity
impl UnwindSafe for SentimentPolarity
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,