#[repr(C)]pub enum ErlNifTimeUnit {
ERL_NIF_SEC = 0,
ERL_NIF_MSEC = 1,
ERL_NIF_USEC = 2,
ERL_NIF_NSEC = 3,
}
Expand description
See ErlNifTimeUnit in the Erlang docs.
Variants§
Trait Implementations§
source§impl Clone for ErlNifTimeUnit
impl Clone for ErlNifTimeUnit
source§fn clone(&self) -> ErlNifTimeUnit
fn clone(&self) -> ErlNifTimeUnit
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 ErlNifTimeUnit
Auto Trait Implementations§
impl Freeze for ErlNifTimeUnit
impl RefUnwindSafe for ErlNifTimeUnit
impl Send for ErlNifTimeUnit
impl Sync for ErlNifTimeUnit
impl Unpin for ErlNifTimeUnit
impl UnwindSafe for ErlNifTimeUnit
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