#[repr(i32)]pub enum MapIteratorEntry {
First = 1,
Last = 2,
}Expand description
Starting position for a map iterator.
ErlNifMapIteratorEntry — NIF 2.6 — OTP 17
Variants§
First = 1
Start iterating at the first entry.
ERL_NIF_MAP_ITERATOR_FIRST — NIF 2.6 — OTP 17
Last = 2
Start iterating at the last entry.
ERL_NIF_MAP_ITERATOR_LAST — NIF 2.6 — OTP 17
Trait Implementations§
Source§impl Clone for MapIteratorEntry
impl Clone for MapIteratorEntry
Source§fn clone(&self) -> MapIteratorEntry
fn clone(&self) -> MapIteratorEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MapIteratorEntry
impl Eq for MapIteratorEntry
Source§impl PartialEq for MapIteratorEntry
impl PartialEq for MapIteratorEntry
Source§fn eq(&self, other: &MapIteratorEntry) -> bool
fn eq(&self, other: &MapIteratorEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MapIteratorEntry
Auto Trait Implementations§
impl Freeze for MapIteratorEntry
impl RefUnwindSafe for MapIteratorEntry
impl Send for MapIteratorEntry
impl Sync for MapIteratorEntry
impl Unpin for MapIteratorEntry
impl UnsafeUnpin for MapIteratorEntry
impl UnwindSafe for MapIteratorEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more