pub struct FieldInit {
pub name: Ident,
pub value: Box<SpecExpr>,
pub pos: Pos,
}Expand description
Field initializer in a struct constructor.
Fields§
§name: Ident§value: Box<SpecExpr>§pos: PosTrait Implementations§
impl Eq for FieldInit
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 UnsafeUnpin 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