[][src]Enum gf::datamodel::LocationOrigin

pub enum LocationOrigin {

Location origin.



Relation path relative to the root structure.


impl LocationOrigin[src]

pub fn new_root() -> Self[src]

Create an origin for the root structure.

pub fn new_field(field: RelationId) -> Self[src]

Create an origin for a field in the root structure.

Trait Implementations

impl<'_> Eval<'_> for LocationOrigin[src]

type Output = Range<u64>

Evaluation output type.

Auto Trait Implementations

impl Send for LocationOrigin

impl Sync for LocationOrigin

impl Unpin for LocationOrigin

impl UnwindSafe for LocationOrigin

impl RefUnwindSafe for LocationOrigin

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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