pub struct TrackSceneryConfig { /* private fields */ }Expand description
Scene regions that constrain allocation and track lifetime.
Implementations§
Source§impl TrackSceneryConfig
impl TrackSceneryConfig
Sourcepub fn new(
boundary_boxes: Vec<TrackingBox2D>,
outside_max_frames: usize,
) -> Result<Self, TrackingError>
pub fn new( boundary_boxes: Vec<TrackingBox2D>, outside_max_frames: usize, ) -> Result<Self, TrackingError>
Construct validated tracking scenery.
Trait Implementations§
Source§impl Clone for TrackSceneryConfig
impl Clone for TrackSceneryConfig
Source§fn clone(&self) -> TrackSceneryConfig
fn clone(&self) -> TrackSceneryConfig
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 TrackSceneryConfig
impl Debug for TrackSceneryConfig
Source§impl PartialEq for TrackSceneryConfig
impl PartialEq for TrackSceneryConfig
impl StructuralPartialEq for TrackSceneryConfig
Auto Trait Implementations§
impl Freeze for TrackSceneryConfig
impl RefUnwindSafe for TrackSceneryConfig
impl Send for TrackSceneryConfig
impl Sync for TrackSceneryConfig
impl Unpin for TrackSceneryConfig
impl UnsafeUnpin for TrackSceneryConfig
impl UnwindSafe for TrackSceneryConfig
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