#[repr(transparent)]pub struct MetaType { /* private fields */ }
Implementations§
source§impl MetaType
impl MetaType
pub const INVALID: MetaType = _
pub const HEADER: MetaType = _
pub const VIDEO_CROP: MetaType = _
pub const VIDEO_DAMAGE: MetaType = _
pub const BITMAP: MetaType = _
pub const CURSOR: MetaType = _
pub const CONTROL: MetaType = _
pub const BUSY: MetaType = _
pub const _LAST: MetaType = _
Trait Implementations§
source§impl From<MetaType> for spa_meta_type
impl From<MetaType> for spa_meta_type
source§impl From<u32> for MetaType
impl From<u32> for MetaType
source§fn from(value: spa_meta_type) -> Self
fn from(value: spa_meta_type) -> Self
Converts to this type from the input type.
source§impl PartialEq<MetaType> for MetaType
impl PartialEq<MetaType> for MetaType
source§impl RawWrapper for MetaType
impl RawWrapper for MetaType
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 MetaType
impl Eq for MetaType
impl StructuralEq for MetaType
impl StructuralPartialEq for MetaType
Auto Trait Implementations§
impl RefUnwindSafe for MetaType
impl Send for MetaType
impl Sync for MetaType
impl Unpin for MetaType
impl UnwindSafe for MetaType
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