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