FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SettingsEditor

    struct · ferroui-protranslate-studio · v0.5.0

    struct SettingsEditor
    

    Editing settings is transactional: cancelling discards the draft, and a failed save keeps it available without changing the original configuration.

    View source

    Members

    new

    fn new(settings: StudioSettings) -> Self
    

    Source

    draft

    fn draft(self: &Self) -> &StudioSettings
    

    Source

    draft_mut

    fn draft_mut(self: &mut Self) -> &mut StudioSettings
    

    Source

    cancel

    fn cancel(self: Self) -> StudioSettings
    

    Source

    save

    fn save(self: &mut Self, service: &SettingsService, credentials: CredentialPersistence) -> Result<StudioSettings, StudioError>
    

    Source

    Trait implementations

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

    Availability

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