Volume

Struct Volume 

Source
#[repr(C, packed(4))]
pub struct Volume {
Show 23 fields pub id: ID, pub adt: Pointer<AnimData>, pub filepath: [i8; 1024], pub packedfile: Pointer<PackedFile>, pub is_sequence: i8, pub sequence_mode: i8, pub _pad1: [i8; 2], pub frame_start: i32, pub frame_duration: i32, pub frame_offset: i32, pub flag: i32, pub active_grid: i32, pub mat: Pointer<Pointer<Material>>, pub totcol: i16, pub _pad2: [i16; 3], pub render: VolumeRender, pub display: VolumeDisplay, pub velocity_grid: [i8; 64], pub _pad3: [i8; 3], pub velocity_unit: i8, pub velocity_scale: f32, pub batch_cache: Pointer<Void>, pub runtime: Volume_Runtime,
}

Fields§

§id: ID§adt: Pointer<AnimData>§filepath: [i8; 1024]§packedfile: Pointer<PackedFile>§is_sequence: i8§sequence_mode: i8§_pad1: [i8; 2]§frame_start: i32§frame_duration: i32§frame_offset: i32§flag: i32§active_grid: i32§mat: Pointer<Pointer<Material>>§totcol: i16§_pad2: [i16; 3]§render: VolumeRender§display: VolumeDisplay§velocity_grid: [i8; 64]§_pad3: [i8; 3]§velocity_unit: i8§velocity_scale: f32§batch_cache: Pointer<Void>§runtime: Volume_Runtime

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Volume

§

impl RefUnwindSafe for Volume

§

impl Send for Volume

§

impl Sync for Volume

§

impl Unpin for Volume

§

impl UnwindSafe for Volume

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.