pub struct Project<'a> {
pub name: &'a str,
pub modules: Vec<Module<'a>>,
pub properties: GradleProperties<'a>,
pub setting_gradle: SettingsGradle<'a>,
}
Expand description
Represents a project in the KMMP (Kotlin Multiplatform) context.
Fields§
§name: &'a str
👎Deprecated: maybe useless field
The name of the project.
modules: Vec<Module<'a>>
The list of modules associated with the project.
properties: GradleProperties<'a>
The Gradle properties of the project.
setting_gradle: SettingsGradle<'a>
The configuration of the settings.gradle file.
Implementations§
Source§impl<'a> Project<'a>
impl<'a> Project<'a>
Sourcepub fn new(
name: &'a str,
modules: Vec<Module<'a>>,
properties: GradleProperties<'a>,
setting_gradle: SettingsGradle<'a>,
) -> Self
pub fn new( name: &'a str, modules: Vec<Module<'a>>, properties: GradleProperties<'a>, setting_gradle: SettingsGradle<'a>, ) -> Self
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Project<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Project<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<'a> StructuralPartialEq for Project<'a>
Auto Trait Implementations§
impl<'a> Freeze for Project<'a>
impl<'a> RefUnwindSafe for Project<'a>
impl<'a> Send for Project<'a>
impl<'a> Sync for Project<'a>
impl<'a> Unpin for Project<'a>
impl<'a> UnwindSafe for Project<'a>
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