Struct momba_explore::LabeledAction[][src]

pub struct LabeledAction { /* fields omitted */ }

Label and arguments associated with a labeled action.

Implementations

impl LabeledAction[src]

pub fn new_with_network(
    network: &Network,
    label: &str,
    arguments: Box<[Value]>
) -> Self
[src]

pub fn label_index(&self) -> LabelIndex[src]

Returns the index of the action’s label.

pub fn label<'n>(&self, network: &'n Network) -> Option<&'n String>[src]

Retrieves the name of the action’s label from the network.

pub fn arguments(&self) -> &[Value][src]

Returns a slice representing the arguments of the action.

Trait Implementations

impl Clone for LabeledAction[src]

impl Debug for LabeledAction[src]

impl<'de> Deserialize<'de> for LabeledAction[src]

impl Eq for LabeledAction[src]

impl Hash for LabeledAction[src]

impl Into<Action> for LabeledAction[src]

impl PartialEq<LabeledAction> for LabeledAction[src]

impl Serialize for LabeledAction[src]

impl StructuralEq for LabeledAction[src]

impl StructuralPartialEq for LabeledAction[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,