Struct pipewire_wrapper::core_api::properties::Properties
source · pub struct Properties { /* private fields */ }
Implementations§
source§impl Properties
impl Properties
pub fn new_dict(dict: &DictRef) -> Result<Self>
pub fn new_string(string: &CStr) -> Result<Self>
sourcepub unsafe fn from_ref(ref_: NonNull<PropertiesRef>) -> Self
pub unsafe fn from_ref(ref_: NonNull<PropertiesRef>) -> Self
Create Properties instance from reference
Safety
PropertiesRef must has lifetime more than created Properties
Trait Implementations§
source§impl AsMut<PropertiesRef> for Properties
impl AsMut<PropertiesRef> for Properties
source§fn as_mut(&mut self) -> &mut <Self as Wrapper>::RawWrapperType
fn as_mut(&mut self) -> &mut <Self as Wrapper>::RawWrapperType
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<PropertiesRef> for Properties
impl AsRef<PropertiesRef> for Properties
source§fn as_ref(&self) -> &<Self as Wrapper>::RawWrapperType
fn as_ref(&self) -> &<Self as Wrapper>::RawWrapperType
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for Properties
impl Clone for Properties
source§impl Debug for Properties
impl Debug for Properties
source§impl Default for Properties
impl Default for Properties
source§impl Deref for Properties
impl Deref for Properties
§type Target = <Properties as Wrapper>::RawWrapperType
type Target = <Properties as Wrapper>::RawWrapperType
The resulting type after dereferencing.
source§impl DerefMut for Properties
impl DerefMut for Properties
source§impl Drop for Properties
impl Drop for Properties
source§impl From<&CStr> for Properties
impl From<&CStr> for Properties
source§impl From<&DictRef> for Properties
impl From<&DictRef> for Properties
source§impl<'a> FromIterator<&'a (&'a CStr, &'a CStr)> for Properties
impl<'a> FromIterator<&'a (&'a CStr, &'a CStr)> for Properties
source§impl<'a> FromIterator<&'a (CString, CString)> for Properties
impl<'a> FromIterator<&'a (CString, CString)> for Properties
source§impl<'a> FromIterator<(&'a CStr, &'a CStr)> for Properties
impl<'a> FromIterator<(&'a CStr, &'a CStr)> for Properties
source§impl Wrapper for Properties
impl Wrapper for Properties
§type RawWrapperType = PropertiesRef
type RawWrapperType = PropertiesRef
RawWrapper type
source§fn into_raw(self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
fn into_raw(self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
Converts the Wrapper into raw pointer, that must be dropped manually.
Used when the external method takes the ownership.
source§fn as_raw(&self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
fn as_raw(&self) -> *mut <Self::RawWrapperType as RawWrapper>::CType
Raw mutable pointer to the external value.
Auto Trait Implementations§
impl RefUnwindSafe for Properties
impl !Send for Properties
impl !Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
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