SplitResult
struct · ferroui-base · v0.5.0
struct SplitResult<T>
Represents a split result that can be either a single object or two objects.
Members
first
first: Option<T>
The first part of the split result.
second
second: Option<T>
The second part of the split result.
new
fn new(first: Option<T>, second: Option<T>) -> Self
deconstruct
fn deconstruct(self: Self) -> (Option<T>, Option<T>)
Deconstructs the split result into its components.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.