bGPDstroke

Struct bGPDstroke 

Source
#[repr(C, packed(4))]
pub struct bGPDstroke {
Show 29 fields pub next: Pointer<bGPDstroke>, pub prev: Pointer<bGPDstroke>, pub points: Pointer<bGPDspoint>, pub triangles: Pointer<bGPDtriangle>, pub totpoints: i32, pub tot_triangles: i32, pub thickness: i16, pub flag: i16, pub _pad: [i16; 2], pub inittime: f64, pub colorname: [i8; 128], pub mat_nr: i32, pub caps: [i16; 2], pub gradient_f: f32, pub gradient_s: [f32; 2], pub fill_opacity_fac: f32, pub boundbox_min: [f32; 3], pub boundbox_max: [f32; 3], pub uv_rotation: f32, pub uv_translation: [f32; 2], pub uv_scale: f32, pub select_index: i32, pub _pad4: [i8; 4], pub dvert: Pointer<MDeformVert>, pub _pad3: Pointer<Void>, pub vert_color_fill: [f32; 4], pub editcurve: Pointer<bGPDcurve>, pub runtime: bGPDstroke_Runtime, pub _pad5: Pointer<Void>,
}

Fields§

§next: Pointer<bGPDstroke>§prev: Pointer<bGPDstroke>§points: Pointer<bGPDspoint>§triangles: Pointer<bGPDtriangle>§totpoints: i32§tot_triangles: i32§thickness: i16§flag: i16§_pad: [i16; 2]§inittime: f64§colorname: [i8; 128]§mat_nr: i32§caps: [i16; 2]§gradient_f: f32§gradient_s: [f32; 2]§fill_opacity_fac: f32§boundbox_min: [f32; 3]§boundbox_max: [f32; 3]§uv_rotation: f32§uv_translation: [f32; 2]§uv_scale: f32§select_index: i32§_pad4: [i8; 4]§dvert: Pointer<MDeformVert>§_pad3: Pointer<Void>§vert_color_fill: [f32; 4]§editcurve: Pointer<bGPDcurve>§runtime: bGPDstroke_Runtime§_pad5: Pointer<Void>

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.