pub struct DataDrivenProperties { /* private fields */ }Expand description
The decoded contents of DataDrivenMaterial::propertyBlob
Implementations§
Source§impl DataDrivenProperties
impl DataDrivenProperties
Sourcepub fn groups_len(&self) -> usize
pub fn groups_len(&self) -> usize
Fragment groups, in stored order
Sourcepub fn groups(&self, index: usize) -> Option<Ref<'_, DataDrivenGroup>>
pub fn groups(&self, index: usize) -> Option<Ref<'_, DataDrivenGroup>>
Borrows element index in place. None when out of range.
pub fn groups_mut( &mut self, index: usize, ) -> Option<RefMut<'_, DataDrivenGroup>>
Sourcepub fn groups_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, DataDrivenGroup>>
pub fn groups_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, DataDrivenGroup>>
Iterate the elements, borrowing each in turn.
pub fn resize_groups(&mut self, count: usize)
Trait Implementations§
Source§impl Debug for DataDrivenProperties
impl Debug for DataDrivenProperties
Source§impl Default for DataDrivenProperties
impl Default for DataDrivenProperties
Source§impl Drop for DataDrivenProperties
impl Drop for DataDrivenProperties
impl Send for DataDrivenProperties
Auto Trait Implementations§
impl !Sync for DataDrivenProperties
impl Freeze for DataDrivenProperties
impl RefUnwindSafe for DataDrivenProperties
impl Unpin for DataDrivenProperties
impl UnsafeUnpin for DataDrivenProperties
impl UnwindSafe for DataDrivenProperties
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