Curve

Struct Curve 

Source
#[repr(C, packed(4))]
pub struct Curve {
Show 77 fields pub id: ID, pub adt: Pointer<AnimData>, pub nurb: ListBase, pub editnurb: Pointer<Nothing>, pub bevobj: Pointer<Object>, pub taperobj: Pointer<Object>, pub textoncurve: Pointer<Object>, pub ipo: Pointer<Ipo>, pub key: Pointer<Key>, pub mat: Pointer<Pointer<Material>>, pub bevel_profile: Pointer<CurveProfile>, pub loc: [f32; 3], pub size: [f32; 3], pub type_: i16, pub texflag: i8, pub _pad0: [i8; 7], pub twist_mode: i16, pub twist_smooth: f32, pub smallcaps_scale: f32, pub pathlen: i32, pub bevresol: i16, pub totcol: i16, pub flag: i32, pub width: f32, pub ext1: f32, pub ext2: f32, pub resolu: i16, pub resolv: i16, pub resolu_ren: i16, pub resolv_ren: i16, pub actnu: i32, pub actvert: i32, pub overflow: i8, pub spacemode: i8, pub align_y: i8, pub bevel_mode: i8, pub taper_radius_mode: i8, pub _pad: i8, pub lines: i16, pub spacing: f32, pub linedist: f32, pub shear: f32, pub fsize: f32, pub wordspace: f32, pub ulpos: f32, pub ulheight: f32, pub xof: f32, pub yof: f32, pub linewidth: f32, pub pos: i32, pub selstart: i32, pub selend: i32, pub len_wchar: i32, pub len: i32, pub str: Pointer<i8>, pub editfont: Pointer<Nothing>, pub family: [i8; 64], pub vfont: Pointer<VFont>, pub vfontb: Pointer<VFont>, pub vfonti: Pointer<VFont>, pub vfontbi: Pointer<VFont>, pub tb: Pointer<TextBox>, pub totbox: i32, pub actbox: i32, pub strinfo: Pointer<CharInfo>, pub curinfo: CharInfo, pub ctime: f32, pub bevfac1: f32, pub bevfac2: f32, pub bevfac1_mapping: i8, pub bevfac2_mapping: i8, pub _pad2: [i8; 6], pub fsize_realtime: f32, pub curve_eval: Pointer<Curves>, pub edit_data_from_original: i8, pub _pad3: [i8; 7], pub batch_cache: Pointer<Void>,
}

Fields§

§id: ID§adt: Pointer<AnimData>§nurb: ListBase§editnurb: Pointer<Nothing>§bevobj: Pointer<Object>§taperobj: Pointer<Object>§textoncurve: Pointer<Object>§ipo: Pointer<Ipo>§key: Pointer<Key>§mat: Pointer<Pointer<Material>>§bevel_profile: Pointer<CurveProfile>§loc: [f32; 3]§size: [f32; 3]§type_: i16§texflag: i8§_pad0: [i8; 7]§twist_mode: i16§twist_smooth: f32§smallcaps_scale: f32§pathlen: i32§bevresol: i16§totcol: i16§flag: i32§width: f32§ext1: f32§ext2: f32§resolu: i16§resolv: i16§resolu_ren: i16§resolv_ren: i16§actnu: i32§actvert: i32§overflow: i8§spacemode: i8§align_y: i8§bevel_mode: i8§taper_radius_mode: i8§_pad: i8§lines: i16§spacing: f32§linedist: f32§shear: f32§fsize: f32§wordspace: f32§ulpos: f32§ulheight: f32§xof: f32§yof: f32§linewidth: f32§pos: i32§selstart: i32§selend: i32§len_wchar: i32§len: i32§str: Pointer<i8>§editfont: Pointer<Nothing>§family: [i8; 64]§vfont: Pointer<VFont>§vfontb: Pointer<VFont>§vfonti: Pointer<VFont>§vfontbi: Pointer<VFont>§tb: Pointer<TextBox>§totbox: i32§actbox: i32§strinfo: Pointer<CharInfo>§curinfo: CharInfo§ctime: f32§bevfac1: f32§bevfac2: f32§bevfac1_mapping: i8§bevfac2_mapping: i8§_pad2: [i8; 6]§fsize_realtime: f32§curve_eval: Pointer<Curves>§edit_data_from_original: i8§_pad3: [i8; 7]§batch_cache: Pointer<Void>

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Curve

§

impl RefUnwindSafe for Curve

§

impl Send for Curve

§

impl Sync for Curve

§

impl Unpin for Curve

§

impl UnwindSafe for Curve

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.