[][src]Struct gf::datamodel::Location

pub struct Location {
    pub origin: LocationOrigin,
    pub anchor: LocationAnchor,
    pub offset: Option<BoundExpr>,

Location of related data of a structure.


origin: LocationOrigin


anchor: LocationAnchor

Anchor, relative to the origin.

offset: Option<BoundExpr>

Offset: an expression to compute offset relative to the anchor.

Trait Implementations

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

type Output = u64

Evaluation output type.

Auto Trait Implementations

impl Send for Location

impl Sync for Location

impl Unpin for Location

impl UnwindSafe for Location

impl RefUnwindSafe for Location

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