Enum erl_nif_sys::ErlNifHash
source · [−]#[repr(u32)]
pub enum ErlNifHash {
ERL_NIF_INTERNAL_HASH,
ERL_NIF_PHASH2,
}
Variants
ERL_NIF_INTERNAL_HASH
ERL_NIF_PHASH2
Trait Implementations
sourceimpl Clone for ErlNifHash
impl Clone for ErlNifHash
sourcefn clone(&self) -> ErlNifHash
fn clone(&self) -> ErlNifHash
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ErlNifHash
impl Debug for ErlNifHash
sourceimpl Hash for ErlNifHash
impl Hash for ErlNifHash
sourceimpl PartialEq<ErlNifHash> for ErlNifHash
impl PartialEq<ErlNifHash> for ErlNifHash
impl Copy for ErlNifHash
impl Eq for ErlNifHash
impl StructuralEq for ErlNifHash
impl StructuralPartialEq for ErlNifHash
Auto Trait Implementations
impl RefUnwindSafe for ErlNifHash
impl Send for ErlNifHash
impl Sync for ErlNifHash
impl Unpin for ErlNifHash
impl UnwindSafe for ErlNifHash
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more