pub struct Array<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Array<'a>
impl<'a> Array<'a>
pub fn new(ptr: NonNull<SJ_DOM_array>) -> Self
pub fn iter(&self) -> ArrayIter<'_> ⓘ
pub fn size(&self) -> usize
pub fn number_of_slots(&self) -> usize
pub fn at_pointer(&self, json_pointer: &str) -> Result<Element<'a>>
pub fn at(&self, index: usize) -> Result<Element<'a>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Array<'a>
impl<'a> RefUnwindSafe for Array<'a>
impl<'a> !Send for Array<'a>
impl<'a> !Sync for Array<'a>
impl<'a> Unpin for Array<'a>
impl<'a> UnwindSafe for Array<'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