Expand description
List<A>
wraps an OCaml 'a list
without converting it to Rust, this introduces no
additional overhead compared to a Value
type
Implementations
Trait Implementations
sourceimpl<T: ToValue + FromValue> FromValue for List<T>
impl<T: ToValue + FromValue> FromValue for List<T>
sourcefn from_value(value: Value) -> Self
fn from_value(value: Value) -> Self
Convert from OCaml value
sourceimpl<T: ToValue + FromValue> IntoIterator for List<T>
impl<T: ToValue + FromValue> IntoIterator for List<T>
impl<T: Eq + ToValue + FromValue> Eq for List<T>
impl<T: ToValue + FromValue> StructuralEq for List<T>
impl<T: ToValue + FromValue> StructuralPartialEq for List<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for List<T> where
T: RefUnwindSafe,
impl<T> !Send for List<T>
impl<T> !Sync for List<T>
impl<T> Unpin for List<T> where
T: Unpin,
impl<T> UnwindSafe for List<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more