Struct pipewire_wrapper::spa::pod::object::param_process_latency::ParamProcessLatency
source · #[repr(transparent)]pub struct ParamProcessLatency { /* private fields */ }
Implementations§
source§impl ParamProcessLatency
impl ParamProcessLatency
pub const _START: ParamProcessLatency = _
pub const QUANTUM: ParamProcessLatency = _
pub const RATE: ParamProcessLatency = _
pub const NS: ParamProcessLatency = _
Trait Implementations§
source§impl Clone for ParamProcessLatency
impl Clone for ParamProcessLatency
source§fn clone(&self) -> ParamProcessLatency
fn clone(&self) -> ParamProcessLatency
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 ParamProcessLatency
impl Debug for ParamProcessLatency
source§impl From<ParamProcessLatency> for spa_param_process_latency
impl From<ParamProcessLatency> for spa_param_process_latency
source§fn from(value: ParamProcessLatency) -> Self
fn from(value: ParamProcessLatency) -> Self
Converts to this type from the input type.
source§impl From<u32> for ParamProcessLatency
impl From<u32> for ParamProcessLatency
source§fn from(value: spa_param_process_latency) -> Self
fn from(value: spa_param_process_latency) -> Self
Converts to this type from the input type.
source§impl PartialEq<ParamProcessLatency> for ParamProcessLatency
impl PartialEq<ParamProcessLatency> for ParamProcessLatency
source§fn eq(&self, other: &ParamProcessLatency) -> bool
fn eq(&self, other: &ParamProcessLatency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RawWrapper for ParamProcessLatency
impl RawWrapper for ParamProcessLatency
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 ParamProcessLatency
impl Eq for ParamProcessLatency
impl StructuralEq for ParamProcessLatency
impl StructuralPartialEq for ParamProcessLatency
Auto Trait Implementations§
impl RefUnwindSafe for ParamProcessLatency
impl Send for ParamProcessLatency
impl Sync for ParamProcessLatency
impl Unpin for ParamProcessLatency
impl UnwindSafe for ParamProcessLatency
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