pub struct Array(/* private fields */);
Implementations§
Source§impl Array
impl Array
pub fn len(&self) -> u64
pub fn is_empty(&self) -> bool
pub fn get(&self, index: u64) -> Option<Value>
pub fn iter(&self) -> ArrayIter
pub fn push<V: Into<Value>>(&mut self, val: V) -> JwstCodecResult
pub fn insert<V: Into<Value>>(&mut self, idx: u64, val: V) -> JwstCodecResult
pub fn remove(&mut self, idx: u64, len: u64) -> JwstCodecResult
Trait Implementations§
impl Send for Array
impl Sync for Array
Auto Trait Implementations§
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