pub struct Api {Show 24 fields
pub thread_loop_new: unsafe extern "C" fn(*const c_char, *const c_void) -> *mut c_void,
pub thread_loop_get_loop: unsafe extern "C" fn(*mut c_void) -> *mut c_void,
pub thread_loop_start: unsafe extern "C" fn(*mut c_void) -> c_int,
pub thread_loop_stop: unsafe extern "C" fn(*mut c_void),
pub thread_loop_lock: unsafe extern "C" fn(*mut c_void),
pub thread_loop_unlock: unsafe extern "C" fn(*mut c_void),
pub thread_loop_destroy: unsafe extern "C" fn(*mut c_void),
pub context_new: unsafe extern "C" fn(*mut c_void, *mut c_void, usize) -> *mut c_void,
pub context_connect: unsafe extern "C" fn(*mut c_void, *mut c_void, usize) -> *mut c_void,
pub context_connect_fd: unsafe extern "C" fn(*mut c_void, c_int, *mut c_void, usize) -> *mut c_void,
pub context_destroy: unsafe extern "C" fn(*mut c_void),
pub core_disconnect: unsafe extern "C" fn(*mut c_void) -> c_int,
pub properties_new: unsafe extern "C" fn(*const c_char, ...) -> *mut c_void,
pub properties_set: unsafe extern "C" fn(*mut c_void, *const c_char, *const c_char) -> c_int,
pub stream_new: unsafe extern "C" fn(*mut c_void, *const c_char, *mut c_void) -> *mut c_void,
pub stream_add_listener: unsafe extern "C" fn(*mut c_void, *mut c_void, *const PwStreamEvents, *mut c_void),
pub stream_connect: unsafe extern "C" fn(*mut c_void, c_int, u32, u32, *mut *const c_void, u32) -> c_int,
pub stream_update_params: unsafe extern "C" fn(*mut c_void, *mut *const c_void, u32) -> c_int,
pub stream_dequeue_buffer: unsafe extern "C" fn(*mut c_void) -> *mut PwBuffer,
pub stream_queue_buffer: unsafe extern "C" fn(*mut c_void, *mut PwBuffer) -> c_int,
pub stream_trigger_process: unsafe extern "C" fn(*mut c_void) -> c_int,
pub stream_set_active: unsafe extern "C" fn(*mut c_void, bool) -> c_int,
pub stream_disconnect: unsafe extern "C" fn(*mut c_void) -> c_int,
pub stream_destroy: unsafe extern "C" fn(*mut c_void),
}Expand description
Entry points resolved from libpipewire-0.3.so.0.
Fields§
§thread_loop_new: unsafe extern "C" fn(*const c_char, *const c_void) -> *mut c_void§thread_loop_get_loop: unsafe extern "C" fn(*mut c_void) -> *mut c_void§thread_loop_start: unsafe extern "C" fn(*mut c_void) -> c_int§thread_loop_stop: unsafe extern "C" fn(*mut c_void)§thread_loop_lock: unsafe extern "C" fn(*mut c_void)§thread_loop_unlock: unsafe extern "C" fn(*mut c_void)§thread_loop_destroy: unsafe extern "C" fn(*mut c_void)§context_new: unsafe extern "C" fn(*mut c_void, *mut c_void, usize) -> *mut c_void§context_connect: unsafe extern "C" fn(*mut c_void, *mut c_void, usize) -> *mut c_void§context_connect_fd: unsafe extern "C" fn(*mut c_void, c_int, *mut c_void, usize) -> *mut c_void§context_destroy: unsafe extern "C" fn(*mut c_void)§core_disconnect: unsafe extern "C" fn(*mut c_void) -> c_int§properties_new: unsafe extern "C" fn(*const c_char, ...) -> *mut c_void§properties_set: unsafe extern "C" fn(*mut c_void, *const c_char, *const c_char) -> c_int§stream_new: unsafe extern "C" fn(*mut c_void, *const c_char, *mut c_void) -> *mut c_void§stream_add_listener: unsafe extern "C" fn(*mut c_void, *mut c_void, *const PwStreamEvents, *mut c_void)§stream_connect: unsafe extern "C" fn(*mut c_void, c_int, u32, u32, *mut *const c_void, u32) -> c_int§stream_update_params: unsafe extern "C" fn(*mut c_void, *mut *const c_void, u32) -> c_int§stream_dequeue_buffer: unsafe extern "C" fn(*mut c_void) -> *mut PwBuffer§stream_queue_buffer: unsafe extern "C" fn(*mut c_void, *mut PwBuffer) -> c_int§stream_trigger_process: unsafe extern "C" fn(*mut c_void) -> c_int§stream_set_active: unsafe extern "C" fn(*mut c_void, bool) -> c_int§stream_disconnect: unsafe extern "C" fn(*mut c_void) -> c_int§stream_destroy: unsafe extern "C" fn(*mut c_void)Trait Implementations§
Auto Trait Implementations§
impl Freeze for Api
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnsafeUnpin for Api
impl UnwindSafe for Api
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more