[][src]Enum gcp_client::google::cloud::datalabeling::v1beta1::label_image_request::Feature

#[repr(i32)]pub enum Feature {
    Unspecified,
    Classification,
    BoundingBox,
    OrientedBoundingBox,
    BoundingPoly,
    Polyline,
    Segmentation,
}

Image labeling task feature.

Variants

Unspecified
Classification

Label whole image with one or more of labels.

BoundingBox

Label image with bounding boxes for labels.

OrientedBoundingBox

Label oriented bounding box. The box does not have to be parallel to horizontal line.

BoundingPoly

Label images with bounding poly. A bounding poly is a plane figure that is bounded by a finite chain of straight line segments closing in a loop.

Polyline

Label images with polyline. Polyline is formed by connected line segments which are not in closed form.

Segmentation

Label images with segmentation. Segmentation is different from bounding poly since it is more fine-grained, pixel level annotation.

Implementations

impl Feature[src]

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

Returns true if value is a variant of Feature.

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

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

Trait Implementations

impl Clone for Feature[src]

impl Copy for Feature[src]

impl Debug for Feature[src]

impl Default for Feature[src]

impl Eq for Feature[src]

impl From<Feature> for i32[src]

impl Hash for Feature[src]

impl Ord for Feature[src]

impl PartialEq<Feature> for Feature[src]

impl PartialOrd<Feature> for Feature[src]

impl StructuralEq for Feature[src]

impl StructuralPartialEq for Feature[src]

Auto Trait Implementations

impl RefUnwindSafe for Feature

impl Send for Feature

impl Sync for Feature

impl Unpin for Feature

impl UnwindSafe for Feature

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]