Struct hapi_rs::parameter::ParmHandle
source · [−]pub struct ParmHandle(pub c_int, _);
Expand description
An internal handle to a parameter
Tuple Fields
0: c_int
Implementations
sourceimpl ParmHandle
impl ParmHandle
sourcepub fn from_name(name: &str, node: &HoudiniNode) -> Result<Self>
pub fn from_name(name: &str, node: &HoudiniNode) -> Result<Self>
Find a parameter handle by name
sourcepub fn info(&self, node: &HoudiniNode) -> Result<ParmInfo>
pub fn info(&self, node: &HoudiniNode) -> Result<ParmInfo>
Retrieve parameter information from of the handle
Trait Implementations
sourceimpl Clone for ParmHandle
impl Clone for ParmHandle
sourcefn clone(&self) -> ParmHandle
fn clone(&self) -> ParmHandle
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 ParmHandle
impl Debug for ParmHandle
impl Copy for ParmHandle
Auto Trait Implementations
impl RefUnwindSafe for ParmHandle
impl Send for ParmHandle
impl Sync for ParmHandle
impl Unpin for ParmHandle
impl UnwindSafe for ParmHandle
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