pub struct RecordType<'a> {
pub record: Record,
pub generics: Generics<(Box<RecordKeyType<'a>>, Comma, Box<Type<'a>>)>,
}
Expand description
Parses record<StringType, Type>
Fields§
§record: Record
§generics: Generics<(Box<RecordKeyType<'a>>, Comma, Box<Type<'a>>)>
Trait Implementations§
Source§impl<'a> Clone for RecordType<'a>
impl<'a> Clone for RecordType<'a>
Source§fn clone(&self) -> RecordType<'a>
fn clone(&self) -> RecordType<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for RecordType<'a>
impl<'a> Debug for RecordType<'a>
Source§impl<'a> Hash for RecordType<'a>
impl<'a> Hash for RecordType<'a>
Source§impl<'a> Ord for RecordType<'a>
impl<'a> Ord for RecordType<'a>
Source§fn cmp(&self, other: &RecordType<'a>) -> Ordering
fn cmp(&self, other: &RecordType<'a>) -> 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<'a> Parse<'a> for RecordType<'a>
impl<'a> Parse<'a> for RecordType<'a>
Source§impl<'a> PartialEq for RecordType<'a>
impl<'a> PartialEq for RecordType<'a>
Source§impl<'a> PartialOrd for RecordType<'a>
impl<'a> PartialOrd for RecordType<'a>
impl<'a> Eq for RecordType<'a>
impl<'a> StructuralPartialEq for RecordType<'a>
Auto Trait Implementations§
impl<'a> Freeze for RecordType<'a>
impl<'a> RefUnwindSafe for RecordType<'a>
impl<'a> Send for RecordType<'a>
impl<'a> Sync for RecordType<'a>
impl<'a> Unpin for RecordType<'a>
impl<'a> UnwindSafe for RecordType<'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