[−][src]Enum erlang_term::raw_term::RawTerm
Variants
SmallInt(u8)
Int(i32)
SmallBigInt(BigInt)
LargeBigInt(BigInt)
Fields of Function
Float(f64)
Atom(String)
SmallAtom(String)
AtomDeprecated(String)
SmallAtomDeprecated(String)
Implementations
impl RawTerm
[src]
pub fn from_bytes(input: &[u8]) -> Result<RawTerm, NomErr<(&[u8], ErrorKind)>>
[src]
pub fn to_bytes(self) -> Vec<u8>
[src]
pub fn is_atom(&self) -> bool
[src]
pub fn is_string(&self) -> bool
[src]
pub fn is_string_like(&self) -> bool
[src]
pub fn is_integer(&self) -> bool
[src]
pub fn is_atom_pair(&self) -> bool
[src]
pub fn is_string_map(&self) -> bool
[src]
pub fn as_atom(self) -> Option<String>
[src]
pub fn as_string(self) -> Option<String>
[src]
pub fn as_string_like(self) -> Option<String>
[src]
pub fn as_atom_pair(self) -> Option<(String, RawTerm)>
[src]
Trait Implementations
impl Clone for RawTerm
[src]
impl Debug for RawTerm
[src]
impl From<RawTerm> for Term
[src]
impl From<Term> for RawTerm
[src]
impl PartialEq<RawTerm> for RawTerm
[src]
impl PartialOrd<RawTerm> for RawTerm
[src]
fn partial_cmp(&self, other: &RawTerm) -> Option<Ordering>
[src]
fn lt(&self, other: &RawTerm) -> bool
[src]
fn le(&self, other: &RawTerm) -> bool
[src]
fn gt(&self, other: &RawTerm) -> bool
[src]
fn ge(&self, other: &RawTerm) -> bool
[src]
impl StructuralPartialEq for RawTerm
[src]
Auto Trait Implementations
impl RefUnwindSafe for RawTerm
impl Send for RawTerm
impl Sync for RawTerm
impl Unpin for RawTerm
impl UnwindSafe for RawTerm
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,