#[repr(C)]pub struct Box {
pub left: u32,
pub top: u32,
pub right: u32,
pub bottom: u32,
pub front: u32,
pub back: u32,
}Expand description
[docs.microsoft.com] D3DBOX / BOX
Define a 3d volume with u32s: { left, top, right, bottom, front, back }
Fields§
§left: u32§top: u32§right: u32§bottom: u32§front: u32§back: u32Implementations§
Trait Implementations§
impl Copy 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