Struct hapi_rs::geometry::InputCurveInfo
source · [−]pub struct InputCurveInfo { /* private fields */ }
Implementations
sourceimpl InputCurveInfo
impl InputCurveInfo
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 order(&self) -> i32
pub fn set_order(&mut self, val: i32)
pub fn with_order(self, val: i32) -> Self
pub fn closed(&self) -> bool
pub fn set_closed(&mut self, val: bool)
pub fn with_closed(self, val: bool) -> Self
pub fn reverse(&self) -> bool
pub fn set_reverse(&mut self, val: bool)
pub fn with_reverse(self, val: bool) -> Self
pub fn input_method(&self) -> InputCurveMethod
pub fn set_input_method(&mut self, val: InputCurveMethod)
pub fn with_input_method(self, val: InputCurveMethod) -> Self
pub fn breakpoint_parameterization(&self) -> InputCurveParameterization
pub fn set_breakpoint_parameterization(
&mut self,
val: InputCurveParameterization
)
pub fn with_breakpoint_parameterization(
self,
val: InputCurveParameterization
) -> Self
pub fn ptr(&self) -> *const HAPI_InputCurveInfo
Trait Implementations
sourceimpl Clone for InputCurveInfo
impl Clone for InputCurveInfo
sourcefn clone(&self) -> InputCurveInfo
fn clone(&self) -> InputCurveInfo
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
sourceimpl Debug for InputCurveInfo
impl Debug for InputCurveInfo
Auto Trait Implementations
impl RefUnwindSafe for InputCurveInfo
impl Send for InputCurveInfo
impl Sync for InputCurveInfo
impl Unpin for InputCurveInfo
impl UnwindSafe for InputCurveInfo
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