Struct memtable_core::list::DynamicList [−][src]
pub struct DynamicList<T>(_);
Expand description
Represents a dynamic list that can grow and shrink with unlimited capacity
Trait Implementations
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
Performs the conversion.
Creates a value from an iterator. Read more
Makes a new list of up to N by using the provided function; whenever the function returns None, the item is skipped and the list’s length will not grow
type Item = T
type Item = T
Represents the type of item within the list
Returns the maximum capacity of the list
Returns the actual length of the list, which may be less than the actual capacity Read more
Returns a reference to an element found at the given index, or None if no element found Read more
Returns a mutable reference to an element found at the given index, or None if no element found Read more
Inserts an element at position index
within the vector, shifting all
elements after it to the right Read more
Removes and returns the element at position index
within the vector,
shifting all elements after it to the left. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for DynamicList<T> where
T: RefUnwindSafe,
impl<T> Send for DynamicList<T> where
T: Send,
impl<T> Sync for DynamicList<T> where
T: Sync,
impl<T> Unpin for DynamicList<T> where
T: Unpin,
impl<T> UnwindSafe for DynamicList<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more