#[repr(C)]pub struct Box {
pub x: i32,
pub y: i32,
pub w: i32,
pub h: i32,
pub score: f32,
}
Fields§
§x: i32
§y: i32
§w: i32
§h: i32
§score: f32
Trait Implementations§
impl Copy for Box
impl StructuralPartialEq for Box
Auto Trait Implementations§
impl Freeze for Box
impl RefUnwindSafe for Box
impl Send for Box
impl Sync for Box
impl Unpin for Box
impl UnwindSafe for Box
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