Struct grokj2k_sys::_grk_image[][src]

#[repr(C)]
pub struct _grk_image {
Show fields pub obj: grk_object, pub x0: u32, pub y0: u32, pub x1: u32, pub y1: u32, pub numcomps: u16, pub color_space: GRK_COLOR_SPACE, pub color_applied: bool, pub has_capture_resolution: bool, pub capture_resolution: [f64; 2], pub has_display_resolution: bool, pub display_resolution: [f64; 2], pub meta: *mut grk_image_meta, pub comps: *mut grk_image_comp,
}

Fields

obj: grk_objectx0: u32

XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area

y0: u32

YOsiz: vertical offset from the origin of the reference grid to the top side of the image area

x1: u32

Xsiz: width of the reference grid

y1: u32

Ysiz: height of the reference grid

numcomps: u16

number of components in the image

color_space: GRK_COLOR_SPACEcolor_applied: boolhas_capture_resolution: boolcapture_resolution: [f64; 2]has_display_resolution: booldisplay_resolution: [f64; 2]meta: *mut grk_image_metacomps: *mut grk_image_comp

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.