Struct pipewire_wrapper::filter::FilterState
source · #[repr(transparent)]pub struct FilterState { /* private fields */ }
Implementations§
source§impl FilterState
impl FilterState
pub const ERROR: FilterState = _
pub const UNCONNECTED: FilterState = _
pub const CONNECTING: FilterState = _
pub const PAUSED: FilterState = _
pub const STREAMING: FilterState = _
source§impl FilterState
impl FilterState
sourcepub fn state_as_string(&self) -> &CStr
pub fn state_as_string(&self) -> &CStr
Convert a filter state to a readable string
Trait Implementations§
source§impl Clone for FilterState
impl Clone for FilterState
source§fn clone(&self) -> FilterState
fn clone(&self) -> FilterState
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 FilterState
impl Debug for FilterState
source§impl From<FilterState> for pw_filter_state
impl From<FilterState> for pw_filter_state
source§fn from(value: FilterState) -> Self
fn from(value: FilterState) -> Self
Converts to this type from the input type.
source§impl From<i32> for FilterState
impl From<i32> for FilterState
source§fn from(value: pw_filter_state) -> Self
fn from(value: pw_filter_state) -> Self
Converts to this type from the input type.
source§impl PartialEq<FilterState> for FilterState
impl PartialEq<FilterState> for FilterState
source§fn eq(&self, other: &FilterState) -> bool
fn eq(&self, other: &FilterState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RawWrapper for FilterState
impl RawWrapper for FilterState
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 FilterState
impl Eq for FilterState
impl StructuralEq for FilterState
impl StructuralPartialEq for FilterState
Auto Trait Implementations§
impl RefUnwindSafe for FilterState
impl Send for FilterState
impl Sync for FilterState
impl Unpin for FilterState
impl UnwindSafe for FilterState
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