pub struct CurveInfo(/* private fields */);
Implementations§
Source§impl CurveInfo
impl CurveInfo
pub fn curve_type(&self) -> CurveType
pub fn set_curve_type(&mut self, val: CurveType)
pub fn with_curve_type(self, val: CurveType) -> Self
pub fn curve_count(&self) -> i32
pub fn set_curve_count(&mut self, val: i32)
pub fn with_curve_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 knot_count(&self) -> i32
pub fn set_knot_count(&mut self, val: i32)
pub fn with_knot_count(self, val: i32) -> Self
pub fn periodic(&self) -> bool
pub fn set_periodic(&mut self, val: bool)
pub fn with_periodic(self, val: bool) -> Self
pub fn rational(&self) -> bool
pub fn set_rational(&mut self, val: bool)
pub fn with_rational(self, val: bool) -> Self
pub fn closed(&self) -> bool
pub fn set_closed(&mut self, val: bool)
pub fn with_closed(self, val: bool) -> Self
pub fn has_knots(&self) -> bool
pub fn set_has_knots(&mut self, val: bool)
pub fn with_has_knots(self, val: bool) -> Self
pub fn order(&self) -> i32
pub fn set_order(&mut self, val: i32)
pub fn with_order(self, val: i32) -> Self
pub fn ptr(&self) -> *const HAPI_CurveInfo
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CurveInfo
impl RefUnwindSafe for CurveInfo
impl Send for CurveInfo
impl Sync for CurveInfo
impl Unpin for CurveInfo
impl UnwindSafe for CurveInfo
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