pub enum ElementSpecTy {
TypeSpec(TypeSpec),
ConstrTypeDcl(ConstrTypeDcl),
}Variants§
TypeSpec(TypeSpec)
ConstrTypeDcl(ConstrTypeDcl)
Trait Implementations§
Source§impl Clone for ElementSpecTy
impl Clone for ElementSpecTy
Source§fn clone(&self) -> ElementSpecTy
fn clone(&self) -> ElementSpecTy
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 Debug for ElementSpecTy
impl Debug for ElementSpecTy
Source§impl<'de> Deserialize<'de> for ElementSpecTy
impl<'de> Deserialize<'de> for ElementSpecTy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ElementSpecTy> for ElementSpecTy
impl From<ElementSpecTy> for ElementSpecTy
Source§fn from(value: ElementSpecTy) -> Self
fn from(value: ElementSpecTy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ElementSpecTy
impl RefUnwindSafe for ElementSpecTy
impl Send for ElementSpecTy
impl Sync for ElementSpecTy
impl Unpin for ElementSpecTy
impl UnsafeUnpin for ElementSpecTy
impl UnwindSafe for ElementSpecTy
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