[][src]Enum retrosheet::event::Pitch

pub enum Pitch {
    PickoffThrowCatcher,
    BlockedByCatcher,
    NonBatterPlay,
    PickoffFirst,
    PickoffSecond,
    PickoffThird,
    RunnerGoingOnPitch,
    Ball,
    CalledStrike,
    Foul,
    HitBatter,
    IntentionalBall,
    UnknownStrike,
    FoulBunt,
    MissedBunt,
    NoPitch,
    FoulTipBunt,
    Pitchout,
    SwingOnPitchout,
    FoulOnPitchout,
    SwingingStrike,
    FoulTip,
    Unknown,
    BallPitcherWentToMouth,
    BallInPlayBatter,
    BallInPlayPitchout,
}

A pitch event. This may be a pitch being thrown to a batter, or a fielding event (e.g. a pickoff throw, or a runner stealing).

Variants

PickoffThrowCatcher

The following pickoff throw was by the catcher.

BlockedByCatcher

The following pitch was blocked by the catcher.

NonBatterPlay

Some play not involving the batter occurred.

PickoffFirst

A pickoff throw to first.

PickoffSecond

A pickoff throw to second.

PickoffThird

A pickoff throw to third.

RunnerGoingOnPitch

A runner went on the pitch.

Ball

A ball.

CalledStrike

A called strike.

Foul

A foul ball.

HitBatter

A hit-by-pitch.

IntentionalBall

An intentional ball.

UnknownStrike

A strike of unknown kind.

FoulBunt

A bunt that went foul.

MissedBunt

A bunt attempt that missed.

NoPitch

No pitch (e.g. a balk, interference).

FoulTipBunt

A foul tip on a bunt.

Pitchout

A pitchout.

SwingOnPitchout

A swing on a pitchout.

FoulOnPitchout

A foul ball on a pitchout.

SwingingStrike

A swinging strike.

FoulTip

A foul tip.

Unknown

An unknown or missed pitch, or an unrecognized character.

BallPitcherWentToMouth

A called ball because pitcher went to his mouth.

BallInPlayBatter

A ball put into play by the batter.

BallInPlayPitchout

A ball put into play on a pitchout.

Trait Implementations

impl From<char> for Pitch[src]

impl Clone for Pitch[src]

impl Copy for Pitch[src]

impl Eq for Pitch[src]

impl PartialEq<Pitch> for Pitch[src]

impl Debug for Pitch[src]

impl Hash for Pitch[src]

impl StructuralPartialEq for Pitch[src]

impl StructuralEq for Pitch[src]

Auto Trait Implementations

impl Send for Pitch

impl Sync for Pitch

impl Unpin for Pitch

impl UnwindSafe for Pitch

impl RefUnwindSafe for Pitch

Blanket Implementations

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

impl<T> From<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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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