[−][src]Struct mtots_core::List
Wrapper around RefCell<Vec
Implementations
impl List
[src]
pub fn borrow(&self) -> Ref<'_, Vec<Value>>
[src]
pub fn borrow_mut(&self) -> RefMut<'_, Vec<Value>>
[src]
pub fn into_inner(self) -> Vec<Value>
[src]
pub fn generator(list: Rc<Self>) -> NativeGenerator
[src]
pub fn unwrap_or_clone(list: Rc<Self>) -> Vec<Value>
[src]
pub fn sort(vec: &mut Vec<Value>) -> Result<()>
[src]
Trait Implementations
impl FromIterator<Key> for List
[src]
fn from_iter<I: IntoIterator<Item = Key>>(iter: I) -> Self
[src]
impl FromIterator<Value> for List
[src]
fn from_iter<I: IntoIterator<Item = Value>>(iter: I) -> Self
[src]
impl PartialEq<List> for List
[src]
impl PartialOrd<List> for List
[src]
fn partial_cmp(&self, other: &List) -> Option<Ordering>
[src]
fn lt(&self, other: &List) -> bool
[src]
fn le(&self, other: &List) -> bool
[src]
fn gt(&self, other: &List) -> bool
[src]
fn ge(&self, other: &List) -> bool
[src]
impl StructuralPartialEq for List
[src]
Auto Trait Implementations
impl !RefUnwindSafe for List
impl !Send for List
impl !Sync for List
impl Unpin for List
impl !UnwindSafe for List
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,