pub struct CompileMetaTuple {
pub args: usize,
pub hash: Hash,
}Expand description
The metadata about a variant.
Fields§
§args: usizeThe number of arguments the variant takes.
hash: HashHash of the constructor function.
Trait Implementations§
Source§impl Clone for CompileMetaTuple
impl Clone for CompileMetaTuple
Source§fn clone(&self) -> CompileMetaTuple
fn clone(&self) -> CompileMetaTuple
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 moreAuto Trait Implementations§
impl Freeze for CompileMetaTuple
impl RefUnwindSafe for CompileMetaTuple
impl Send for CompileMetaTuple
impl Sync for CompileMetaTuple
impl Unpin for CompileMetaTuple
impl UnwindSafe for CompileMetaTuple
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