pub struct StringAttribute<S: AttributeShape> { /* private fields */ }Expand description
Implementations§
Source§impl<S: AttributeShape> StringAttribute<S>
impl<S: AttributeShape> StringAttribute<S>
Sourcepub fn info(&self) -> &AttributeInfo
pub fn info(&self) -> &AttributeInfo
Returns the currently cached metadata.
Sourcepub fn owner(&self) -> AttributeOwner
pub fn owner(&self) -> AttributeOwner
Returns the element owner of this attribute.
Sourcepub fn storage(&self) -> StorageType
pub fn storage(&self) -> StorageType
Returns the HAPI storage type.
Source§impl StringAttribute<Fixed>
impl StringAttribute<Fixed>
Source§impl StringAttribute<Jagged>
impl StringAttribute<Jagged>
Source§impl StringAttribute<Fixed>
impl StringAttribute<Fixed>
Sourcepub fn get(&self) -> Result<StringArray>
pub fn get(&self) -> Result<StringArray>
Reads the complete fixed-tuple attribute.
Sourcepub fn get_range(&self, range: Range<usize>) -> Result<StringArray>
pub fn get_range(&self, range: Range<usize>) -> Result<StringArray>
Reads a range of owned elements as flattened string tuples.
Source§impl StringAttribute<Fixed>
impl StringAttribute<Fixed>
Sourcepub fn set_unique(&self, value: &CStr) -> Result<()>
pub fn set_unique(&self, value: &CStr) -> Result<()>
Assigns one string value to every element of the attribute.
Source§impl StringAttribute<Jagged>
impl StringAttribute<Jagged>
Sourcepub fn get(&self) -> Result<StringJaggedArrayData>
pub fn get(&self) -> Result<StringJaggedArrayData>
Reads the complete string or dictionary array attribute.
Trait Implementations§
Source§impl<S: Clone + AttributeShape> Clone for StringAttribute<S>
impl<S: Clone + AttributeShape> Clone for StringAttribute<S>
Auto Trait Implementations§
impl<S> !RefUnwindSafe for StringAttribute<S>
impl<S> !UnwindSafe for StringAttribute<S>
impl<S> Forget for StringAttribute<S>
impl<S> Freeze for StringAttribute<S>where
PhantomData<S>: Freeze,
impl<S> Move for StringAttribute<S>
impl<S> Send for StringAttribute<S>where
PhantomData<S>: Send,
impl<S> Sync for StringAttribute<S>where
PhantomData<S>: Sync,
impl<S> Unpin for StringAttribute<S>where
PhantomData<S>: Unpin,
impl<S> UnsafeUnpin for StringAttribute<S>where
PhantomData<S>: UnsafeUnpin,
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