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