pub struct Session {
pub num_frames: usize,
pub obj_ids: Vec<i64>,
pub max_obj_id: i64,
/* private fields */
}Expand description
Persistent tracking state across frames (Sam3VideoInferenceSession).
Fields§
§num_frames: usizeFrames in the clip (0 = unknown/streaming); the reference caps
max_object_pointers_to_use with it.
obj_ids: Vec<i64>Ordered object ids — the track ids the CLI reports.
max_obj_id: i64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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