#[repr(C)]pub struct spa_meta_bitmap {
    pub format: u32,
    pub size: spa_rectangle,
    pub stride: i32,
    pub offset: u32,
}Expand description
Bitmap information
This metadata contains a bitmap image in the given format and size. It is typically used for cursor images or other small images that are better transferred inline.
Fields§
§format: u32< bitmap video format, one of enum spa_video_format. 0 is and invalid format and should be handled as if there is no new bitmap information.
size: spa_rectangle< width and height of bitmap
stride: i32< stride of bitmap data
offset: u32< offset of bitmap data in this structure. An offset of 0 means no image data (invisible), an offset >= sizeof(struct spa_meta_bitmap) contains valid bitmap info.
Trait Implementations§
Source§impl Clone for spa_meta_bitmap
 
impl Clone for spa_meta_bitmap
Source§fn clone(&self) -> spa_meta_bitmap
 
fn clone(&self) -> spa_meta_bitmap
Returns a duplicate 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 spa_meta_bitmap
 
impl Debug for spa_meta_bitmap
Source§impl PartialEq for spa_meta_bitmap
 
impl PartialEq for spa_meta_bitmap
impl Copy for spa_meta_bitmap
impl Eq for spa_meta_bitmap
impl StructuralPartialEq for spa_meta_bitmap
Auto Trait Implementations§
impl Freeze for spa_meta_bitmap
impl RefUnwindSafe for spa_meta_bitmap
impl Send for spa_meta_bitmap
impl Sync for spa_meta_bitmap
impl Unpin for spa_meta_bitmap
impl UnwindSafe for spa_meta_bitmap
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