Struct pipewire_sys::pw_memmap
source · #[repr(C)]pub struct pw_memmap {
pub block: *mut pw_memblock,
pub ptr: *mut c_void,
pub flags: u32,
pub offset: u32,
pub size: u32,
pub tag: [u32; 5],
}
Expand description
a mapped region of a pw_memblock
Fields§
§block: *mut pw_memblock
< owner memblock
ptr: *mut c_void
< mapped pointer
flags: u32
< flags for the mapping on of enum pw_memmap_flags
offset: u32
< offset in memblock
size: u32
< size in memblock
tag: [u32; 5]
< user tag
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for pw_memmap
impl !Send for pw_memmap
impl !Sync for pw_memmap
impl Unpin for pw_memmap
impl UnwindSafe for pw_memmap
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