Expand description
Region of the BltBuffer
which we are operating on
Some Blt
operations can operate on either the full BltBuffer
or a
sub-rectangle of it, but require the stride to be known in the latter case.
Variants
Full
Operate on the full BltBuffer
SubRectangle
Fields
px_stride: usize
Stride (length of each row of the BltBuffer
) in pixels
Operate on a sub-rectangle of the BltBuffer
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BltRegion
impl Send for BltRegion
impl Sync for BltRegion
impl Unpin for BltRegion
impl UnwindSafe for BltRegion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more