pub struct UndefinedContainer { /* private fields */ }Implementations§
Source§impl UndefinedContainer
impl UndefinedContainer
pub fn new(len: usize) -> UndefinedContainer
pub fn with_capacity(_capacity: usize) -> UndefinedContainer
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: &UndefinedContainer) -> Result<(), Error>
pub fn extend_from_undefined(&mut self, len: usize)
pub fn slice(&self, start: usize, end: usize) -> UndefinedContainer
pub fn filter(&mut self, mask: &BitVec)
pub fn reorder(&mut self, indices: &[usize])
pub fn take(&self, num: usize) -> UndefinedContainer
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§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§fn default() -> UndefinedContainer
fn default() -> UndefinedContainer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UndefinedContainer
impl<'de> Deserialize<'de> for UndefinedContainer
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UndefinedContainer, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UndefinedContainer, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)