pub struct ObjectPropInfo<'a> {
Show 81 fields pub body_id: u32, pub device: Option<&'a PodStringRef>, pub device_name: Option<&'a PodStringRef>, pub device_fd: Option<&'a PodFdRef>, pub card: Option<&'a PodStringRef>, pub card_name: Option<&'a PodStringRef>, pub min_latency: Option<&'a PodIntRef>, pub max_latency: Option<&'a PodIntRef>, pub periods: Option<&'a PodIntRef>, pub period_size: Option<&'a PodIntRef>, pub period_event: Option<&'a PodBoolRef>, pub live: Option<&'a PodBoolRef>, pub rate: Option<&'a PodDoubleRef>, pub quality: Option<&'a PodIntRef>, pub bluetooth_audio_codec: Option<&'a PodIdRef<BluetoothAudioCodec>>, pub wave_type: Option<&'a PodIdRef<u32>>, pub frequency: Option<&'a PodIntRef>, pub volume: Option<&'a PodFloatRef>, pub mute: Option<&'a PodBoolRef>, pub pattern_type: Option<&'a PodIdRef<u32>>, pub dither_type: Option<&'a PodIdRef<u32>>, pub truncate: Option<&'a PodBoolRef>, pub channel_volumes: Option<&'a PodArrayRef<PodFloatRef>>, pub volume_base: Option<&'a PodFloatRef>, pub volume_step: Option<&'a PodFloatRef>, pub channel_map: Option<&'a PodArrayRef<PodIdRef<AudioChannel>>>, pub monitor_mute: Option<&'a PodBoolRef>, pub monitor_volumes: Option<&'a PodArrayRef<PodFloatRef>>, pub latency_offset_nsec: Option<&'a PodLongRef>, pub soft_mute: Option<&'a PodBoolRef>, pub soft_volumes: Option<&'a PodArrayRef<PodFloatRef>>, pub iec958_codecs: Option<&'a PodArrayRef<PodIdRef<AudioIec958Codec>>>, pub brightness: Option<&'a PodIntRef>, pub contrast: Option<&'a PodIntRef>, pub saturation: Option<&'a PodIntRef>, pub hue: Option<&'a PodIntRef>, pub gamma: Option<&'a PodIntRef>, pub exposure: Option<&'a PodIntRef>, pub gain: Option<&'a PodIntRef>, pub sharpness: Option<&'a PodIntRef>, pub params: Option<&'a PodStructRef>, pub device_flags: PodPropFlags, pub device_name_flags: PodPropFlags, pub device_fd_flags: PodPropFlags, pub card_flags: PodPropFlags, pub card_name_flags: PodPropFlags, pub min_latency_flags: PodPropFlags, pub max_latency_flags: PodPropFlags, pub periods_flags: PodPropFlags, pub period_size_flags: PodPropFlags, pub period_event_flags: PodPropFlags, pub live_flags: PodPropFlags, pub rate_flags: PodPropFlags, pub quality_flags: PodPropFlags, pub bluetooth_audio_codec_flags: PodPropFlags, pub wave_type_flags: PodPropFlags, pub frequency_flags: PodPropFlags, pub volume_flags: PodPropFlags, pub mute_flags: PodPropFlags, pub pattern_type_flags: PodPropFlags, pub dither_type_flags: PodPropFlags, pub truncate_flags: PodPropFlags, pub channel_volumes_flags: PodPropFlags, pub volume_base_flags: PodPropFlags, pub volume_step_flags: PodPropFlags, pub channel_map_flags: PodPropFlags, pub monitor_mute_flags: PodPropFlags, pub monitor_volumes_flags: PodPropFlags, pub latency_offset_nsec_flags: PodPropFlags, pub soft_mute_flags: PodPropFlags, pub soft_volumes_flags: PodPropFlags, pub iec958_codecs_flags: PodPropFlags, pub brightness_flags: PodPropFlags, pub contrast_flags: PodPropFlags, pub saturation_flags: PodPropFlags, pub hue_flags: PodPropFlags, pub gamma_flags: PodPropFlags, pub exposure_flags: PodPropFlags, pub gain_flags: PodPropFlags, pub sharpness_flags: PodPropFlags, pub params_flags: PodPropFlags,
}

Fields§

