[][src]Struct gf::datamodel::Relation

pub struct Relation<'a> {
    pub name: Option<String>,
    pub kind: RelationKind,
    pub ty_instance_ctor: TyInstanceCtor<'a>,
    pub location: Location,
    pub condition: Option<BoundExpr>,

Relation of a structure type.


name: Option<String>


kind: RelationKind


ty_instance_ctor: TyInstanceCtor<'a>

Type instance constructor of related data.

location: Location

Location of related data.

condition: Option<BoundExpr>

Condition that determines whether the relation exists.

Trait Implementations

impl<'a> Eval<'a> for Relation<'a>[src]

type Output = Option<DataPtr<'a>>

Evaluation output type.

Auto Trait Implementations

impl<'a> Send for Relation<'a>

impl<'a> Sync for Relation<'a>

impl<'a> Unpin for Relation<'a>

impl<'a> UnwindSafe for Relation<'a>

impl<'a> RefUnwindSafe for Relation<'a>

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