Struct hapi_rs::geometry::VolumeInfo
source · [−]pub struct VolumeInfo { /* private fields */ }
Implementations
sourceimpl VolumeInfo
impl VolumeInfo
pub fn name(&self, session: &Session) -> Result<String>
pub fn volume_type(&self) -> VolumeType
pub fn x_length(&self) -> i32
pub fn set_x_length(&mut self, val: i32)
pub fn with_x_length(self, val: i32) -> Self
pub fn y_length(&self) -> i32
pub fn set_y_length(&mut self, val: i32)
pub fn with_y_length(self, val: i32) -> Self
pub fn z_length(&self) -> i32
pub fn set_z_length(&mut self, val: i32)
pub fn with_z_length(self, val: i32) -> Self
pub fn min_x(&self) -> i32
pub fn set_min_x(&mut self, val: i32)
pub fn with_min_x(self, val: i32) -> Self
pub fn min_y(&self) -> i32
pub fn set_min_y(&mut self, val: i32)
pub fn with_min_y(self, val: i32) -> Self
pub fn min_z(&self) -> i32
pub fn set_min_z(&mut self, val: i32)
pub fn with_min_z(self, val: i32) -> Self
pub fn tuple_size(&self) -> i32
pub fn set_tuple_size(&mut self, val: i32)
pub fn with_tuple_size(self, val: i32) -> Self
pub fn storage(&self) -> StorageType
pub fn set_storage(&mut self, val: StorageType)
pub fn with_storage(self, val: StorageType) -> Self
pub fn tile_size(&self) -> i32
pub fn set_tile_size(&mut self, val: i32)
pub fn with_tile_size(self, val: i32) -> Self
pub fn has_taper(&self) -> bool
pub fn set_has_taper(&mut self, val: bool)
pub fn with_has_taper(self, val: bool) -> Self
pub fn x_taper(&self) -> f32
pub fn set_x_taper(&mut self, val: f32)
pub fn with_x_taper(self, val: f32) -> Self
pub fn y_taper(&self) -> f32
pub fn set_y_taper(&mut self, val: f32)
pub fn with_y_taper(self, val: f32) -> Self
pub fn ptr(&self) -> *const HAPI_VolumeInfo
Trait Implementations
sourceimpl Clone for VolumeInfo
impl Clone for VolumeInfo
sourcefn clone(&self) -> VolumeInfo
fn clone(&self) -> VolumeInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for VolumeInfo
impl Send for VolumeInfo
impl Sync for VolumeInfo
impl Unpin for VolumeInfo
impl UnwindSafe for VolumeInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more