Struct pipewire_wrapper::spa::pod::object::param_buffers::ParamBuffers
source · #[repr(transparent)]pub struct ParamBuffers { /* private fields */ }
Implementations§
source§impl ParamBuffers
impl ParamBuffers
pub const _START: ParamBuffers = _
pub const BUFFERS: ParamBuffers = _
pub const BLOCKS: ParamBuffers = _
pub const SIZE: ParamBuffers = _
pub const STRIDE: ParamBuffers = _
pub const ALIGN: ParamBuffers = _
pub const DATATYPE: ParamBuffers = _
Trait Implementations§
source§impl Clone for ParamBuffers
impl Clone for ParamBuffers
source§fn clone(&self) -> ParamBuffers
fn clone(&self) -> ParamBuffers
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParamBuffers
impl Debug for ParamBuffers
source§impl From<ParamBuffers> for spa_param_buffers
impl From<ParamBuffers> for spa_param_buffers
source§fn from(value: ParamBuffers) -> Self
fn from(value: ParamBuffers) -> Self
Converts to this type from the input type.
source§impl From<u32> for ParamBuffers
impl From<u32> for ParamBuffers
source§fn from(value: spa_param_buffers) -> Self
fn from(value: spa_param_buffers) -> Self
Converts to this type from the input type.
source§impl PartialEq<ParamBuffers> for ParamBuffers
impl PartialEq<ParamBuffers> for ParamBuffers
source§fn eq(&self, other: &ParamBuffers) -> bool
fn eq(&self, other: &ParamBuffers) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RawWrapper for ParamBuffers
impl RawWrapper for ParamBuffers
source§fn as_raw_ptr(&self) -> *mut Self::CType
fn as_raw_ptr(&self) -> *mut Self::CType
Raw ptr to the external type
source§fn from_raw(raw: Self::CType) -> Self
fn from_raw(raw: Self::CType) -> Self
Creates wrapper from the external value, can be use when external type has no raw pointers.
source§unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
Cast external pointer to the borrowed mutable wrapper.
Panic when pointer is null.
Lifetime is not reliable and should be guaranteed explicitly. Read more
impl Copy for ParamBuffers
impl Eq for ParamBuffers
impl StructuralEq for ParamBuffers
impl StructuralPartialEq for ParamBuffers
Auto Trait Implementations§
impl RefUnwindSafe for ParamBuffers
impl Send for ParamBuffers
impl Sync for ParamBuffers
impl Unpin for ParamBuffers
impl UnwindSafe for ParamBuffers
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