pub enum ConstFields<'a> {
Unit,
Tuple(Vec<Rc<Const<'a>>>),
Struct(Vec<(Identifier<'a>, Rc<Const<'a>>)>),
}Variants§
Trait Implementations§
Source§impl<'a> Clone for ConstFields<'a>
impl<'a> Clone for ConstFields<'a>
Source§fn clone(&self) -> ConstFields<'a>
fn clone(&self) -> ConstFields<'a>
Returns a duplicate 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 ConstFields<'a>
impl<'a> Debug for ConstFields<'a>
Source§impl<'a> Hash for ConstFields<'a>
impl<'a> Hash for ConstFields<'a>
Source§impl<'a> Ord for ConstFields<'a>
impl<'a> Ord for ConstFields<'a>
Source§fn cmp(&self, other: &ConstFields<'a>) -> Ordering
fn cmp(&self, other: &ConstFields<'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> PartialEq for ConstFields<'a>
impl<'a> PartialEq for ConstFields<'a>
Source§impl<'a> PartialOrd for ConstFields<'a>
impl<'a> PartialOrd for ConstFields<'a>
impl<'a> Eq for ConstFields<'a>
impl<'a> StructuralPartialEq for ConstFields<'a>
Auto Trait Implementations§
impl<'a> Freeze for ConstFields<'a>
impl<'a> RefUnwindSafe for ConstFields<'a>
impl<'a> !Send for ConstFields<'a>
impl<'a> !Sync for ConstFields<'a>
impl<'a> Unpin for ConstFields<'a>
impl<'a> UnwindSafe for ConstFields<'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