[][src]Struct darklua_core::nodes::StringExpression

pub struct StringExpression { /* fields omitted */ }

Methods

impl StringExpression[src]

pub fn new(string: String) -> Option<Self>[src]

pub fn from_value<T: Into<String>>(value: T) -> Self[src]

pub fn get_value(&self) -> &str[src]

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

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

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

Trait Implementations

impl Clone for StringExpression[src]

impl Debug for StringExpression[src]

impl Eq for StringExpression[src]

impl From<String> for StringExpression[src]

impl From<StringExpression> for Expression[src]

impl PartialEq<StringExpression> for StringExpression[src]

impl StructuralEq for StringExpression[src]

impl StructuralPartialEq for StringExpression[src]

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