Image

Struct Image 

Source
#[repr(C, packed(4))]
pub struct Image {
Show 41 fields pub id: ID, pub name: [i8; 1024], pub cache: Pointer<Nothing>, pub gputexture: [[[Pointer<Nothing>; 2]; 2]; 3], pub anims: ListBase, pub rr: Pointer<Nothing>, pub renderslots: ListBase, pub render_slot: i16, pub last_render_slot: i16, pub flag: i32, pub source: i16, pub type_: i16, pub lastframe: i32, pub gpuframenr: i32, pub gpuflag: i16, pub gpu_pass: i16, pub gpu_layer: i16, pub gpu_view: i16, pub _pad2: [i8; 4], pub packedfile: Pointer<PackedFile>, pub packedfiles: ListBase, pub preview: Pointer<PreviewImage>, pub lastused: i32, pub gen_x: i32, pub gen_y: i32, pub gen_type: i8, pub gen_flag: i8, pub gen_depth: i16, pub gen_color: [f32; 4], pub aspx: f32, pub aspy: f32, pub colorspace_settings: ColorManagedColorspaceSettings, pub alpha_mode: i8, pub _pad: i8, pub eye: i8, pub views_format: i8, pub active_tile_index: i32, pub tiles: ListBase, pub views: ListBase, pub stereo3d_format: Pointer<Stereo3dFormat>, pub runtime: Image_Runtime,
}

Fields§

§id: ID§name: [i8; 1024]§cache: Pointer<Nothing>§gputexture: [[[Pointer<Nothing>; 2]; 2]; 3]§anims: ListBase§rr: Pointer<Nothing>§renderslots: ListBase§render_slot: i16§last_render_slot: i16§flag: i32§source: i16§type_: i16§lastframe: i32§gpuframenr: i32§gpuflag: i16§gpu_pass: i16§gpu_layer: i16§gpu_view: i16§_pad2: [i8; 4]§packedfile: Pointer<PackedFile>§packedfiles: ListBase§preview: Pointer<PreviewImage>§lastused: i32§gen_x: i32§gen_y: i32§gen_type: i8§gen_flag: i8§gen_depth: i16§gen_color: [f32; 4]§aspx: f32§aspy: f32§colorspace_settings: ColorManagedColorspaceSettings§alpha_mode: i8§_pad: i8§eye: i8§views_format: i8§active_tile_index: i32§tiles: ListBase§views: ListBase§stereo3d_format: Pointer<Stereo3dFormat>§runtime: Image_Runtime

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Image

§

impl RefUnwindSafe for Image

§

impl Send for Image

§

impl Sync for Image

§

impl Unpin for Image

§

impl UnwindSafe for Image

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.