pub enum Array<'a> {
Strings {
store: &'a mut [&'a mut [u8]],
count: Option<&'a mut usize>,
},
Integers {
store: &'a mut [i32],
count: Option<&'a mut usize>,
},
UIntegers {
store: &'a mut [u32],
count: Option<&'a mut usize>,
},
Shorts {
store: &'a mut [i16],
count: Option<&'a mut usize>,
},
UShorts {
store: &'a mut [u16],
count: Option<&'a mut usize>,
},
Reals {
store: &'a mut [f64],
count: Option<&'a mut usize>,
},
Booleans {
store: &'a mut [bool],
count: Option<&'a mut usize>,
},
Objects {
attrs: &'a mut [Attr<'a>],
maxlen: usize,
count: Option<&'a mut usize>,
},
StructObjects {
maxlen: usize,
count: Option<&'a mut usize>,
parser: &'a mut dyn FnMut(&str, usize) -> Result<usize>,
},
}Variants§
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> UnsafeUnpin 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