pub struct KotlinDataClass {
pub name: String,
pub fields: Vec<(String, KotlinType)>,
}Expand description
A Kotlin data class definition.
Fields§
§name: String§fields: Vec<(String, KotlinType)>Trait Implementations§
Source§impl Clone for KotlinDataClass
impl Clone for KotlinDataClass
Source§fn clone(&self) -> KotlinDataClass
fn clone(&self) -> KotlinDataClass
Returns a duplicate of the value. Read more
1.0.0 · 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 KotlinDataClass
impl Debug for KotlinDataClass
Auto Trait Implementations§
impl Freeze for KotlinDataClass
impl RefUnwindSafe for KotlinDataClass
impl Send for KotlinDataClass
impl Sync for KotlinDataClass
impl Unpin for KotlinDataClass
impl UnsafeUnpin for KotlinDataClass
impl UnwindSafe for KotlinDataClass
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