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