FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SplitResult

    struct · ferroui-base · v0.5.0

    struct SplitResult<T>
    

    Represents a split result that can be either a single object or two objects.

    View source

    Members

    first

    first: Option<T>
    

    The first part of the split result.

    Source

    second

    second: Option<T>
    

    The second part of the split result.

    Source

    new

    fn new(first: Option<T>, second: Option<T>) -> Self
    

    Source

    deconstruct

    fn deconstruct(self: Self) -> (Option<T>, Option<T>)
    

    Deconstructs the split result into its components.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.