pub struct FieldInit {
pub name: Ident,
pub value: Expr,
pub span: Span,
}Expand description
Struct field initialization
Fields§
§name: Ident§value: Expr§span: SpanTrait Implementations§
impl StructuralPartialEq for FieldInit
Auto Trait Implementations§
impl Freeze for FieldInit
impl RefUnwindSafe for FieldInit
impl Send for FieldInit
impl Sync for FieldInit
impl Unpin for FieldInit
impl UnwindSafe for FieldInit
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