Struct dusk_dire::hir::VariantDecl
source · [−]pub struct VariantDecl {
pub decl: DeclId,
pub name: Sym,
pub enuum: ExprId,
pub payload_ty: Option<ExprId>,
}
Fields
decl: DeclId
name: Sym
enuum: ExprId
payload_ty: Option<ExprId>
Trait Implementations
sourceimpl Clone for VariantDecl
impl Clone for VariantDecl
sourcefn clone(&self) -> VariantDecl
fn clone(&self) -> VariantDecl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VariantDecl
impl Debug for VariantDecl
impl Copy for VariantDecl
Auto Trait Implementations
impl RefUnwindSafe for VariantDecl
impl Send for VariantDecl
impl Sync for VariantDecl
impl Unpin for VariantDecl
impl UnwindSafe for VariantDecl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more