#[repr(C, packed(1))]pub struct OBRect {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
@brief Rectangle
Fields§
§x: u32< Origin coordinate x
y: u32< Origin coordinate y
width: u32< Rectangle width
height: u32< Rectangle height
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OBRect
impl RefUnwindSafe for OBRect
impl Send for OBRect
impl Sync for OBRect
impl Unpin for OBRect
impl UnsafeUnpin for OBRect
impl UnwindSafe for OBRect
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