ImageFormatData

Struct ImageFormatData 

Source
#[repr(C, packed(4))]
pub struct ImageFormatData {
Show 22 fields pub imtype: i8, pub depth: i8, pub planes: i8, pub flag: i8, pub quality: i8, pub compress: i8, pub exr_codec: i8, pub cineon_flag: i8, pub cineon_white: i16, pub cineon_black: i16, pub cineon_gamma: f32, pub jp2_flag: i8, pub jp2_codec: i8, pub tiff_codec: i8, pub _pad: [i8; 4], pub views_format: i8, pub stereo3d_format: Stereo3dFormat, pub color_management: i8, pub _pad1: [i8; 7], pub view_settings: ColorManagedViewSettings, pub display_settings: ColorManagedDisplaySettings, pub linear_colorspace_settings: ColorManagedColorspaceSettings,
}

Fields§

§imtype: i8§depth: i8§planes: i8§flag: i8§quality: i8§compress: i8§exr_codec: i8§cineon_flag: i8§cineon_white: i16§cineon_black: i16§cineon_gamma: f32§jp2_flag: i8§jp2_codec: i8§tiff_codec: i8§_pad: [i8; 4]§views_format: i8§stereo3d_format: Stereo3dFormat§color_management: i8§_pad1: [i8; 7]§view_settings: ColorManagedViewSettings§display_settings: ColorManagedDisplaySettings§linear_colorspace_settings: ColorManagedColorspaceSettings

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.