Struct fuchsia_inspect::types::StringArrayProperty
source · pub struct StringArrayProperty { /* private fields */ }
Trait Implementations§
source§impl ArrayProperty for StringArrayProperty
impl ArrayProperty for StringArrayProperty
§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
source§fn eq(&self, other: &StringArrayProperty) -> bool
fn eq(&self, other: &StringArrayProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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