pub struct KotlinFile {
pub package: Option<Package>,
pub imports: Vec<Import>,
pub declarations: Vec<Declaration>,
pub annotations: Vec<AnnotationSet>,
}
Fields§
§package: Option<Package>
§imports: Vec<Import>
§declarations: Vec<Declaration>
§annotations: Vec<AnnotationSet>
Trait Implementations§
Source§impl Clone for KotlinFile
impl Clone for KotlinFile
Source§fn clone(&self) -> KotlinFile
fn clone(&self) -> KotlinFile
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 KotlinFile
impl Debug for KotlinFile
Source§impl PartialEq for KotlinFile
impl PartialEq for KotlinFile
impl StructuralPartialEq for KotlinFile
Auto Trait Implementations§
impl Freeze for KotlinFile
impl RefUnwindSafe for KotlinFile
impl Send for KotlinFile
impl Sync for KotlinFile
impl Unpin for KotlinFile
impl UnwindSafe for KotlinFile
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