pub struct UndefinedContainer { /* private fields */ }Implementations§
Source§impl UndefinedContainer
impl UndefinedContainer
pub fn new(len: usize) -> Self
pub fn with_capacity(_capacity: usize) -> Self
pub fn len(&self) -> usize
pub fn capacity(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn clear(&mut self)
pub fn is_defined(&self, _idx: usize) -> bool
pub fn push_undefined(&mut self)
pub fn as_string(&self, _index: usize) -> String
pub fn get_value(&self, _index: usize) -> Value
pub fn extend(&mut self, other: &Self) -> Result<()>
pub fn extend_from_undefined(&mut self, len: usize)
pub fn slice(&self, start: usize, end: usize) -> Self
pub fn filter(&mut self, mask: &BitVec)
pub fn reorder(&mut self, indices: &[usize])
pub fn take(&self, num: usize) -> Self
Trait Implementations§
Source§impl Clone for UndefinedContainer
impl Clone for UndefinedContainer
Source§fn clone(&self) -> UndefinedContainer
fn clone(&self) -> UndefinedContainer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UndefinedContainer
impl Debug for UndefinedContainer
Source§impl Default for UndefinedContainer
impl Default for UndefinedContainer
Source§impl<'de> Deserialize<'de> for UndefinedContainer
impl<'de> Deserialize<'de> for UndefinedContainer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UndefinedContainer
impl PartialEq for UndefinedContainer
Source§impl Serialize for UndefinedContainer
impl Serialize for UndefinedContainer
impl StructuralPartialEq for UndefinedContainer
Auto Trait Implementations§
impl Freeze for UndefinedContainer
impl RefUnwindSafe for UndefinedContainer
impl Send for UndefinedContainer
impl Sync for UndefinedContainer
impl Unpin for UndefinedContainer
impl UnwindSafe for UndefinedContainer
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