World

Struct World 

Source
#[repr(C, packed(4))]
pub struct World {
Show 30 fields pub id: ID, pub adt: Pointer<AnimData>, pub drawdata: DrawDataList, pub _pad0: [i8; 4], pub texact: i16, pub mistype: i16, pub horr: f32, pub horg: f32, pub horb: f32, pub exposure: f32, pub exp: f32, pub range: f32, pub mode: i16, pub _pad2: [i8; 6], pub misi: f32, pub miststa: f32, pub mistdist: f32, pub misthi: f32, pub aodist: f32, pub aoenergy: f32, pub flag: i16, pub _pad3: [i8; 6], pub ipo: Pointer<Ipo>, pub pr_texture: i16, pub use_nodes: i16, pub _pad: [i8; 4], pub preview: Pointer<PreviewImage>, pub nodetree: Pointer<bNodeTree>, pub lightgroup: Pointer<LightgroupMembership>, pub gpumaterial: ListBase,
}

Fields§

§id: ID§adt: Pointer<AnimData>§drawdata: DrawDataList§_pad0: [i8; 4]§texact: i16§mistype: i16§horr: f32§horg: f32§horb: f32§exposure: f32§exp: f32§range: f32§mode: i16§_pad2: [i8; 6]§misi: f32§miststa: f32§mistdist: f32§misthi: f32§aodist: f32§aoenergy: f32§flag: i16§_pad3: [i8; 6]§ipo: Pointer<Ipo>§pr_texture: i16§use_nodes: i16§_pad: [i8; 4]§preview: Pointer<PreviewImage>§nodetree: Pointer<bNodeTree>§lightgroup: Pointer<LightgroupMembership>§gpumaterial: ListBase

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for World

§

impl RefUnwindSafe for World

§

impl Send for World

§

impl Sync for World

§

impl Unpin for World

§

impl UnwindSafe for World

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.