pub struct Labelled {
pub field: Ident,
pub label: ElectionLabel,
pub ty: Type,
}Expand description
A LABELLED FIELD no election names — the field, its type and the label it wrote.
See IndexModel::labelled for why one is accepted at all. It carries no fold: that word
qualifies an ELECTION, and this field is not one.
Fields§
§field: IdentThe field, carrying the ident’s own span.
label: ElectionLabelONE embedding or a SET of them, as the field’s label states it.
ty: TypeThe field’s declared type, VERBATIM and unread — what the audit is written against.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for Labelled
impl !Sync for Labelled
impl Freeze for Labelled
impl RefUnwindSafe for Labelled
impl Unpin for Labelled
impl UnsafeUnpin for Labelled
impl UnwindSafe for Labelled
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