§body_id: u32§device: Option<&'a PodStringRef>§device_name: Option<&'a PodStringRef>§device_fd: Option<&'a PodFdRef>§card: Option<&'a PodStringRef>§card_name: Option<&'a PodStringRef>§min_latency: Option<&'a PodIntRef>§max_latency: Option<&'a PodIntRef>§periods: Option<&'a PodIntRef>§period_size: Option<&'a PodIntRef>§period_event: Option<&'a PodBoolRef>§live: Option<&'a PodBoolRef>§rate: Option<&'a PodDoubleRef>§quality: Option<&'a PodIntRef>§bluetooth_audio_codec: Option<&'a PodIdRef<BluetoothAudioCodec>>§wave_type: Option<&'a PodIdRef<u32>>§frequency: Option<&'a PodIntRef>§volume: Option<&'a PodFloatRef>§mute: Option<&'a PodBoolRef>§pattern_type: Option<&'a PodIdRef<u32>>§dither_type: Option<&'a PodIdRef<u32>>§truncate: Option<&'a PodBoolRef>§channel_volumes: Option<&'a PodArrayRef<PodFloatRef>>§volume_base: Option<&'a PodFloatRef>§volume_step: Option<&'a PodFloatRef>§channel_map: Option<&'a PodArrayRef<PodIdRef<AudioChannel>>>§monitor_mute: Option<&'a PodBoolRef>§monitor_volumes: Option<&'a PodArrayRef<PodFloatRef>>§latency_offset_nsec: Option<&'a PodLongRef>§soft_mute: Option<&'a PodBoolRef>§soft_volumes: Option<&'a PodArrayRef<PodFloatRef>>§iec958_codecs: Option<&'a PodArrayRef<PodIdRef<AudioIec958Codec>>>§brightness: Option<&'a PodIntRef>§contrast: Option<&'a PodIntRef>§saturation: Option<&'a PodIntRef>§hue: Option<&'a PodIntRef>§gamma: Option<&'a PodIntRef>§exposure: Option<&'a PodIntRef>§gain: Option<&'a PodIntRef>§sharpness: Option<&'a PodIntRef>§params: Option<&'a PodStructRef>§device_flags: PodPropFlags§device_name_flags: PodPropFlags§device_fd_flags: PodPropFlags§card_flags: PodPropFlags§card_name_flags: PodPropFlags§min_latency_flags: PodPropFlags§max_latency_flags: PodPropFlags§periods_flags: PodPropFlags§period_size_flags: PodPropFlags§period_event_flags: PodPropFlags§live_flags: PodPropFlags§rate_flags: PodPropFlags§quality_flags: PodPropFlags§bluetooth_audio_codec_flags: PodPropFlags§wave_type_flags: PodPropFlags§frequency_flags: PodPropFlags§volume_flags: PodPropFlags§mute_flags: PodPropFlags§pattern_type_flags: PodPropFlags§dither_type_flags: PodPropFlags§truncate_flags: PodPropFlags§channel_volumes_flags: PodPropFlags§volume_base_flags: PodPropFlags§volume_step_flags: PodPropFlags§channel_map_flags: PodPropFlags§monitor_mute_flags: PodPropFlags§monitor_volumes_flags: PodPropFlags§latency_offset_nsec_flags: PodPropFlags§soft_mute_flags: PodPropFlags§soft_volumes_flags: PodPropFlags§iec958_codecs_flags: PodPropFlags§brightness_flags: PodPropFlags§contrast_flags: PodPropFlags§saturation_flags: PodPropFlags§hue_flags: PodPropFlags§gamma_flags: PodPropFlags§exposure_flags: PodPropFlags§gain_flags: PodPropFlags§sharpness_flags: PodPropFlags§params_flags: PodPropFlags

Trait Implementations§

source§

impl<'a> Debug for ObjectPropInfo<'a>

source§

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

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

impl<'a> Default for ObjectPropInfo<'a>

source§

fn default() -> ObjectPropInfo<'a>

Returns the “default value” for a type. Read more
source§

impl<'a> TryFrom<&'a PodObjectRef> for ObjectPropInfo<'a>

§

type Error = PodError

The type returned in the event of a conversion error.
source§

fn try_from(value: &'a PodObjectRef) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for ObjectPropInfo<'a>

§

impl<'a> Send for ObjectPropInfo<'a>

§

impl<'a> Sync for ObjectPropInfo<'a>

§

impl<'a> Unpin for ObjectPropInfo<'a>

§

impl<'a> UnwindSafe for ObjectPropInfo<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.