#[repr(C)]pub struct pw_impl_factory_implementation {
pub version: u32,
pub create_object: Option<unsafe extern "C" fn(data: *mut c_void, resource: *mut pw_resource, type_: *const c_char, version: u32, properties: *mut pw_properties, new_id: u32) -> *mut c_void>,
}
Fields§
§version: u32
§create_object: Option<unsafe extern "C" fn(data: *mut c_void, resource: *mut pw_resource, type_: *const c_char, version: u32, properties: *mut pw_properties, new_id: u32) -> *mut c_void>
The function to create an object from this factory
Trait Implementations§
source§impl Clone for pw_impl_factory_implementation
impl Clone for pw_impl_factory_implementation
source§fn clone(&self) -> pw_impl_factory_implementation
fn clone(&self) -> pw_impl_factory_implementation
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 moreimpl Copy for pw_impl_factory_implementation
Auto Trait Implementations§
impl RefUnwindSafe for pw_impl_factory_implementation
impl Send for pw_impl_factory_implementation
impl Sync for pw_impl_factory_implementation
impl Unpin for pw_impl_factory_implementation
impl UnwindSafe for pw_impl_factory_implementation
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