pub struct FrameProcessorSubmitFrame {
pub metadata: NativeFrameMetadata,
pub present_deadline_us: Option<i64>,
}Expand description
Frame metadata and scheduling hints submitted to a frame processor.
Fields§
§metadata: NativeFrameMetadata§present_deadline_us: Option<i64>Implementations§
Source§impl FrameProcessorSubmitFrame
impl FrameProcessorSubmitFrame
pub fn new(metadata: NativeFrameMetadata) -> Self
Trait Implementations§
Source§impl Clone for FrameProcessorSubmitFrame
impl Clone for FrameProcessorSubmitFrame
Source§fn clone(&self) -> FrameProcessorSubmitFrame
fn clone(&self) -> FrameProcessorSubmitFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FrameProcessorSubmitFrame
impl Debug for FrameProcessorSubmitFrame
Source§impl<'de> Deserialize<'de> for FrameProcessorSubmitFrame
impl<'de> Deserialize<'de> for FrameProcessorSubmitFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FrameProcessorSubmitFrame
impl StructuralPartialEq for FrameProcessorSubmitFrame
Auto Trait Implementations§
impl Freeze for FrameProcessorSubmitFrame
impl RefUnwindSafe for FrameProcessorSubmitFrame
impl Send for FrameProcessorSubmitFrame
impl Sync for FrameProcessorSubmitFrame
impl Unpin for FrameProcessorSubmitFrame
impl UnsafeUnpin for FrameProcessorSubmitFrame
impl UnwindSafe for FrameProcessorSubmitFrame
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