commonMain.com.bselzer.ktx.compose.ui.layout.project.Mergeable.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compose-ui-layout-jvm Show documentation
Show all versions of compose-ui-layout-jvm Show documentation
Base extensions for laying out Compose Multiplatform UI.
package com.bselzer.ktx.compose.ui.layout.project
interface Mergeable {
/**
* Returns a new presentation that is a combination of this presentation and the given [other] presentation.
*
* [other] presentation's null or inherit properties are replaced with the non-null properties of this text presentation.
* Another way to think of it is that the "missing" properties of the [other] presentation are filled by the properties of this presentation
*
* If the given presentation is null, returns this text presentation.
*/
infix fun merge(other: Model?): Model
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy