[][src]Struct darklua_core::nodes::FunctionName

pub struct FunctionName { /* fields omitted */ }

Methods

impl FunctionName[src]

pub fn new(
    name: String,
    field_names: Vec<String>,
    method: Option<String>
) -> Self
[src]

pub fn from_name<S: Into<String>>(name: S) -> Self[src]

pub fn with_fields(self, field_names: Vec<String>) -> Self[src]

pub fn with_method(self, method: String) -> Self[src]

pub fn push_field(&mut self, field: String)[src]

pub fn remove_method(&mut self) -> Option<String>[src]

pub fn get_method(&mut self) -> &Option<String>[src]

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

pub fn set_name(&mut self, name: String)[src]

Trait Implementations

impl Clone for FunctionName[src]

impl Debug for FunctionName[src]

impl Eq for FunctionName[src]

impl PartialEq<FunctionName> for FunctionName[src]

impl StructuralEq for FunctionName[src]

impl StructuralPartialEq for FunctionName[src]

impl ToLua for FunctionName[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.