Enum rivlib::stream::EchoType [] [src]

pub enum EchoType {
    Single,
    First,
    Interior,
    Last,
}

A type of echo.

Variants

Single

Single echo.

First

First echo.

Interior

Interior echo.

Last

Last echo.

Methods

impl EchoType

fn from_u16(n: u16) -> EchoType

Maps a u16 onto an EchoType.

Examples

use rivlib::stream::EchoType;
assert_eq!(EchoType::Single, EchoType::from_u16(0));

Trait Implementations

Derived Implementations

impl PartialEq for EchoType

fn eq(&self, __arg_0: &EchoType) -> bool

fn ne(&self, __arg_0: &EchoType) -> bool

impl Debug for EchoType

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for EchoType

impl Clone for EchoType

fn clone(&self) -> EchoType

fn clone_from(&mut self, source: &Self)