pub struct CurveInfo { /* private fields */ }
Implementations
sourceimpl 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 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 RefUnwindSafe for CurveInfo
impl Send for CurveInfo
impl Sync for CurveInfo
impl Unpin for CurveInfo
impl UnwindSafe for CurveInfo
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