[][src]Struct loa::semantics::Behaviour

pub struct Behaviour {
    pub receiver_type: Type,
    pub id: Id,
    pub message: BehaviourMessage,
    pub return_type: Type,
}

Fields

receiver_type: Typeid: Idmessage: BehaviourMessagereturn_type: Type

Methods

impl Behaviour[src]

pub fn selector(&self) -> String[src]

pub fn with_self(self, self_: &Type) -> Behaviour[src]

pub fn return_type(&self) -> Type[src]

pub fn with_applied_message(
    self,
    message: &Node,
    navigator: &Navigator,
    types: &Types
) -> Behaviour
[src]

pub fn with_applied_type_arguments(self, map: &HashMap<Id, Type>) -> Behaviour[src]

pub fn to_markdown(&self, navigator: &Navigator) -> String[src]

Trait Implementations

impl Clone for Behaviour[src]

impl Debug for Behaviour[src]

impl Display for Behaviour[src]

impl Eq for Behaviour[src]

impl Hash for Behaviour[src]

impl PartialEq<Behaviour> for Behaviour[src]

impl StructuralEq for Behaviour[src]

impl StructuralPartialEq for Behaviour[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.