#[repr(C)]pub struct spa_meta_sync_timeline {
pub flags: u32,
pub padding: u32,
pub acquire_point: u64,
pub release_point: u64,
}
Expand description
A timeline point for explicit sync
Metadata to describe the time on the timeline when the buffer can be acquired and when it can be reused.
This metadata will require negotiation of 2 extra fds for the acquire and release timelines respectively. One way to achieve this is to place this metadata as SPA_PARAM_BUFFERS_metaType when negotiating a buffer layout with 2 extra fds.
Fields§
§flags: u32
§padding: u32
§acquire_point: u64
< the timeline acquire point, this is when the data can be accessed.
release_point: u64
< the timeline release point, this timeline point should be signaled when the data is no longer accessed.
Trait Implementations§
Source§impl Clone for spa_meta_sync_timeline
impl Clone for spa_meta_sync_timeline
Source§fn clone(&self) -> spa_meta_sync_timeline
fn clone(&self) -> spa_meta_sync_timeline
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_sync_timeline
impl Debug for spa_meta_sync_timeline
Source§impl PartialEq for spa_meta_sync_timeline
impl PartialEq for spa_meta_sync_timeline
impl Copy for spa_meta_sync_timeline
impl Eq for spa_meta_sync_timeline
impl StructuralPartialEq for spa_meta_sync_timeline
Auto Trait Implementations§
impl Freeze for spa_meta_sync_timeline
impl RefUnwindSafe for spa_meta_sync_timeline
impl Send for spa_meta_sync_timeline
impl Sync for spa_meta_sync_timeline
impl Unpin for spa_meta_sync_timeline
impl UnwindSafe for spa_meta_sync_timeline
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