[−][src]Struct darklua_core::nodes::FunctionName
Methods
impl FunctionName
[src]
pub fn new(
name: String,
field_names: Vec<String>,
method: Option<String>
) -> Self
[src]
name: String,
field_names: Vec<String>,
method: Option<String>
) -> Self
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]
fn clone(&self) -> FunctionName
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FunctionName
[src]
impl Eq for FunctionName
[src]
impl PartialEq<FunctionName> for FunctionName
[src]
fn eq(&self, other: &FunctionName) -> bool
[src]
fn ne(&self, other: &FunctionName) -> bool
[src]
impl StructuralEq for FunctionName
[src]
impl StructuralPartialEq for FunctionName
[src]
impl ToLua for FunctionName
[src]
fn to_lua(&self, generator: &mut LuaGenerator)
[src]
fn to_lua_string(&self) -> String
[src]
Auto Trait Implementations
impl RefUnwindSafe for FunctionName
impl Send for FunctionName
impl Sync for FunctionName
impl Unpin for FunctionName
impl UnwindSafe for FunctionName
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>,