Struct pipewire_wrapper::spa::pod::PodRectangleRef
source · #[repr(transparent)]pub struct PodRectangleRef { /* private fields */ }
Implementations§
source§impl PodRectangleRef
impl PodRectangleRef
pub fn raw_value(&self) -> spa_rectangle
Trait Implementations§
source§impl Clone for PodRectangleRef
impl Clone for PodRectangleRef
source§fn clone(&self) -> PodRectangleRef
fn clone(&self) -> PodRectangleRef
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 PodRectangleRef
impl Debug for PodRectangleRef
source§impl From<PodRectangleRef> for spa_pod_rectangle
impl From<PodRectangleRef> for spa_pod_rectangle
source§fn from(value: PodRectangleRef) -> Self
fn from(value: PodRectangleRef) -> Self
Converts to this type from the input type.
source§impl From<spa_pod_rectangle> for PodRectangleRef
impl From<spa_pod_rectangle> for PodRectangleRef
source§fn from(value: spa_pod_rectangle) -> Self
fn from(value: spa_pod_rectangle) -> Self
Converts to this type from the input type.
source§impl PodValue for PodRectangleRef
impl PodValue for PodRectangleRef
source§impl RawWrapper for PodRectangleRef
impl RawWrapper for PodRectangleRef
§type CType = spa_pod_rectangle
type CType = spa_pod_rectangle
External type
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 PodRectangleRef
Auto Trait Implementations§
impl RefUnwindSafe for PodRectangleRef
impl Send for PodRectangleRef
impl Sync for PodRectangleRef
impl Unpin for PodRectangleRef
impl UnwindSafe for PodRectangleRef
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