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

pub enum LocationOrigin {
    Relation(Vec<RelationId>),
}

Location origin.

Variants

Relation(Vec<RelationId>)

Relation path relative to the root structure.

Methods

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>, 
[src]

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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