Struct libspa_sys::spa_meta
source · #[repr(C)]pub struct spa_meta {
pub type_: u32,
pub size: u32,
pub data: *mut c_void,
}
Expand description
A metadata element.
This structure is available on the buffer structure and contains the type of the metadata and a pointer/size to the actual metadata itself.
Fields§
§type_: u32
< metadata type, one of enum spa_meta_type
size: u32
< size of metadata
data: *mut c_void
< pointer to metadata
Trait Implementations§
source§impl PartialEq for spa_meta
impl PartialEq for spa_meta
impl Copy for spa_meta
impl Eq for spa_meta
impl StructuralPartialEq for spa_meta
Auto Trait Implementations§
impl RefUnwindSafe for spa_meta
impl !Send for spa_meta
impl !Sync for spa_meta
impl Unpin for spa_meta
impl UnwindSafe for spa_meta
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