pub struct StringArrayProperty { /* private fields */ }
Trait Implementations§
Source§impl ArrayProperty for StringArrayProperty
impl ArrayProperty for StringArrayProperty
Source§type Type = StringReference
type Type = StringReference
The type of the array entries.
Source§fn set(&self, index: usize, value: impl Into<Self::Type>)
fn set(&self, index: usize, value: impl Into<Self::Type>)
Sets the array value to
value
at the given index
.Source§fn atomic_update<R, F: FnOnce(&Self) -> R>(&self, update_fn: F) -> R
fn atomic_update<R, F: FnOnce(&Self) -> R>(&self, update_fn: F) -> R
Takes a function to execute as under a single lock of the Inspect VMO. This function
receives a reference to the
ArrayProperty
on which it is called.Source§impl Debug for StringArrayProperty
impl Debug for StringArrayProperty
Source§impl Default for StringArrayProperty
impl Default for StringArrayProperty
Source§fn default() -> StringArrayProperty
fn default() -> StringArrayProperty
Returns the “default value” for a type. Read more
Source§impl Drop for StringArrayProperty
impl Drop for StringArrayProperty
Source§impl PartialEq for StringArrayProperty
impl PartialEq for StringArrayProperty
impl Eq for StringArrayProperty
impl InspectType for StringArrayProperty
impl StructuralPartialEq for StringArrayProperty
Auto Trait Implementations§
impl Freeze for StringArrayProperty
impl !RefUnwindSafe for StringArrayProperty
impl Send for StringArrayProperty
impl Sync for StringArrayProperty
impl Unpin for StringArrayProperty
impl !UnwindSafe for StringArrayProperty
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