pub struct Typename(pub &'static str);
Tuple Fields§
§0: &'static str
Implementations§
Trait Implementations§
source§impl<L> LuaRead<L> for Typenamewhere
L: AsLua,
impl<L> LuaRead<L> for Typenamewhere
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 Typename
impl Ord for Typename
source§impl PartialEq for Typename
impl PartialEq for Typename
source§impl PartialOrd for Typename
impl PartialOrd for Typename
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 moreimpl Copy for Typename
impl Eq for Typename
impl StructuralEq for Typename
impl StructuralPartialEq for Typename
Auto Trait Implementations§
impl RefUnwindSafe for Typename
impl Send for Typename
impl Sync for Typename
impl Unpin for Typename
impl UnwindSafe for Typename
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