pub enum AstFieldItem {
Field(AstFieldDef),
Derived(AstDerivedField),
Require(AstRequireClause),
}Variants§
Trait Implementations§
Source§impl Clone for AstFieldItem
impl Clone for AstFieldItem
Source§fn clone(&self) -> AstFieldItem
fn clone(&self) -> AstFieldItem
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 AstFieldItem
impl Debug for AstFieldItem
Source§impl PartialEq for AstFieldItem
impl PartialEq for AstFieldItem
impl StructuralPartialEq for AstFieldItem
Auto Trait Implementations§
impl Freeze for AstFieldItem
impl RefUnwindSafe for AstFieldItem
impl Send for AstFieldItem
impl Sync for AstFieldItem
impl Unpin for AstFieldItem
impl UnsafeUnpin for AstFieldItem
impl UnwindSafe for AstFieldItem
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