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