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