pub struct InspectUintArray<T: AsRef<[I]>, I: Into<u64> + Clone> {
pub items: T,
/* private fields */
}
Expand description
Wrapper to log uint array in an inspect_log!
or inspect_insert!
macro.
Fields§
§items: T
Implementations§
Trait Implementations§
Source§impl<T: AsRef<[I]>, I: Into<u64> + Clone> WriteInspect for InspectUintArray<T, I>
impl<T: AsRef<[I]>, I: Into<u64> + Clone> WriteInspect for InspectUintArray<T, I>
Source§fn write_inspect(&self, node: &Node, key: impl Into<StringReference>)
fn write_inspect(&self, node: &Node, key: impl Into<StringReference>)
Write a single value (property or child node) to |node| with the specified |key|.
If multiple properties need to be written, consider creating a single child
node with those properties.
Auto Trait Implementations§
impl<T, I> Freeze for InspectUintArray<T, I>where
T: Freeze,
impl<T, I> RefUnwindSafe for InspectUintArray<T, I>where
T: RefUnwindSafe,
I: RefUnwindSafe,
impl<T, I> Send for InspectUintArray<T, I>
impl<T, I> Sync for InspectUintArray<T, I>
impl<T, I> Unpin for InspectUintArray<T, I>
impl<T, I> UnwindSafe for InspectUintArray<T, I>where
T: UnwindSafe,
I: UnwindSafe,
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