[][src]Enum gcp_client::google::cloud::language::v1::part_of_speech::Case

#[repr(i32)]pub enum Case {
    Unknown,
    Accusative,
    Adverbial,
    Complementive,
    Dative,
    Genitive,
    Instrumental,
    Locative,
    Nominative,
    Oblique,
    Partitive,
    Prepositional,
    ReflexiveCase,
    RelativeCase,
    Vocative,
}

The grammatical function performed by a noun or pronoun in a phrase, clause, or sentence. In some languages, other parts of speech, such as adjective and determiner, take case inflection in agreement with the noun.

Variants

Unknown

Case is not applicable in the analyzed language or is not predicted.

Accusative

Accusative

Adverbial

Adverbial

Complementive

Complementive

Dative

Dative

Genitive

Genitive

Instrumental

Instrumental

Locative

Locative

Nominative

Nominative

Oblique

Oblique

Partitive

Partitive

Prepositional

Prepositional

ReflexiveCase

Reflexive

RelativeCase

Relative

Vocative

Vocative

Implementations

impl Case[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of Case.

pub fn from_i32(value: i32) -> Option<Case>[src]

Converts an i32 to a Case, or None if value is not a valid variant.

Trait Implementations

impl Clone for Case[src]

impl Copy for Case[src]

impl Debug for Case[src]

impl Default for Case[src]

impl Eq for Case[src]

impl From<Case> for i32[src]

impl Hash for Case[src]

impl Ord for Case[src]

impl PartialEq<Case> for Case[src]

impl PartialOrd<Case> for Case[src]

impl StructuralEq for Case[src]

impl StructuralPartialEq for Case[src]

Auto Trait Implementations

impl RefUnwindSafe for Case

impl Send for Case

impl Sync for Case

impl Unpin for Case

impl UnwindSafe for Case

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]