Struct mlua_extras::typed::Param
source · pub struct Param {
pub name: Option<Cow<'static, str>>,
pub ty: Type,
}
Expand description
A function parameter type representation
Fields§
§name: Option<Cow<'static, str>>
If the parameter has a name (will default to Param{number} if None)
ty: Type
The type of the parameter
Trait Implementations§
source§impl Ord for Param
impl Ord for Param
source§impl PartialOrd for Param
impl PartialOrd for Param
impl Eq for Param
impl StructuralPartialEq for Param
Auto Trait Implementations§
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnwindSafe for Param
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
)