pub struct PartInfo(/* private fields */);
Implementations§
Source§impl PartInfo
impl PartInfo
pub fn part_id(&self) -> i32
pub fn attribute_counts(&self) -> [i32; 4]
pub fn has_changed(&self) -> bool
pub fn is_instanced(&self) -> bool
pub fn name(&self, session: &Session) -> Result<String>
pub fn part_type(&self) -> PartType
pub fn set_part_type(&mut self, val: PartType)
pub fn with_part_type(self, val: PartType) -> Self
pub fn face_count(&self) -> i32
pub fn set_face_count(&mut self, val: i32)
pub fn with_face_count(self, val: i32) -> Self
pub fn point_count(&self) -> i32
pub fn set_point_count(&mut self, val: i32)
pub fn with_point_count(self, val: i32) -> Self
pub fn vertex_count(&self) -> i32
pub fn set_vertex_count(&mut self, val: i32)
pub fn with_vertex_count(self, val: i32) -> Self
pub fn instance_count(&self) -> i32
pub fn set_instance_count(&mut self, val: i32)
pub fn with_instance_count(self, val: i32) -> Self
pub fn instanced_part_count(&self) -> i32
pub fn set_instanced_part_count(&mut self, val: i32)
pub fn with_instanced_part_count(self, val: i32) -> Self
pub fn ptr(&self) -> *const HAPI_PartInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PartInfo
impl RefUnwindSafe for PartInfo
impl Send for PartInfo
impl Sync for PartInfo
impl Unpin for PartInfo
impl UnwindSafe for PartInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more