SpaceImage

Struct SpaceImage 

Source
#[repr(C, packed(4))]
pub struct SpaceImage {
Show 33 fields pub next: Pointer<SpaceLink>, pub prev: Pointer<SpaceLink>, pub regionbase: ListBase, pub spacetype: i8, pub link_flag: i8, pub _pad0: [i8; 6], pub image: Pointer<Image>, pub iuser: ImageUser, pub scopes: Scopes, pub sample_line_hist: Histogram, pub gpd: Pointer<bGPdata>, pub cursor: [f32; 2], pub xof: f32, pub yof: f32, pub zoom: f32, pub centx: f32, pub centy: f32, pub mode: i8, pub mode_prev: i8, pub pin: i8, pub pixel_snap_mode: i8, pub lock: i8, pub dt_uv: i8, pub dt_uvstretch: i8, pub around: i8, pub _pad1: [i8; 4], pub flag: i32, pub uv_opacity: f32, pub tile_grid_shape: [i32; 2], pub custom_grid_subdiv: i32, pub _pad3: [i8; 4], pub mask_info: MaskSpaceInfo, pub overlay: SpaceImageOverlay,
}

Fields§

§next: Pointer<SpaceLink>§prev: Pointer<SpaceLink>§regionbase: ListBase§spacetype: i8§link_flag: i8§_pad0: [i8; 6]§image: Pointer<Image>§iuser: ImageUser§scopes: Scopes§sample_line_hist: Histogram§gpd: Pointer<bGPdata>§cursor: [f32; 2]§xof: f32§yof: f32§zoom: f32§centx: f32§centy: f32§mode: i8§mode_prev: i8§pin: i8§pixel_snap_mode: i8§lock: i8§dt_uv: i8§dt_uvstretch: i8§around: i8§_pad1: [i8; 4]§flag: i32§uv_opacity: f32§tile_grid_shape: [i32; 2]§custom_grid_subdiv: i32§_pad3: [i8; 4]§mask_info: MaskSpaceInfo§overlay: SpaceImageOverlay

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.