[][src]Struct nodespeak::vague::structure::Variable

pub struct Variable { /* fields omitted */ }

Implementations

impl Variable[src]

pub fn variable(
    definition: FilePosition,
    initial_value: Option<KnownData>
) -> Variable
[src]

pub fn constant(definition: FilePosition, value: KnownData) -> Variable[src]

pub fn macro_def(macro_data: MacroData) -> Variable[src]

pub fn data_type(definition: FilePosition, value: DataType) -> Variable[src]

pub fn automatic(definition: FilePosition) -> Variable[src]

pub fn void(definition: FilePosition) -> Variable[src]

pub fn set_definition(&mut self, new_definition: FilePosition)[src]

pub fn get_definition(&self) -> &FilePosition[src]

pub fn set_initial_value(&mut self, value: Option<KnownData>)[src]

pub fn borrow_initial_value(&self) -> &Option<KnownData>[src]

pub fn is_read_only(&self) -> bool[src]

Trait Implementations

impl Clone for Variable[src]

impl Debug for Variable[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, 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.