pub struct AnyLuaString(pub Vec<u8>);Expand description
A byte string that may not be valid UTF-8, mirroring hlua::AnyLuaString.
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Source§impl Clone for AnyLuaString
impl Clone for AnyLuaString
Source§fn clone(&self) -> AnyLuaString
fn clone(&self) -> AnyLuaString
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Ord for AnyLuaString
impl Ord for AnyLuaString
Source§fn cmp(&self, other: &AnyLuaString) -> Ordering
fn cmp(&self, other: &AnyLuaString) -> Ordering
1.21.0 (const: unstable) · 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
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AnyLuaString
impl PartialOrd for AnyLuaString
impl Eq for AnyLuaString
impl StructuralPartialEq for AnyLuaString
Auto Trait Implementations§
impl Freeze for AnyLuaString
impl RefUnwindSafe for AnyLuaString
impl Send for AnyLuaString
impl Sync for AnyLuaString
impl Unpin for AnyLuaString
impl UnsafeUnpin 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