Struct mlua_extras::typed::generator::Entry
source · pub struct Entry<'def> {
pub docs: Vec<String>,
pub name: Cow<'def, str>,
pub ty: Type,
}
Expand description
Representation of a type that is defined in the definition file.
This type has a name and additional documentation that can be displayed
Fields§
§docs: Vec<String>
§name: Cow<'def, str>
§ty: Type
Implementations§
Trait Implementations§
source§impl<'def> Ord for Entry<'def>
impl<'def> Ord for Entry<'def>
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<'def> PartialOrd for Entry<'def>
impl<'def> PartialOrd for Entry<'def>
impl<'def> Eq for Entry<'def>
impl<'def> StructuralPartialEq for Entry<'def>
Auto Trait Implementations§
impl<'def> Freeze for Entry<'def>
impl<'def> RefUnwindSafe for Entry<'def>
impl<'def> Send for Entry<'def>
impl<'def> Sync for Entry<'def>
impl<'def> Unpin for Entry<'def>
impl<'def> UnwindSafe for Entry<'def>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)