pub struct UserDefinedTypeLiteral {
pub fields: BTreeMap<Name, Term>,
}
Fields§
§fields: BTreeMap<Name, Term>
Trait Implementations§
Source§impl Clone for UserDefinedTypeLiteral
impl Clone for UserDefinedTypeLiteral
Source§fn clone(&self) -> UserDefinedTypeLiteral
fn clone(&self) -> UserDefinedTypeLiteral
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for UserDefinedTypeLiteral
impl<'a> CustomToTokens<'a> for UserDefinedTypeLiteral
Source§impl Debug for UserDefinedTypeLiteral
impl Debug for UserDefinedTypeLiteral
Source§impl Display for UserDefinedTypeLiteral
impl Display for UserDefinedTypeLiteral
Source§impl From<UserDefinedTypeLiteral> for Literal
impl From<UserDefinedTypeLiteral> for Literal
Source§fn from(original: UserDefinedTypeLiteral) -> Literal
fn from(original: UserDefinedTypeLiteral) -> Literal
Converts to this type from the input type.
Source§impl FromStr for UserDefinedTypeLiteral
impl FromStr for UserDefinedTypeLiteral
Source§impl Hash for UserDefinedTypeLiteral
impl Hash for UserDefinedTypeLiteral
Source§impl Ord for UserDefinedTypeLiteral
impl Ord for UserDefinedTypeLiteral
Source§fn cmp(&self, other: &UserDefinedTypeLiteral) -> Ordering
fn cmp(&self, other: &UserDefinedTypeLiteral) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Parse for UserDefinedTypeLiteral
impl Parse for UserDefinedTypeLiteral
Source§impl PartialEq for UserDefinedTypeLiteral
impl PartialEq for UserDefinedTypeLiteral
Source§fn eq(&self, other: &UserDefinedTypeLiteral) -> bool
fn eq(&self, other: &UserDefinedTypeLiteral) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for UserDefinedTypeLiteral
impl PartialOrd for UserDefinedTypeLiteral
Source§impl ToTokens for UserDefinedTypeLiteral
impl ToTokens for UserDefinedTypeLiteral
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Source§impl TryFrom<Literal> for UserDefinedTypeLiteral
impl TryFrom<Literal> for UserDefinedTypeLiteral
impl Eq for UserDefinedTypeLiteral
impl StructuralPartialEq for UserDefinedTypeLiteral
Auto Trait Implementations§
impl Freeze for UserDefinedTypeLiteral
impl RefUnwindSafe for UserDefinedTypeLiteral
impl Send for UserDefinedTypeLiteral
impl Sync for UserDefinedTypeLiteral
impl Unpin for UserDefinedTypeLiteral
impl UnwindSafe for UserDefinedTypeLiteral
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