Type Alias libcras::CrasStreamType

source ·
pub type CrasStreamType = CRAS_STREAM_TYPE;

Aliased Type§

enum CrasStreamType {
    CRAS_STREAM_TYPE_DEFAULT,
    CRAS_STREAM_TYPE_PRO_AUDIO,
}

Variants§

§

CRAS_STREAM_TYPE_DEFAULT

§

CRAS_STREAM_TYPE_PRO_AUDIO

Trait Implementations

source§

impl Serialize for CRAS_STREAM_TYPE

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for CRAS_STREAM_TYPE

source§

impl Clone for CRAS_STREAM_TYPE

source§

fn clone(&self) -> CRAS_STREAM_TYPE

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Eq for CRAS_STREAM_TYPE

source§

impl PartialEq for CRAS_STREAM_TYPE

source§

fn eq(&self, other: &CRAS_STREAM_TYPE) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'de> Deserialize<'de> for CRAS_STREAM_TYPE

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Debug for CRAS_STREAM_TYPE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for CRAS_STREAM_TYPE