pub struct StageId(pub &'static str);Expand description
Identifier for a perception stage.
A compile-time &'static str name, not a runtime-generated value.
Stage names are fixed in the stage implementation (e.g., "yolov8_detector").
StageId is Copy and zero-allocation.
Tuple Fields§
§0: &'static strImplementations§
Trait Implementations§
impl Copy for StageId
impl Eq for StageId
impl StructuralPartialEq for StageId
Auto Trait Implementations§
impl Freeze for StageId
impl RefUnwindSafe for StageId
impl Send for StageId
impl Sync for StageId
impl Unpin for StageId
impl UnsafeUnpin for StageId
impl UnwindSafe for StageId
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