Struct hapi_rs::parameter::StringParameter
source · pub struct StringParameter(_);
Expand description
Represents string parameters of many different types.
Implementations§
Trait Implementations§
source§impl Debug for StringParameter
impl Debug for StringParameter
source§impl ParmBaseTrait for StringParameter
impl ParmBaseTrait for StringParameter
fn name(&self) -> Result<Cow<'_, str>>
fn session(&self) -> &Session
fn node(&self) -> NodeHandle
fn size(&self) -> i32
fn info(&self) -> &ParmInfo
source§fn update(&mut self) -> Result<()>
fn update(&mut self) -> Result<()>
Update the internal parameter metadata if Houdini parameter changed,
for example children added to a multi-parm or the menu was updated.
If the parameter has choice menu.
If parameter is a menu type, return a vec of menu items
source§fn multiparm_children(&self) -> Result<Option<Vec<Parameter>>>
fn multiparm_children(&self) -> Result<Option<Vec<Parameter>>>
If the parameter is a multiparm, return its children parms.
NOTE: THis is not a recommended way to traverse parameters in general,
this is here for convenience only
source§fn expression(&self, index: i32) -> Result<Option<String>>
fn expression(&self, index: i32) -> Result<Option<String>>
Returns a parameter expression string