pub struct Field {
pub path: String,
pub spec: FieldSpec,
pub value: String,
pub display: String,
}Expand description
One settable field of a body, addressed the way --set addresses it.
Fields§
§path: StringThe field’s full registry path, e.g. center_panel.transpose.
spec: FieldSpec§value: StringWhat the field currently holds, spelled the way set_field takes it.
Feeding this straight back is always a no-op.
display: StringThe same value as nord inspect renders it. Differs from value only for a
field too wide to have named values, where the rendering is a list and the
spelling is the stored bits.
Auto Trait Implementations§
impl Freeze for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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