pub enum Parts {
Empty,
Positional(&'static [WireForm]),
Named(&'static [Field]),
}Expand description
A constructor’s payload.
Variants§
Empty
None.
Positional(&'static [WireForm])
Parts by position, of these forms.
Named(&'static [Field])
Named fields.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Parts
impl Freeze for Parts
impl Move for Parts
impl RefUnwindSafe for Parts
impl Send for Parts
impl Sync for Parts
impl Unpin for Parts
impl UnsafeUnpin for Parts
impl UnwindSafe for Parts
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