Struct VolumeInfo

Source
pub struct VolumeInfo(/* private fields */);

Implementations§

Source§

impl VolumeInfo

Source

pub fn name(&self, session: &Session) -> Result<String>

Source

pub fn volume_type(&self) -> VolumeType

Source

pub fn x_length(&self) -> i32

Source

pub fn set_x_length(&mut self, val: i32)

Source

pub fn with_x_length(self, val: i32) -> Self

Source

pub fn y_length(&self) -> i32

Source

pub fn set_y_length(&mut self, val: i32)

Source

pub fn with_y_length(self, val: i32) -> Self

Source

pub fn z_length(&self) -> i32

Source

pub fn set_z_length(&mut self, val: i32)

Source

pub fn with_z_length(self, val: i32) -> Self

Source

pub fn min_x(&self) -> i32

Source

pub fn set_min_x(&mut self, val: i32)

Source

pub fn with_min_x(self, val: i32) -> Self

Source

pub fn min_y(&self) -> i32

Source

pub fn set_min_y(&mut self, val: i32)

Source

pub fn with_min_y(self, val: i32) -> Self

Source

pub fn min_z(&self) -> i32

Source

pub fn set_min_z(&mut self, val: i32)

Source

pub fn with_min_z(self, val: i32) -> Self

Source

pub fn tuple_size(&self) -> i32

Source

pub fn set_tuple_size(&mut self, val: i32)

Source

pub fn with_tuple_size(self, val: i32) -> Self

Source

pub fn storage(&self) -> StorageType

Source

pub fn set_storage(&mut self, val: StorageType)

Source

pub fn with_storage(self, val: StorageType) -> Self

Source

pub fn tile_size(&self) -> i32

Source

pub fn set_tile_size(&mut self, val: i32)

Source

pub fn with_tile_size(self, val: i32) -> Self

Source

pub fn has_taper(&self) -> bool

Source

pub fn set_has_taper(&mut self, val: bool)

Source

pub fn with_has_taper(self, val: bool) -> Self

Source

pub fn x_taper(&self) -> f32

Source

pub fn set_x_taper(&mut self, val: f32)

Source

pub fn with_x_taper(self, val: f32) -> Self

Source

pub fn y_taper(&self) -> f32

Source

pub fn set_y_taper(&mut self, val: f32)

Source

pub fn with_y_taper(self, val: f32) -> Self

Source

pub fn ptr(&self) -> *const HAPI_VolumeInfo

Trait Implementations§

Source§

impl Clone for VolumeInfo

Source§

fn clone(&self) -> VolumeInfo

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for VolumeInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.