pub enum ConstTemplate {
Obj(ValueObj),
App {
name: Str,
non_default_args: Vec<Type>,
default_args: Vec<ConstTemplate>,
},
}
Expand description
TODO: this struct will be removed when const functions are implemented.
Variants§
Implementations§
source§impl ConstTemplate
impl ConstTemplate
Trait Implementations§
source§impl Clone for ConstTemplate
impl Clone for ConstTemplate
source§fn clone(&self) -> ConstTemplate
fn clone(&self) -> ConstTemplate
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 Debug for ConstTemplate
impl Debug for ConstTemplate
source§impl Hash for ConstTemplate
impl Hash for ConstTemplate
source§impl PartialEq for ConstTemplate
impl PartialEq for ConstTemplate
source§fn eq(&self, other: &ConstTemplate) -> bool
fn eq(&self, other: &ConstTemplate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConstTemplate
impl StructuralPartialEq for ConstTemplate
Auto Trait Implementations§
impl Freeze for ConstTemplate
impl RefUnwindSafe for ConstTemplate
impl Send for ConstTemplate
impl Sync for ConstTemplate
impl Unpin for ConstTemplate
impl UnwindSafe for ConstTemplate
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