MaterialGPencilStyle

Struct MaterialGPencilStyle 

Source
#[repr(C, packed(4))]
pub struct MaterialGPencilStyle {
Show 25 fields pub sima: Pointer<Image>, pub ima: Pointer<Image>, pub stroke_rgba: [f32; 4], pub fill_rgba: [f32; 4], pub mix_rgba: [f32; 4], pub flag: i16, pub index: i16, pub stroke_style: i16, pub fill_style: i16, pub mix_factor: f32, pub gradient_angle: f32, pub gradient_radius: f32, pub _pad2: [i8; 4], pub gradient_scale: [f32; 2], pub gradient_shift: [f32; 2], pub texture_angle: f32, pub texture_scale: [f32; 2], pub texture_offset: [f32; 2], pub texture_opacity: f32, pub texture_pixsize: f32, pub mode: i32, pub gradient_type: i32, pub mix_stroke_factor: f32, pub alignment_mode: i32, pub alignment_rotation: f32,
}

Fields§

§sima: Pointer<Image>§ima: Pointer<Image>§stroke_rgba: [f32; 4]§fill_rgba: [f32; 4]§mix_rgba: [f32; 4]§flag: i16§index: i16§stroke_style: i16§fill_style: i16§mix_factor: f32§gradient_angle: f32§gradient_radius: f32§_pad2: [i8; 4]§gradient_scale: [f32; 2]§gradient_shift: [f32; 2]§texture_angle: f32§texture_scale: [f32; 2]§texture_offset: [f32; 2]§texture_opacity: f32§texture_pixsize: f32§mode: i32§gradient_type: i32§mix_stroke_factor: f32§alignment_mode: i32§alignment_rotation: f32

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.