Struct arc_rs::value::List [−][src]
Implementations
impl List
[src]
pub fn get_handler(&self) -> Option<String>
[src]
pub fn get_index(&self, index: &Integer) -> Option<&Value>
[src]
pub fn ensure_index(&mut self, index: Integer) -> &mut Value
[src]
impl List
[src]
pub fn empty() -> Value
[src]
pub fn length(&self) -> usize
[src]
pub fn as_vec(&self) -> Vec<Value, Global>
[src]
pub fn entry(&mut self, index: usize) -> Entry<'_, usize, Value>
[src]
pub fn get(&self, index: &str) -> Option<&Value>
[src]
pub fn extend(&mut self, item: impl Into<List>)
[src]
Trait Implementations
impl AddAssign<List> for List
[src]
pub fn add_assign(&mut self, rhs: List)
[src]
impl Clone for List
[src]
impl Debug for List
[src]
impl Default for List
[src]
impl Eq for List
[src]
impl<V> From<BTreeSet<V>> for List where
V: Into<Value>,
[src]
V: Into<Value>,
impl<V> From<HashSet<V, RandomState>> for List where
V: Into<Value>,
[src]
V: Into<Value>,
pub fn from(input: HashSet<V, RandomState>) -> List
[src]
impl<V> From<LinkedList<V>> for List where
V: Into<Value>,
[src]
V: Into<Value>,
pub fn from(input: LinkedList<V>) -> List
[src]
impl From<List> for Value
[src]
impl<V> From<Vec<V, Global>> for List where
V: Into<Value>,
[src]
V: Into<Value>,
impl<V> From<VecDeque<V>> for List where
V: Into<Value>,
[src]
V: Into<Value>,
impl PartialEq<List> for List
[src]
impl StructuralEq for List
[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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,