pub enum Atomable<'a> {
Str(&'a str),
String(String),
}
Expand description
A type that allows easy conversion of strings from and to an atom.
Variants§
Implementations§
Trait Implementations§
source§impl<'a> TermGetable for Atomable<'static>
impl<'a> TermGetable for Atomable<'static>
source§impl<'a> TermPutable for Atomable<'a>
impl<'a> TermPutable for Atomable<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Atomable<'a>
impl<'a> Send for Atomable<'a>
impl<'a> Sync for Atomable<'a>
impl<'a> Unpin for Atomable<'a>
impl<'a> UnwindSafe for Atomable<'a>
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