pub enum AstTypeDeclBody {
Fields {
fields: Vec<AstFieldDef>,
},
Alias {
target: AstTypeExpr,
},
}Variants§
Trait Implementations§
Source§impl Clone for AstTypeDeclBody
impl Clone for AstTypeDeclBody
Source§fn clone(&self) -> AstTypeDeclBody
fn clone(&self) -> AstTypeDeclBody
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 AstTypeDeclBody
impl Debug for AstTypeDeclBody
Source§impl PartialEq for AstTypeDeclBody
impl PartialEq for AstTypeDeclBody
impl StructuralPartialEq for AstTypeDeclBody
Auto Trait Implementations§
impl Freeze for AstTypeDeclBody
impl RefUnwindSafe for AstTypeDeclBody
impl Send for AstTypeDeclBody
impl Sync for AstTypeDeclBody
impl Unpin for AstTypeDeclBody
impl UnsafeUnpin for AstTypeDeclBody
impl UnwindSafe for AstTypeDeclBody
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