Struct cubeb::DeviceFormat [] [src]

pub struct DeviceFormat { /* fields omitted */ }

Methods

impl DeviceFormat
[src]

S16LE: DeviceFormat = DeviceFormat{bits: ffi::CUBEB_DEVICE_FMT_S16LE,}

S16BE: DeviceFormat = DeviceFormat{bits: ffi::CUBEB_DEVICE_FMT_S16BE,}

F32LE: DeviceFormat = DeviceFormat{bits: ffi::CUBEB_DEVICE_FMT_F32LE,}

F32BE: DeviceFormat = DeviceFormat{bits: ffi::CUBEB_DEVICE_FMT_F32BE,}

[src]

Returns an empty set of flags.

[src]

Returns the set containing all flags.

[src]

Returns the raw value of the flags currently stored.

[src]

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

[src]

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

[src]

Returns true if no flags are currently stored.

[src]

Returns true if all flags are currently set.

[src]

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

[src]

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

[src]

Inserts the specified flags in-place.

[src]

Removes the specified flags in-place.

[src]

Toggles the specified flags in-place.

[src]

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

Trait Implementations

impl Ord for DeviceFormat
[src]

[src]

impl Copy for DeviceFormat
[src]

impl Hash for DeviceFormat
[src]

[src]

impl Not for DeviceFormat
[src]

[src]

Returns the complement of this set of flags.

impl Clone for DeviceFormat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BitXor<DeviceFormat> for DeviceFormat
[src]

[src]

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

impl BitOr<DeviceFormat> for DeviceFormat
[src]

[src]

Returns the union of the two sets of flags.

impl BitOrAssign<DeviceFormat> for DeviceFormat
[src]

[src]

Adds the set of flags.

impl Octal for DeviceFormat
[src]

[src]

impl BitAndAssign<DeviceFormat> for DeviceFormat
[src]

[src]

Disables all flags disabled in the set.

impl PartialEq<DeviceFormat> for DeviceFormat
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for DeviceFormat
[src]

[src]

Formats the value using the given formatter.

impl Extend<DeviceFormat> for DeviceFormat
[src]

[src]

impl SubAssign<DeviceFormat> for DeviceFormat
[src]

[src]

Disables all flags enabled in the set.

impl BitAnd<DeviceFormat> for DeviceFormat
[src]

[src]

Returns the intersection between the two sets of flags.

impl BitXorAssign<DeviceFormat> for DeviceFormat
[src]

[src]

Toggles the set of flags.

impl UpperHex for DeviceFormat
[src]

[src]

impl Eq for DeviceFormat
[src]

impl Binary for DeviceFormat
[src]

[src]

impl FromIterator<DeviceFormat> for DeviceFormat
[src]

[src]

impl LowerHex for DeviceFormat
[src]

[src]

impl Sub<DeviceFormat> for DeviceFormat
[src]

[src]

Returns the set difference of the two sets of flags.

impl PartialOrd<DeviceFormat> for DeviceFormat
[src]

[src]

[src]

[src]

[src]

[src]