Enum rustler_sys::rustler_sys_api::ErlNifHash
source · #[repr(C)]pub enum ErlNifHash {
ERL_NIF_INTERNAL_HASH = 1,
ERL_NIF_PHASH2 = 2,
}
Expand description
See ErlNifHash in the Erlang docs.
Variants§
Trait Implementations§
source§impl Clone for ErlNifHash
impl Clone for ErlNifHash
source§fn clone(&self) -> ErlNifHash
fn clone(&self) -> ErlNifHash
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ErlNifHash
Auto Trait Implementations§
impl Freeze for ErlNifHash
impl RefUnwindSafe for ErlNifHash
impl Send for ErlNifHash
impl Sync for ErlNifHash
impl Unpin for ErlNifHash
impl UnwindSafe for ErlNifHash
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