Struct Golang

Source
pub struct Golang;

Trait Implementations§

Source§

impl Target for Golang

Source§

fn push(value: impl ToString) -> String

Source§

fn load(identifier: impl ToString) -> String

Source§

fn number(number: impl ToString) -> String

Source§

fn string(string: impl ToString) -> String

Source§

fn store(value: impl ToString) -> String

Source§

fn copy(value: impl ToString) -> String

Source§

fn block(body: impl ToString) -> String

Source§

fn func(body: impl ToString) -> String

Source§

fn foreign_func(name: impl ToString) -> String

Source§

fn for_loop( counter: impl ToString, element: impl ToString, list: impl ToString, body: impl ToString, ) -> String

Source§

fn while_loop(condition: impl ToString, body: impl ToString) -> String

Source§

fn if_then_else( condition: impl ToString, then_fn: impl ToString, else_fn: impl ToString, ) -> String

Source§

fn call(func: impl ToString) -> String

Source§

fn method_call(method_name: impl ToString) -> String

Source§

fn assign(pointer_value: impl ToString) -> String

Source§

fn dotname(head: Value, tail: Vec<Identifier>) -> String

Source§

fn indexname(head: Value, tail: Vec<Value>) -> String

Source§

fn quote(name: impl ToString) -> String

Auto Trait Implementations§

§

impl Freeze for Golang

§

impl RefUnwindSafe for Golang

§

impl Send for Golang

§

impl Sync for Golang

§

impl Unpin for Golang

§

impl UnwindSafe for Golang

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.