Skip to main content

Fields

Struct Fields 

Source
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>

Source

pub fn values(&self) -> &[Field<'g, 's, D, G>]

Every original field dictionary, including nonterminal field groups.

Source

pub fn get(&self, name: &str, operation: &impl Work) -> Result<Option<usize>>

Finds one actual full name through the paid sorted field index.

Source

pub fn value( &self, ordinal: usize, operation: &impl Work, ) -> Result<Option<GraphObject<'g, 's, D, G>>>

Effective V follows the original parent fields, preserving the actual value’s source owner. An absent child V is not an empty replacement.

Source

pub fn signature( &self, location: Location, operation: &impl Work, ) -> Result<Option<usize>>

Finds the original signature field whose V selects this exact dictionary. Equal CMS values cannot substitute another field or historical value.

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>
where &'g Graph<'s, D, G>: Unpin, OwnedVec<Field<'g, 's, D, G>>: Unpin,

§

impl<'g, 's, D, G> UnsafeUnpin for Fields<'g, 's, D, G>
where &'g Graph<'s, D, G>: UnsafeUnpin, OwnedVec<Field<'g, 's, D, G>>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.