[−][src]Struct nodespeak::vague::structure::Variable
Implementations
impl Variable
[src]
pub fn variable(
definition: FilePosition,
initial_value: Option<KnownData>
) -> Variable
[src]
definition: FilePosition,
initial_value: Option<KnownData>
) -> Variable
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
Auto Trait Implementations
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,