pub(super) struct EnumTemplate {
pub(super) type_params: Vec<String>,
pub(super) variants: BTreeMap<String, Vec<TypeExpr>>,
}Fields§
§type_params: Vec<String>§variants: BTreeMap<String, Vec<TypeExpr>>Trait Implementations§
Source§impl Clone for EnumTemplate
impl Clone for EnumTemplate
Source§fn clone(&self) -> EnumTemplate
fn clone(&self) -> EnumTemplate
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 moreAuto Trait Implementations§
impl Freeze for EnumTemplate
impl RefUnwindSafe for EnumTemplate
impl Send for EnumTemplate
impl Sync for EnumTemplate
impl Unpin for EnumTemplate
impl UnwindSafe for EnumTemplate
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