pub struct StringAttr(/* private fields */);
Implementations§
Source§impl StringAttr
impl StringAttr
pub fn new(name: CString, info: AttributeInfo, node: HoudiniNode) -> StringAttr
pub fn get(&self, part_id: i32) -> Result<StringArray>
pub fn get_async(&self, part_id: i32) -> Result<AsyncResult<StringArray>>
pub fn set(&self, part_id: i32, values: &[&str]) -> Result<()>
pub fn set_cstr<'a>( &self, part_id: i32, values: impl Iterator<Item = &'a CStr>, ) -> Result<()>
Auto Trait Implementations§
impl Freeze for StringAttr
impl !RefUnwindSafe for StringAttr
impl Send for StringAttr
impl Sync for StringAttr
impl Unpin for StringAttr
impl !UnwindSafe for StringAttr
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