pub struct SceneFrame {
pub index: usize,
pub ground_truth: ImageFrame,
pub layers: Vec<SurfaceTag>,
pub motion: Vec<MotionVector>,
pub disocclusion_mask: Vec<bool>,
pub object_rect: Rect,
pub depth: Vec<f32>,
pub normals: Vec<Normal3>,
}Fields§
§index: usize§ground_truth: ImageFrame§layers: Vec<SurfaceTag>§motion: Vec<MotionVector>§disocclusion_mask: Vec<bool>§object_rect: Rect§depth: Vec<f32>§normals: Vec<Normal3>Trait Implementations§
Source§impl Clone for SceneFrame
impl Clone for SceneFrame
Source§fn clone(&self) -> SceneFrame
fn clone(&self) -> SceneFrame
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 moreAuto Trait Implementations§
impl Freeze for SceneFrame
impl RefUnwindSafe for SceneFrame
impl Send for SceneFrame
impl Sync for SceneFrame
impl Unpin for SceneFrame
impl UnsafeUnpin for SceneFrame
impl UnwindSafe for SceneFrame
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