bGPdata

Struct bGPdata 

Source
#[repr(C, packed(4))]
pub struct bGPdata {
Show 32 fields pub id: ID, pub adt: Pointer<AnimData>, pub layers: ListBase, pub flag: i32, pub curve_edit_resolution: i32, pub curve_edit_threshold: f32, pub curve_edit_corner_angle: f32, pub palettes: ListBase, pub vertex_group_names: ListBase, pub pixfactor: f32, pub line_color: [f32; 4], pub onion_factor: f32, pub onion_mode: i32, pub onion_flag: i32, pub gstep: i16, pub gstep_next: i16, pub gcolor_prev: [f32; 3], pub gcolor_next: [f32; 3], pub zdepth_offset: f32, pub mat: Pointer<Pointer<Material>>, pub totcol: i16, pub totlayer: i16, pub totframe: i16, pub _pad2: [i8; 6], pub totstroke: i32, pub totpoint: i32, pub draw_mode: i16, pub onion_keytype: i16, pub select_last_index: i32, pub vertex_group_active_index: i32, pub grid: bGPgrid, pub runtime: bGPdata_Runtime,
}

Fields§

§id: ID§adt: Pointer<AnimData>§layers: ListBase§flag: i32§curve_edit_resolution: i32§curve_edit_threshold: f32§curve_edit_corner_angle: f32§palettes: ListBase§vertex_group_names: ListBase§pixfactor: f32§line_color: [f32; 4]§onion_factor: f32§onion_mode: i32§onion_flag: i32§gstep: i16§gstep_next: i16§gcolor_prev: [f32; 3]§gcolor_next: [f32; 3]§zdepth_offset: f32§mat: Pointer<Pointer<Material>>§totcol: i16§totlayer: i16§totframe: i16§_pad2: [i8; 6]§totstroke: i32§totpoint: i32§draw_mode: i16§onion_keytype: i16§select_last_index: i32§vertex_group_active_index: i32§grid: bGPgrid§runtime: bGPdata_Runtime

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.