pub struct ObjRef<'a> {
pub index: usize,
pub store: &'a Jsons,
}
Expand description
Stand-in for &'a [(String, Json)]
.
Fields§
§index: usize
Reference into store.objects
.
store: &'a Jsons
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ObjRef<'a>
impl<'a> RefUnwindSafe for ObjRef<'a>
impl<'a> Send for ObjRef<'a>
impl<'a> Sync for ObjRef<'a>
impl<'a> Unpin for ObjRef<'a>
impl<'a> UnwindSafe for ObjRef<'a>
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