#[repr(C)]pub struct Region_Rect {
pub x: i32,
pub y: i32,
pub w: u32,
pub h: u32,
}Available on crate feature
native_window only.Expand description
if rects is nullptr, fill the Buffer dirty size by default
Fields§
§x: i32§y: i32§w: u32§h: u32Trait Implementations§
Source§impl Clone for Region_Rect
impl Clone for Region_Rect
Source§fn clone(&self) -> Region_Rect
fn clone(&self) -> Region_Rect
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Region_Rect
impl Debug for Region_Rect
impl Copy for Region_Rect
Auto Trait Implementations§
impl Freeze for Region_Rect
impl RefUnwindSafe for Region_Rect
impl Send for Region_Rect
impl Sync for Region_Rect
impl Unpin for Region_Rect
impl UnwindSafe for Region_Rect
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)