pub struct AssetParm<'a> { /* private fields */ }
Expand description
Holds info and default value of a parameter
Implementations§
Methods from Deref<Target = ParmInfo>§
pub fn id(&self) -> ParmHandle
pub fn parent_id(&self) -> ParmHandle
pub fn child_index(&self) -> i32
pub fn parm_type(&self) -> ParmType
pub fn script_type(&self) -> PrmScriptType
pub fn permissions(&self) -> Permissions
pub fn tag_count(&self) -> i32
pub fn size(&self) -> i32
pub fn choice_count(&self) -> i32
pub fn choice_list_type(&self) -> ChoiceListType
pub fn has_min(&self) -> bool
pub fn has_max(&self) -> bool
pub fn has_uimin(&self) -> bool
pub fn has_uimax(&self) -> bool
pub fn min(&self) -> f32
pub fn max(&self) -> f32
pub fn uimin(&self) -> f32
pub fn uimax(&self) -> f32
pub fn invisible(&self) -> bool
pub fn disabled(&self) -> bool
pub fn spare(&self) -> bool
pub fn join_next(&self) -> bool
pub fn label_none(&self) -> bool
pub fn int_values_index(&self) -> i32
pub fn float_values_index(&self) -> i32
pub fn string_values_index(&self) -> i32
pub fn choice_index(&self) -> i32
pub fn input_node_type(&self) -> NodeType
pub fn input_node_flag(&self) -> NodeFlags
pub fn is_child_of_multi_parm(&self) -> bool
pub fn instance_num(&self) -> i32
pub fn instance_length(&self) -> i32
pub fn instance_count(&self) -> i32
pub fn instance_start_offset(&self) -> i32
pub fn ramp_type(&self) -> RampType
pub fn type_info(&self) -> Result<String>
pub fn name(&self) -> Result<String>
pub fn name_cstr(&self) -> Result<CString>
pub fn label(&self) -> Result<String>
pub fn template_name(&self) -> Result<String>
pub fn help(&self) -> Result<String>
pub fn visibility_condition(&self) -> Result<String>
pub fn disabled_condition(&self) -> Result<String>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AssetParm<'a>
impl<'a> !RefUnwindSafe for AssetParm<'a>
impl<'a> Send for AssetParm<'a>
impl<'a> Sync for AssetParm<'a>
impl<'a> Unpin for AssetParm<'a>
impl<'a> !UnwindSafe for AssetParm<'a>
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