pub struct Fields<'g, 's, D, G> { /* private fields */ }Expand description
The complete historical field tree. Cycles, shared children and duplicate full field names refuse rather than selecting one original definition.
Implementations§
Source§impl<'g, 's, D: Copy + Eq, G: Copy + Eq> Fields<'g, 's, D, G>
impl<'g, 's, D: Copy + Eq, G: Copy + Eq> Fields<'g, 's, D, G>
Sourcepub fn values(&self) -> &[Field<'g, 's, D, G>]
pub fn values(&self) -> &[Field<'g, 's, D, G>]
Every original field dictionary, including nonterminal field groups.
Sourcepub fn get(&self, name: &str, operation: &impl Work) -> Result<Option<usize>>
pub fn get(&self, name: &str, operation: &impl Work) -> Result<Option<usize>>
Finds one actual full name through the paid sorted field index.
Auto Trait Implementations§
impl<'g, 's, D, G> !Freeze for Fields<'g, 's, D, G>
impl<'g, 's, D, G> !RefUnwindSafe for Fields<'g, 's, D, G>
impl<'g, 's, D, G> !Send for Fields<'g, 's, D, G>
impl<'g, 's, D, G> !Sync for Fields<'g, 's, D, G>
impl<'g, 's, D, G> !UnwindSafe for Fields<'g, 's, D, G>
impl<'g, 's, D, G> Forget for Fields<'g, 's, D, G>
impl<'g, 's, D, G> Unpin for Fields<'g, 's, D, G>
impl<'g, 's, D, G> UnsafeUnpin for Fields<'g, 's, D, G>
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