Struct visioncortex::Artifact
source · pub struct Artifact {
pub image: BinaryImage,
pub bound: BoundingRect,
}Expand description
An artificial object that have a shape and a position in space
Fields§
§image: BinaryImageshape image
bound: BoundingRectposition in space
Implementations§
source§impl Artifact
impl Artifact
pub fn new(rect: BoundingRect, image: BinaryImage) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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