#[repr(C)]pub struct Image_Region {
pub x: u32,
pub y: u32,
pub width: u32,
pub height: u32,
}Expand description
@brief Defines the region of the image source to decode.
@since 12
Fields§
§x: u32X coordinate of the start point, in pixels.
y: u32Y coordinate of the start point, in pixels.
width: u32Width of the region, in pixels.
height: u32Height of the region, in pixels.
Trait Implementations§
Source§impl Clone for Image_Region
impl Clone for Image_Region
Source§fn clone(&self) -> Image_Region
fn clone(&self) -> Image_Region
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 moreimpl Copy for Image_Region
Auto Trait Implementations§
impl Freeze for Image_Region
impl RefUnwindSafe for Image_Region
impl Send for Image_Region
impl Sync for Image_Region
impl Unpin for Image_Region
impl UnsafeUnpin for Image_Region
impl UnwindSafe for Image_Region
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