[−][src]Struct libpulse_sys::context::introspect::pa_card_profile_info2
Stores information about a specific profile of a card.
Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.
Fields
name: *const c_char
Name of this profile.
description: *const c_char
Description of this profile.
n_sinks: u32
Number of sinks this profile would create.
n_sources: u32
Number of sources this profile would create.
priority: u32
The higher this value is, the more useful this profile is as a default.
available: i32
Is this profile available? If this is zero, meaning “unavailable”, then it makes no sense to try to activate this profile. If this is non-zero, it’s still not a guarantee that activating the profile will result in anything useful, it just means that the server isn’t aware of any reason why the profile would definitely be useless.
Auto Trait Implementations
impl RefUnwindSafe for pa_card_profile_info2
impl !Send for pa_card_profile_info2
impl !Sync for pa_card_profile_info2
impl Unpin for pa_card_profile_info2
impl UnwindSafe for pa_card_profile_info2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,