pub struct KtParam {
pub name: String,
pub ty: KtType,
pub default: Option<KtCode>,
}Expand description
A function parameter with an optional default-value expression.
Fields§
§name: String§ty: KtType§default: Option<KtCode>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KtParam
impl RefUnwindSafe for KtParam
impl Send for KtParam
impl Sync for KtParam
impl Unpin for KtParam
impl UnsafeUnpin for KtParam
impl UnwindSafe for KtParam
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