#[repr(C)]pub struct switch_image_rect {
pub x: c_uint,
pub y: c_uint,
pub w: c_uint,
pub h: c_uint,
}Expand description
\brief Representation of a rectangle on a surface
Fields§
§x: c_uint< leftmost column
y: c_uint< topmost row
w: c_uint< width
h: c_uint< height
Trait Implementations§
Source§impl Clone for switch_image_rect
impl Clone for switch_image_rect
Source§fn clone(&self) -> switch_image_rect
fn clone(&self) -> switch_image_rect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for switch_image_rect
impl Debug for switch_image_rect
Source§impl Default for switch_image_rect
impl Default for switch_image_rect
Source§fn default() -> switch_image_rect
fn default() -> switch_image_rect
Returns the “default value” for a type. Read more
impl Copy for switch_image_rect
Auto Trait Implementations§
impl Freeze for switch_image_rect
impl RefUnwindSafe for switch_image_rect
impl Send for switch_image_rect
impl Sync for switch_image_rect
impl Unpin for switch_image_rect
impl UnsafeUnpin for switch_image_rect
impl UnwindSafe for switch_image_rect
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