pub struct PresentParameters<'a> {
pub dirty_rects: Option<&'a [Rect<i32>]>,
pub scroll_rect: Option<Rect<i32>>,
pub scroll_offset: Option<Point<i32>>,
}Fields§
§dirty_rects: Option<&'a [Rect<i32>]>§scroll_rect: Option<Rect<i32>>§scroll_offset: Option<Point<i32>>Trait Implementations§
Source§impl<'a> Clone for PresentParameters<'a>
impl<'a> Clone for PresentParameters<'a>
Source§fn clone(&self) -> PresentParameters<'a>
fn clone(&self) -> PresentParameters<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for PresentParameters<'a>
impl<'a> Debug for PresentParameters<'a>
Source§impl<'a> Default for PresentParameters<'a>
impl<'a> Default for PresentParameters<'a>
Source§fn default() -> PresentParameters<'a>
fn default() -> PresentParameters<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for PresentParameters<'a>
impl<'a> RefUnwindSafe for PresentParameters<'a>
impl<'a> Send for PresentParameters<'a>
impl<'a> Sync for PresentParameters<'a>
impl<'a> Unpin for PresentParameters<'a>
impl<'a> UnsafeUnpin for PresentParameters<'a>
impl<'a> UnwindSafe for PresentParameters<'a>
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