pub struct AstDerivedField {
pub name: String,
pub type_name: String,
pub expr: AstExpr,
pub span: Option<Span>,
}Fields§
§name: String§type_name: String§expr: AstExpr§span: Option<Span>Trait Implementations§
Source§impl Clone for AstDerivedField
impl Clone for AstDerivedField
Source§fn clone(&self) -> AstDerivedField
fn clone(&self) -> AstDerivedField
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 AstDerivedField
impl Debug for AstDerivedField
Source§impl PartialEq for AstDerivedField
impl PartialEq for AstDerivedField
impl StructuralPartialEq for AstDerivedField
Auto Trait Implementations§
impl Freeze for AstDerivedField
impl RefUnwindSafe for AstDerivedField
impl Send for AstDerivedField
impl Sync for AstDerivedField
impl Unpin for AstDerivedField
impl UnsafeUnpin for AstDerivedField
impl UnwindSafe for AstDerivedField
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