Enum pipewire_wrapper::spa::pod::choice::ChoiceStructType
source · #[repr(u32)]pub enum ChoiceStructType<T>where
T: PodRawValue,{
NONE(T::Value),
RANGE(PodRangeValue<T::Value>),
STEP(PodStepValue<T::Value>),
ENUM(PodEnumValue<T::Value>),
FLAGS(PodFlagsValue<T::Value>),
VALUE(T::Value),
}
Variants§
NONE(T::Value)
RANGE(PodRangeValue<T::Value>)
STEP(PodStepValue<T::Value>)
ENUM(PodEnumValue<T::Value>)
FLAGS(PodFlagsValue<T::Value>)
VALUE(T::Value)
Any Pod could be here, at least primitives. This value is used to be able to parse Format as EnumFormat without errors. It’s possible to force object to parse value as format by call param_value
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for ChoiceStructType<T>where <T as PodValue>::Value: RefUnwindSafe,
impl<T> Send for ChoiceStructType<T>where <T as PodValue>::Value: Send,
impl<T> Sync for ChoiceStructType<T>where <T as PodValue>::Value: Sync,
impl<T> Unpin for ChoiceStructType<T>where <T as PodValue>::Value: Unpin,
impl<T> UnwindSafe for ChoiceStructType<T>where <T as PodValue>::Value: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more