Trait swipl::atom::IntoAtom

source ·
pub trait IntoAtom {
    // Required method
    fn into_atom(self) -> Atom;
}
Expand description

Trait for types which can be turned into an Atom.

Required Methods§

source

fn into_atom(self) -> Atom

Turn this object into an Atom.

Implementations on Foreign Types§

source§

impl<'a> IntoAtom for &'a str

Implementors§