Struct cubeb::ChannelLayout []

pub struct ChannelLayout { /* fields omitted */ }

Some common layout definitions

Methods

impl ChannelLayout
[src]

UNDEFINED: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_UNDEFINED,}

MONO: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_MONO,}

MONO_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_MONO_LFE,}

STEREO: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_STEREO,}

STEREO_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_STEREO_LFE,}

_3F: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F,}

_3F_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F_LFE,}

_2F1: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_2F1,}

_2F1_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_2F1_LFE,}

_3F1: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F1,}

_3F1_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F1_LFE,}

_2F2: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_2F2,}

_2F2_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_2F2_LFE,}

QUAD: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_QUAD,}

QUAD_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_QUAD_LFE,}

_3F2: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F2,}

_3F2_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F2_LFE,}

_3F2_BACK: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F2_BACK,}

_3F2_LFE_BACK: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F2_LFE_BACK,}

_3F3R_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F3R_LFE,}

_3F4_LFE: ChannelLayout = ChannelLayout{bits: ffi::CUBEB_LAYOUT_3F4_LFE,}

impl ChannelLayout
[src]

[src]

impl ChannelLayout

FRONT_LEFT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_FRONT_LEFT,}

FRONT_RIGHT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_FRONT_RIGHT,}

FRONT_CENTER: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_FRONT_CENTER,}

LOW_FREQUENCY: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_LOW_FREQUENCY,}

BACK_LEFT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_BACK_LEFT,}

BACK_RIGHT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_BACK_RIGHT,}

FRONT_LEFT_OF_CENTER: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_FRONT_LEFT_OF_CENTER,}

FRONT_RIGHT_OF_CENTER: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_FRONT_RIGHT_OF_CENTER,}

BACK_CENTER: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_BACK_CENTER,}

SIDE_LEFT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_SIDE_LEFT,}

SIDE_RIGHT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_SIDE_RIGHT,}

TOP_CENTER: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_TOP_CENTER,}

TOP_FRONT_LEFT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_TOP_FRONT_LEFT,}

TOP_FRONT_CENTER: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_TOP_FRONT_CENTER,}

TOP_FRONT_RIGHT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_TOP_FRONT_RIGHT,}

TOP_BACK_LEFT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_TOP_BACK_LEFT,}

TOP_BACK_CENTER: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_TOP_BACK_CENTER,}

TOP_BACK_RIGHT: ChannelLayout = ChannelLayout{bits: ffi::CHANNEL_TOP_BACK_RIGHT,}

Returns an empty set of flags.

Returns the set containing all flags.

Returns the raw value of the flags currently stored.

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

Returns true if no flags are currently stored.

Returns true if all flags are currently set.

Returns true if there are flags common to both self and other.

Returns true all of the flags in other are contained within self.

Inserts the specified flags in-place.

Removes the specified flags in-place.

Toggles the specified flags in-place.

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl Sub<ChannelLayout> for ChannelLayout

The resulting type after applying the - operator.

Returns the set difference of the two sets of flags.

impl PartialOrd<ChannelLayout> for ChannelLayout

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Octal for ChannelLayout

Formats the value using the given formatter.

impl Into<u32> for ChannelLayout
[src]

[src]

Performs the conversion.

impl Copy for ChannelLayout

impl Extend<ChannelLayout> for ChannelLayout

Extends a collection with the contents of an iterator. Read more

impl PartialEq<ChannelLayout> for ChannelLayout

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl UpperHex for ChannelLayout

Formats the value using the given formatter.

impl Clone for ChannelLayout

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BitOrAssign<ChannelLayout> for ChannelLayout

Adds the set of flags.

impl BitAndAssign<ChannelLayout> for ChannelLayout

Disables all flags disabled in the set.

impl BitOr<ChannelLayout> for ChannelLayout

The resulting type after applying the | operator.

Returns the union of the two sets of flags.

impl Ord for ChannelLayout

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl BitXor<ChannelLayout> for ChannelLayout

The resulting type after applying the ^ operator.

Returns the left flags, but with all the right flags toggled.

impl LowerHex for ChannelLayout

Formats the value using the given formatter.

impl SubAssign<ChannelLayout> for ChannelLayout

Disables all flags enabled in the set.

impl Binary for ChannelLayout

Formats the value using the given formatter.

impl Not for ChannelLayout

The resulting type after applying the ! operator.

Returns the complement of this set of flags.

impl BitXorAssign<ChannelLayout> for ChannelLayout

Toggles the set of flags.

impl Eq for ChannelLayout

impl FromIterator<ChannelLayout> for ChannelLayout

Creates a value from an iterator. Read more

impl Hash for ChannelLayout

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<u32> for ChannelLayout
[src]

[src]

Performs the conversion.

impl BitAnd<ChannelLayout> for ChannelLayout

The resulting type after applying the & operator.

Returns the intersection between the two sets of flags.

impl Debug for ChannelLayout

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ChannelLayout

impl Sync for ChannelLayout