pub enum Term {
Ident(String),
String(String),
UnquotedRawString(String),
}
Variants§
Ident(String)
String(String)
UnquotedRawString(String)
This variant supports basic numbers and also gives best-effort support for difficult edge cases like f64::INFINITY and custom Debug implementations (which work as long as they don’t include whitespace or a number of special characters (“:”, “,”, etc)).
Trait Implementations§
Source§impl Ord for Term
impl Ord for Term
Source§impl PartialOrd for Term
impl PartialOrd for Term
impl Eq for Term
impl StructuralPartialEq for Term
Auto Trait Implementations§
impl Freeze for Term
impl RefUnwindSafe for Term
impl Send for Term
impl Sync for Term
impl Unpin for Term
impl UnwindSafe for Term
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