Struct pipewire_wrapper::spa::pod::object::param_buffers::ParamBuffersBuilder
source · pub struct ParamBuffersBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> ParamBuffersBuilder<'a>
impl<'a> ParamBuffersBuilder<'a>
pub fn buffers( self, value: <&'a PodChoiceRef<PodIntRef> as PodValue>::Value ) -> Self
pub fn blocks( self, value: <&'a PodChoiceRef<PodIntRef> as PodValue>::Value ) -> Self
pub fn size( self, value: <&'a PodChoiceRef<PodIntRef> as PodValue>::Value ) -> Self
pub fn stride( self, value: <&'a PodChoiceRef<PodIntRef> as PodValue>::Value ) -> Self
pub fn align( self, value: <&'a PodChoiceRef<PodIntRef> as PodValue>::Value ) -> Self
pub fn datatype( self, value: <&'a PodChoiceRef<PodIntRef> as PodValue>::Value ) -> Self
pub fn buffers_flags(self, flags: PodPropFlags) -> Self
pub fn blocks_flags(self, flags: PodPropFlags) -> Self
pub fn size_flags(self, flags: PodPropFlags) -> Self
pub fn stride_flags(self, flags: PodPropFlags) -> Self
pub fn align_flags(self, flags: PodPropFlags) -> Self
pub fn datatype_flags(self, flags: PodPropFlags) -> Self
pub fn build(self) -> Result<AllocPod<PodObjectRef>, PodError>
Trait Implementations§
source§impl<'a> Default for ParamBuffersBuilder<'a>
impl<'a> Default for ParamBuffersBuilder<'a>
source§fn default() -> ParamBuffersBuilder<'a>
fn default() -> ParamBuffersBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ParamBuffersBuilder<'a>
impl<'a> Send for ParamBuffersBuilder<'a>
impl<'a> Sync for ParamBuffersBuilder<'a>
impl<'a> Unpin for ParamBuffersBuilder<'a>
impl<'a> UnwindSafe for ParamBuffersBuilder<'a>
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