pub enum TermType {
Atom,
Binary,
Fun,
List,
Map,
Integer,
Float,
Pid,
Port,
Ref,
Tuple,
Unknown,
}
Variants§
Trait Implementations§
source§impl From<ErlNifTermType> for TermType
impl From<ErlNifTermType> for TermType
source§fn from(term_type: ErlNifTermType) -> Self
fn from(term_type: ErlNifTermType) -> Self
Converts to this type from the input type.
source§impl PartialEq for TermType
impl PartialEq for TermType
impl Copy for TermType
impl Eq for TermType
impl StructuralPartialEq for TermType
Auto Trait Implementations§
impl Freeze for TermType
impl RefUnwindSafe for TermType
impl Send for TermType
impl Sync for TermType
impl Unpin for TermType
impl UnwindSafe for TermType
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