Enum slint::platform::SetPlatformError
#[non_exhaustive]
pub enum SetPlatformError {
AlreadySet,
}
Expand description
This enum describes the different error scenarios that may occur when set_platform
fails.
Variants (Non-exhaustive)ยง
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AlreadySet
The platform has been initialized in an earlier call to set_platform
.
Trait Implementationsยง
ยงimpl Clone for SetPlatformError
impl Clone for SetPlatformError
ยงfn clone(&self) -> SetPlatformError
fn clone(&self) -> SetPlatformError
Returns a copy 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 more