Struct tlua::AnyLuaString
source · pub struct AnyLuaString(pub Vec<u8>);
Tuple Fields§
§0: Vec<u8>
Implementations§
Trait Implementations§
source§impl Clone for AnyLuaString
impl Clone for AnyLuaString
source§fn clone(&self) -> AnyLuaString
fn clone(&self) -> AnyLuaString
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnyLuaString
impl Debug for AnyLuaString
source§impl Hash for AnyLuaString
impl Hash for AnyLuaString
source§impl<L> LuaRead<L> for AnyLuaStringwhere
L: AsLua,
impl<L> LuaRead<L> for AnyLuaStringwhere
L: AsLua,
source§fn lua_read_at_position(lua: L, index: NonZeroI32) -> ReadResult<Self, L>
fn lua_read_at_position(lua: L, index: NonZeroI32) -> ReadResult<Self, L>
Reads the data from Lua at a given position.
fn n_values_expected() -> i32
source§fn lua_read(lua: L) -> ReadResult<Self, L>
fn lua_read(lua: L) -> ReadResult<Self, L>
Reads the data from Lua.
fn lua_read_at_maybe_zero_position(lua: L, index: i32) -> ReadResult<Self, L>where
L: AsLua,
source§impl Ord for AnyLuaString
impl Ord for AnyLuaString
source§fn cmp(&self, other: &AnyLuaString) -> Ordering
fn cmp(&self, other: &AnyLuaString) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AnyLuaString
impl PartialEq for AnyLuaString
source§fn eq(&self, other: &AnyLuaString) -> bool
fn eq(&self, other: &AnyLuaString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AnyLuaString
impl PartialOrd for AnyLuaString
source§fn partial_cmp(&self, other: &AnyLuaString) -> Option<Ordering>
fn partial_cmp(&self, other: &AnyLuaString) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<L> Push<L> for AnyLuaStringwhere
L: AsLua,
impl<L> Push<L> for AnyLuaStringwhere
L: AsLua,
source§impl<L> PushInto<L> for AnyLuaStringwhere
L: AsLua,
impl<L> PushInto<L> for AnyLuaStringwhere
L: AsLua,
impl Eq for AnyLuaString
impl<L> PushOne<L> for AnyLuaStringwhere
L: AsLua,
impl<L> PushOneInto<L> for AnyLuaStringwhere
L: AsLua,
impl StructuralEq for AnyLuaString
impl StructuralPartialEq for AnyLuaString
Auto Trait Implementations§
impl RefUnwindSafe for AnyLuaString
impl Send for AnyLuaString
impl Sync for AnyLuaString
impl Unpin for AnyLuaString
impl UnwindSafe for AnyLuaString
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more