pub enum InsertKey<'a> {
NextIndex,
Index(u64),
Str(&'a str),
Bytes(&'a [u8]),
ZStr(&'a ZStr),
}Expand description
Insert key for ZArr.
Variants§
NextIndex
Insert with next index type key, like $arr[] = "foo" in PHP.
Index(u64)
Insert with index type key.
Str(&'a str)
Insert with string type key.
Bytes(&'a [u8])
Insert with string type key.
ZStr(&'a ZStr)
Insert with string type key.
Trait Implementations§
Source§impl<'a> PartialEq for InsertKey<'a>
impl<'a> PartialEq for InsertKey<'a>
impl<'a> StructuralPartialEq for InsertKey<'a>
Auto Trait Implementations§
impl<'a> !Send for InsertKey<'a>
impl<'a> !Sync for InsertKey<'a>
impl<'a> Freeze for InsertKey<'a>
impl<'a> RefUnwindSafe for InsertKey<'a>
impl<'a> Unpin for InsertKey<'a>
impl<'a> UnsafeUnpin for InsertKey<'a>
impl<'a> UnwindSafe for InsertKey<'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