diff --git a/snapshots/master/demos/android/energy-monitor.apk b/snapshots/master/demos/android/energy-monitor.apk index eb7218e91..0ea2a785f 100644 Binary files a/snapshots/master/demos/android/energy-monitor.apk and b/snapshots/master/demos/android/energy-monitor.apk differ diff --git a/snapshots/master/demos/android/todo_lib.apk b/snapshots/master/demos/android/todo_lib.apk index fa5d8019c..dd4bcd4c6 100644 Binary files a/snapshots/master/demos/android/todo_lib.apk and b/snapshots/master/demos/android/todo_lib.apk differ diff --git a/snapshots/master/demos/android/weather_demo_lib.apk b/snapshots/master/demos/android/weather_demo_lib.apk index bb0ab4d5e..bd6dbb8c9 100644 Binary files a/snapshots/master/demos/android/weather_demo_lib.apk and b/snapshots/master/demos/android/weather_demo_lib.apk differ diff --git a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm index 89129848d..deec4929d 100644 Binary files a/snapshots/master/demos/carousel/pkg/carousel_bg.wasm and b/snapshots/master/demos/carousel/pkg/carousel_bg.wasm differ diff --git a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js index 8b71ac896..c42cb4973 100644 --- a/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js +++ b/snapshots/master/demos/energy-monitor/pkg/energy_monitor.js @@ -1665,64 +1665,64 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7705 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7704 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7707 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7706 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7709 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7708 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7711 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7710 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper7713 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 3495, __wbg_adapter_26); + imports.wbg.__wbindgen_closure_wrapper7712 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 3494, __wbg_adapter_26); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9208 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9207 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9210 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_40); + imports.wbg.__wbindgen_closure_wrapper9209 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_40); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9212 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9211 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9214 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9213 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9219 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9218 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9223 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9222 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9232 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9231 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9236 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_53); + imports.wbg.__wbindgen_closure_wrapper9235 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_53); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9241 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 3975, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper9240 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 3974, __wbg_adapter_37); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper9914 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4053, __wbg_adapter_58); + imports.wbg.__wbindgen_closure_wrapper9913 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4052, __wbg_adapter_58); return addHeapObject(ret); }; diff --git a/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm b/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm index 691f57649..afe25fbbe 100644 Binary files a/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm and b/snapshots/master/demos/energy-monitor/pkg/energy_monitor_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm index 7233cab4c..d254bd3fa 100644 Binary files a/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/cosmic/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm index 623e70ee2..4450820cd 100644 Binary files a/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/cupertino/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm index 7742a9036..e14392149 100644 Binary files a/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/fluent/gallery_bg.wasm differ diff --git a/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm b/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm index d97e21979..cdc41c808 100644 Binary files a/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm and b/snapshots/master/demos/gallery/pkg/material/gallery_bg.wasm differ diff --git a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm index e85e74761..f52d0ad7c 100644 Binary files a/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm and b/snapshots/master/demos/imagefilter/pkg/imagefilter_bg.wasm differ diff --git a/snapshots/master/demos/memory/pkg/memory_bg.wasm b/snapshots/master/demos/memory/pkg/memory_bg.wasm index 42f18bf66..6c43c3688 100644 Binary files a/snapshots/master/demos/memory/pkg/memory_bg.wasm and b/snapshots/master/demos/memory/pkg/memory_bg.wasm differ diff --git a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm index f01f2f3f7..42017ce77 100644 Binary files a/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm and b/snapshots/master/demos/opengl_underlay/pkg/opengl_underlay_bg.wasm differ diff --git a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm index 02a12e2cd..7e7898652 100644 Binary files a/snapshots/master/demos/plotter/pkg/plotter_bg.wasm and b/snapshots/master/demos/plotter/pkg/plotter_bg.wasm differ diff --git a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm index fdb6fa0f6..b75953eb2 100644 Binary files a/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm and b/snapshots/master/demos/printerdemo/pkg/printerdemo_lib_bg.wasm differ diff --git a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm index d3d0c0d18..29f1321dc 100644 Binary files a/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm and b/snapshots/master/demos/printerdemo_old/pkg/printerdemo_old_bg.wasm differ diff --git a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm index c51671f9a..b4f6a1842 100644 Binary files a/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm and b/snapshots/master/demos/slide_puzzle/pkg/slide_puzzle_bg.wasm differ diff --git a/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm b/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm index 1b76ccd1c..c4f22a643 100644 Binary files a/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm and b/snapshots/master/demos/todo/pkg/todo_lib_bg.wasm differ diff --git a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm index 8508644a9..d7d72d0e7 100644 Binary files a/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm and b/snapshots/master/demos/weather-demo/pkg/weather_demo_lib_bg.wasm differ diff --git a/snapshots/master/docs/node/classes/ArrayModel.html b/snapshots/master/docs/node/classes/ArrayModel.html index 92136258c..1cf1272d5 100644 --- a/snapshots/master/docs/node/classes/ArrayModel.html +++ b/snapshots/master/docs/node/classes/ArrayModel.html @@ -1,6 +1,6 @@ ArrayModel | slint-ui

Class ArrayModel<T>

ArrayModel wraps a JavaScript array for use in .slint views. The underlying array can be modified with the [[ArrayModel.push]] and [[ArrayModel.remove]] methods.

-

Type Parameters

  • T

Hierarchy (view full)

Constructors

Type Parameters

  • T

Hierarchy (view full)

Constructors

Accessors

Methods

[iterator] entries @@ -16,32 +16,32 @@ setRowData values

Constructors

Accessors

  • get length(): number
  • Returns the number of entries in the array model.

    -

    Returns number

Methods

  • Returns an iterable of key, value pairs for every entry in the array.

    -

    Returns IterableIterator<[number, T]>

  • Notifies the view that the complete data must be reload.

    -

    Returns void

Accessors

  • get length(): number
  • Returns the number of entries in the array model.

    +

    Returns number

Methods

  • Returns an iterable of key, value pairs for every entry in the array.

    +

    Returns IterableIterator<[number, T]>

  • Notifies the view that the complete data must be reload.

    +

    Returns void

  • Notifies the view that multiple rows are added to the model.

    Parameters

    • row: number

      index of the first added row.

    • count: number

      the number of added items.

      -

    Returns void

  • Notifies the view that the data of the current row is changed.

    +

Returns void

  • Notifies the view that the data of the current row is changed.

    Parameters

    • row: number

      index of the changed row.

      -

    Returns void

  • Notifies the view that multiple rows are removed to the model.

    +

Returns void

Returns void

Returns void

Returns void

\ No newline at end of file +

Returns void

\ No newline at end of file diff --git a/snapshots/master/docs/node/classes/CompileError.html b/snapshots/master/docs/node/classes/CompileError.html index 998fd99bf..4dee2b627 100644 --- a/snapshots/master/docs/node/classes/CompileError.html +++ b/snapshots/master/docs/node/classes/CompileError.html @@ -1,5 +1,5 @@ CompileError | slint-ui

Class CompileError

Represents an errors that can be emitted by the compiler.

-

Hierarchy

  • Error
    • CompileError

Constructors

Hierarchy

  • Error
    • CompileError

Constructors

Properties

cause? diagnostics message @@ -11,8 +11,8 @@

Constructors

  • Creates a new CompileError.

    Parameters

    • message: string

      human-readable description of the error.

    • diagnostics: Diagnostic[]

      represent a list of diagnostic items emitted while compiling .slint code.

      -

    Returns CompileError

Properties

cause?: unknown
diagnostics: Diagnostic[]

List of Diagnostic items emitted while compiling .slint code.

-
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

+

Returns CompileError

Properties

cause?: unknown
diagnostics: Diagnostic[]

List of Diagnostic items emitted while compiling .slint code.

+
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

\ No newline at end of file diff --git a/snapshots/master/docs/node/classes/Model.html b/snapshots/master/docs/node/classes/Model.html index 3f05972c0..948316e1f 100644 --- a/snapshots/master/docs/node/classes/Model.html +++ b/snapshots/master/docs/node/classes/Model.html @@ -6,7 +6,7 @@

Example

As an example let's see the implementation of ArrayModel

export class ArrayModel<T> extends Model<T> {
private a: Array<T>

constructor(arr: Array<T>) {
super();
this.a = arr;
}

rowCount() {
return this.a.length;
}

rowData(row: number) {
return this.a[row];
}

setRowData(row: number, data: T) {
this.a[row] = data;
this.notifyRowDataChanged(row);
}

push(...values: T[]) {
let size = this.a.length;
Array.prototype.push.apply(this.a, values);
this.notifyRowAdded(size, arguments.length);
}

remove(index: number, size: number) {
let r = this.a.splice(index, size);
this.notifyRowRemoved(index, size);
}

get length(): number {
return this.a.length;
}

values(): IterableIterator<T> {
return this.a.values();
}

entries(): IterableIterator<[number, T]> {
return this.a.entries()
}
}
-

Hierarchy (view full)

Implements

Constructors

Hierarchy (view full)

Implements

  • Iterable<T>

Constructors

Methods

  • Returns Iterator<T, any, undefined>

  • Notifies the view that the complete data must be reload.

    -

    Returns void

  • Notifies the view that multiple rows are added to the model.

    +

Constructors

Methods

Returns void

Returns void

Returns void

\ No newline at end of file +

Returns void

\ No newline at end of file diff --git a/snapshots/master/docs/node/functions/loadFile.html b/snapshots/master/docs/node/functions/loadFile.html index a65c9edff..c841756b7 100644 --- a/snapshots/master/docs/node/functions/loadFile.html +++ b/snapshots/master/docs/node/functions/loadFile.html @@ -15,4 +15,4 @@ These instances offer properties and event handlers, adhering to the ComponentHandle interface. For further information on the available properties, refer to Instantiating A Component.

Throws

CompileError if errors occur during compilation.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/snapshots/master/docs/node/functions/loadSource.html b/snapshots/master/docs/node/functions/loadSource.html index a84a72552..05cf9d8ba 100644 --- a/snapshots/master/docs/node/functions/loadSource.html +++ b/snapshots/master/docs/node/functions/loadSource.html @@ -13,4 +13,4 @@ These instances offer properties and event handlers, adhering to the ComponentHandle interface. For further information on the available properties, refer to Instantiating A Component.

Throws

CompileError if errors occur during compilation.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/snapshots/master/docs/node/functions/quitEventLoop.html b/snapshots/master/docs/node/functions/quitEventLoop.html index c8728a17a..23bb992f1 100644 --- a/snapshots/master/docs/node/functions/quitEventLoop.html +++ b/snapshots/master/docs/node/functions/quitEventLoop.html @@ -1,3 +1,3 @@ quitEventLoop | slint-ui

Function quitEventLoop

  • Stops a spinning event loop. This function returns immediately, and the promise returned from run_event_loop() will resolve in a later tick of the nodejs event loop.

    -

    Returns void

\ No newline at end of file +

Returns void

\ No newline at end of file diff --git a/snapshots/master/docs/node/functions/runEventLoop.html b/snapshots/master/docs/node/functions/runEventLoop.html index 8d5e7d831..0448ff61d 100644 --- a/snapshots/master/docs/node/functions/runEventLoop.html +++ b/snapshots/master/docs/node/functions/runEventLoop.html @@ -2,4 +2,4 @@

If the event loop is already running, then this function returns the same promise as from the earlier invocation.

Parameters

Returns Promise<unknown>

\ No newline at end of file +

Returns Promise<unknown>

\ No newline at end of file diff --git a/snapshots/master/docs/node/interfaces/ComponentHandle.html b/snapshots/master/docs/node/interfaces/ComponentHandle.html index 0a6567d43..ecfa54776 100644 --- a/snapshots/master/docs/node/interfaces/ComponentHandle.html +++ b/snapshots/master/docs/node/interfaces/ComponentHandle.html @@ -1,16 +1,16 @@ ComponentHandle | slint-ui

Interface ComponentHandle

This interface describes the public API of a Slint component that is common to all instances. Use this to show() the window on the screen, access the window and subsequent window properties, or start the Slint event loop with run().

-
interface ComponentHandle {
    get window(): Window;
    hide(): any;
    run(): Promise<unknown>;
    show(): any;
}

Accessors

interface ComponentHandle {
    get window(): Window;
    hide(): any;
    run(): Promise<unknown>;
    show(): any;
}

Accessors

Methods

Accessors

  • get window(): Window
  • Returns the Window associated with this component instance. The window API can be used to control different aspects of the integration into the windowing system, such as the position on the screen.

    -

    Returns Window

Methods

  • Hides the component's window, so that it is not visible anymore.

    -

    Returns any

  • Shows the window and runs the event loop. The returned promise is resolved when the event loop +

    Returns Window

Methods

  • Hides the component's window, so that it is not visible anymore.

    +

    Returns any

  • Shows the window and runs the event loop. The returned promise is resolved when the event loop is terminated, for example when the last window was closed, or quitEventLoop was called.

    This function is a convenience for calling show, followed by runEventLoop, and hide when the event loop's promise is resolved.

    -

    Returns Promise<unknown>

  • Shows the component's window on the screen.

    -

    Returns any

\ No newline at end of file +

Returns Promise<unknown>

\ No newline at end of file diff --git a/snapshots/master/docs/node/interfaces/ImageData.html b/snapshots/master/docs/node/interfaces/ImageData.html index 5bcab317e..7fd209c45 100644 --- a/snapshots/master/docs/node/interfaces/ImageData.html +++ b/snapshots/master/docs/node/interfaces/ImageData.html @@ -1,12 +1,12 @@ ImageData | slint-ui

Interface ImageData

An image data type that can be displayed by the Image element.

This interface is inspired by the web ImageData interface.

-
interface ImageData {
    path?: string;
    get data(): Uint8Array;
    get height(): number;
    get width(): number;
}

Properties

interface ImageData {
    path?: string;
    get data(): Uint8Array;
    get height(): number;
    get width(): number;
}

Properties

Accessors

Properties

path?: string

Returns the path of the image, if it was loaded from disk. Otherwise the property is undefined.

-

Accessors

  • get data(): Uint8Array
  • Returns the image as buffer.

    -

    Returns Uint8Array

  • get height(): number
  • Returns the height of the image in pixels.

    -

    Returns number

  • get width(): number
  • Returns the width of the image in pixels.

    -

    Returns number

\ No newline at end of file +

Accessors

\ No newline at end of file diff --git a/snapshots/master/docs/node/interfaces/LoadFileOptions.html b/snapshots/master/docs/node/interfaces/LoadFileOptions.html index a540eeeb3..f8f2e9b57 100644 --- a/snapshots/master/docs/node/interfaces/LoadFileOptions.html +++ b/snapshots/master/docs/node/interfaces/LoadFileOptions.html @@ -1,10 +1,10 @@ LoadFileOptions | slint-ui

Interface LoadFileOptions

LoadFileOptions are used to defines different optional parameters that can be used to configure the compiler.

-
interface LoadFileOptions {
    includePaths?: string[];
    libraryPaths?: Record<string, string>;
    quiet?: boolean;
    style?: string;
}

Properties

interface LoadFileOptions {
    includePaths?: string[];
    libraryPaths?: Record<string, string>;
    quiet?: boolean;
    style?: string;
}

Properties

includePaths?: string[]

Sets the include paths used for looking up .slint imports to the specified vector of paths.

-
libraryPaths?: Record<string, string>

Sets library paths used for looking up @library imports to the specified map of library names to paths.

-
quiet?: boolean

If set to true warnings from the compiler will not be printed to the console.

-
style?: string

Sets the widget style the compiler is currently using when compiling .slint files.

-
\ No newline at end of file +
libraryPaths?: Record<string, string>

Sets library paths used for looking up @library imports to the specified map of library names to paths.

+
quiet?: boolean

If set to true warnings from the compiler will not be printed to the console.

+
style?: string

Sets the widget style the compiler is currently using when compiling .slint files.

+
\ No newline at end of file diff --git a/snapshots/master/docs/node/interfaces/Point.html b/snapshots/master/docs/node/interfaces/Point.html index e1b7ff94e..1460342d2 100644 --- a/snapshots/master/docs/node/interfaces/Point.html +++ b/snapshots/master/docs/node/interfaces/Point.html @@ -1,6 +1,6 @@ Point | slint-ui

Interface Point

Represents a two-dimensional point.

-
interface Point {
    x: number;
    y: number;
}

Properties

x +
interface Point {
    x: number;
    y: number;
}

Properties

x y

Properties

x: number

Defines the x coordinate of the point.

-
y: number

Defines the y coordinate of the point.

-
\ No newline at end of file +
y: number

Defines the y coordinate of the point.

+
\ No newline at end of file diff --git a/snapshots/master/docs/node/interfaces/Size.html b/snapshots/master/docs/node/interfaces/Size.html index 0a1b30c96..90da74167 100644 --- a/snapshots/master/docs/node/interfaces/Size.html +++ b/snapshots/master/docs/node/interfaces/Size.html @@ -1,6 +1,6 @@ Size | slint-ui

Interface Size

Represents a two-dimensional size.

-
interface Size {
    height: number;
    width: number;
}

Properties

interface Size {
    height: number;
    width: number;
}

Properties

Properties

height: number

Defines the height length of the size.

-
width: number

Defines the width length of the size.

-
\ No newline at end of file +
width: number

Defines the width length of the size.

+
\ No newline at end of file diff --git a/snapshots/master/docs/node/interfaces/Window.html b/snapshots/master/docs/node/interfaces/Window.html index e59597bc1..4aab9a359 100644 --- a/snapshots/master/docs/node/interfaces/Window.html +++ b/snapshots/master/docs/node/interfaces/Window.html @@ -1,7 +1,7 @@ Window | slint-ui

Interface Window

This type represents a window towards the windowing system, that's used to render the scene of a component. It provides API to control windowing system specific aspects such as the position on the screen.

-
interface Window {
    fullscreen: boolean;
    logicalPosition: Point;
    logicalSize: Size;
    maximized: boolean;
    minimized: boolean;
    physicalPosition: Point;
    physicalSize: Size;
    get visible(): boolean;
    hide(): void;
    requestRedraw(): void;
    show(): void;
}

Properties

interface Window {
    fullscreen: boolean;
    logicalPosition: Point;
    logicalSize: Size;
    maximized: boolean;
    minimized: boolean;
    physicalPosition: Point;
    physicalSize: Size;
    get visible(): boolean;
    hide(): void;
    requestRedraw(): void;
    show(): void;
}

Properties

fullscreen: boolean

Gets or sets the window's fullscreen state *

-
logicalPosition: Point

Gets or sets the logical position of the window on the screen.

-
logicalSize: Size

Gets or sets the logical size of the window on the screen,

-
maximized: boolean

Gets or sets the window's maximized state *

-
minimized: boolean

Gets or sets teh window's minimized state *

-
physicalPosition: Point

Gets or sets the physical position of the window on the screen.

-
physicalSize: Size

Gets or sets the physical size of the window on the screen,

-

Accessors

  • get visible(): boolean
  • Returns the visibility state of the window. This function can return false even if you previously called show() +

logicalPosition: Point

Gets or sets the logical position of the window on the screen.

+
logicalSize: Size

Gets or sets the logical size of the window on the screen,

+
maximized: boolean

Gets or sets the window's maximized state *

+
minimized: boolean

Gets or sets teh window's minimized state *

+
physicalPosition: Point

Gets or sets the physical position of the window on the screen.

+
physicalSize: Size

Gets or sets the physical size of the window on the screen,

+

Accessors

  • get visible(): boolean
  • Returns the visibility state of the window. This function can return false even if you previously called show() on it, for example if the user minimized the window.

    -

    Returns boolean

Methods

  • Hides the window, so that it is not visible anymore.

    -

    Returns void

  • Issues a request to the windowing system to re-render the contents of the window.

    -

    Returns void

  • Shows the window on the screen. An additional strong reference on the +

    Returns boolean

Methods

  • Hides the window, so that it is not visible anymore.

    +

    Returns void

  • Issues a request to the windowing system to re-render the contents of the window.

    +

    Returns void

  • Shows the window on the screen. An additional strong reference on the associated component is maintained while the window is visible.

    -

    Returns void

\ No newline at end of file +

Returns void

\ No newline at end of file diff --git a/snapshots/master/docs/rust/help.html b/snapshots/master/docs/rust/help.html index 2284b3d2c..d6f4962e0 100644 --- a/snapshots/master/docs/rust/help.html +++ b/snapshots/master/docs/rust/help.html @@ -1,4 +1,4 @@ -Help

Rustdoc help

Back
\ No newline at end of file +

Rustdoc help

Back
\ No newline at end of file diff --git a/snapshots/master/docs/rust/i_slint_backend_android_activity/all.html b/snapshots/master/docs/rust/i_slint_backend_android_activity/all.html index 97c9771e1..dfd8c018e 100644 --- a/snapshots/master/docs/rust/i_slint_backend_android_activity/all.html +++ b/snapshots/master/docs/rust/i_slint_backend_android_activity/all.html @@ -1,4 +1,4 @@ -List of all items in this crate

Rustdoc settings

Back
\ No newline at end of file +

Rustdoc settings

Back
\ No newline at end of file diff --git a/snapshots/master/docs/rust/slint/all.html b/snapshots/master/docs/rust/slint/all.html index 7e4381e9f..2ebbde707 100644 --- a/snapshots/master/docs/rust/slint/all.html +++ b/snapshots/master/docs/rust/slint/all.html @@ -1,4 +1,4 @@ -List of all items in this crate

Module slint::docs::cargo_features

source ·
Expand description

§Feature flags and backend selection.

+

Module slint::docs::cargo_features

source ·
Expand description

§Feature flags and backend selection.

Use the following feature flags in your Cargo.toml to enable additional features.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where @@ -182,9 +182,7 @@ then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+generate &mut Any’s vtable from &mut Trait’s.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where diff --git a/snapshots/master/docs/rust/slint/docs/index.html b/snapshots/master/docs/rust/slint/docs/index.html index 5d7b207cb..68cb6bce2 100644 --- a/snapshots/master/docs/rust/slint/docs/index.html +++ b/snapshots/master/docs/rust/slint/docs/index.html @@ -1,4 +1,4 @@ -slint::docs - Rust

Module slint::docs

source ·
Expand description

This is a pseudo module which only exist for documentation purposes as a way to show +

Module slint::docs

source ·
Expand description

This is a pseudo module which only exist for documentation purposes as a way to show the Slint documentation as part of rustdoc.

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an diff --git a/snapshots/master/docs/rust/slint/enum.RenderingState.html b/snapshots/master/docs/rust/slint/enum.RenderingState.html index 3f6a6eda0..98db059f1 100644 --- a/snapshots/master/docs/rust/slint/enum.RenderingState.html +++ b/snapshots/master/docs/rust/slint/enum.RenderingState.html @@ -1,4 +1,4 @@ -RenderingState in slint - Rust

Enum slint::platform::PlatformError

#[non_exhaustive]
pub enum PlatformError { +

Enum slint::platform::PlatformError

#[non_exhaustive]
pub enum PlatformError { NoPlatform, NoEventLoopProvider, SetPlatformError(SetPlatformError), Other(String), - OtherError(Box<dyn Error + Sync + Send>), + OtherError(Box<dyn Error + Send + Sync>), }
Expand description

The platform encountered a fatal error.

This error typically indicates an issue with initialization or connecting to the windowing system.

This can be constructed from a String:

@@ -140,8 +140,8 @@ is not implemented for the current platform.

§

SetPlatformError(SetPlatformError)

There is already a platform set from another thread.

§

Other(String)

Another platform-specific error occurred

-
§

OtherError(Box<dyn Error + Sync + Send>)

Another platform-specific error occurred.

-

Trait Implementations§

§

impl Debug for PlatformError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for PlatformError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for PlatformError

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl From<&str> for PlatformError

§

fn from(value: &str) -> PlatformError

Converts to this type from the input type.
§

impl From<Box<dyn Error + Sync + Send>> for PlatformError

§

fn from(error: Box<dyn Error + Sync + Send>) -> PlatformError

Converts to this type from the input type.
§

impl From<String> for PlatformError

§

fn from(value: String) -> PlatformError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +
§

OtherError(Box<dyn Error + Send + Sync>)

Another platform-specific error occurred.

+

Trait Implementations§

§

impl Debug for PlatformError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for PlatformError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for PlatformError

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl From<&str> for PlatformError

§

fn from(value: &str) -> PlatformError

Converts to this type from the input type.
§

impl From<Box<dyn Error + Send + Sync>> for PlatformError

§

fn from(error: Box<dyn Error + Send + Sync>) -> PlatformError

Converts to this type from the input type.
§

impl From<String> for PlatformError

§

fn from(value: String) -> PlatformError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where @@ -150,7 +150,7 @@ further downcast into Rc<ConcreteType> where ConcreteType implements Trait.

§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be + T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an diff --git a/snapshots/master/docs/rust/slint/platform/enum.PointerEventButton.html b/snapshots/master/docs/rust/slint/platform/enum.PointerEventButton.html index d48f1c427..160c6fd3d 100644 --- a/snapshots/master/docs/rust/slint/platform/enum.PointerEventButton.html +++ b/snapshots/master/docs/rust/slint/platform/enum.PointerEventButton.html @@ -1,4 +1,4 @@ -PointerEventButton in slint::platform - Rust

Trait slint::platform::femtovg_renderer::OpenGLInterface

pub unsafe trait OpenGLInterface {
     // Required methods
-    fn ensure_current(&self) -> Result<(), Box<dyn Error + Sync + Send>>;
-    fn swap_buffers(&self) -> Result<(), Box<dyn Error + Sync + Send>>;
+    fn ensure_current(&self) -> Result<(), Box<dyn Error + Send + Sync>>;
+    fn swap_buffers(&self) -> Result<(), Box<dyn Error + Send + Sync>>;
     fn resize(
         &self,
         width: NonZero<u32>,
         height: NonZero<u32>,
-    ) -> Result<(), Box<dyn Error + Sync + Send>>;
+    ) -> Result<(), Box<dyn Error + Send + Sync>>;
     fn get_proc_address(&self, name: &CStr) -> *const c_void;
 }
Expand description

This trait describes the interface GPU accelerated renderers in Slint require to render with OpenGL.

It serves the purpose to ensure that the OpenGL context is current before running any OpenGL @@ -136,15 +136,15 @@

§Safety

This trait is unsafe because an implementation of get_proc_address could return dangling pointers. In practice an implementation of this trait should just forward to the EGL/WGL/CGL C library that implements EGL/CGL/WGL.

-

Required Methods§

fn ensure_current(&self) -> Result<(), Box<dyn Error + Sync + Send>>

Ensures that the OpenGL context is current when returning from this function.

-

fn swap_buffers(&self) -> Result<(), Box<dyn Error + Sync + Send>>

This function is called by the renderers when all OpenGL commands have been issued and +

Required Methods§

fn ensure_current(&self) -> Result<(), Box<dyn Error + Send + Sync>>

Ensures that the OpenGL context is current when returning from this function.

+

fn swap_buffers(&self) -> Result<(), Box<dyn Error + Send + Sync>>

This function is called by the renderers when all OpenGL commands have been issued and the back buffer is reading for on-screen presentation. Typically implementations forward this to platform specific APIs such as eglSwapBuffers.

fn resize( &self, width: NonZero<u32>, height: NonZero<u32>, -) -> Result<(), Box<dyn Error + Sync + Send>>

This function is called by the renderers when the surface needs to be resized, typically +) -> Result<(), Box<dyn Error + Send + Sync>>

This function is called by the renderers when the surface needs to be resized, typically in response to the windowing system notifying of a change in the window system. For most implementations this is a no-op, with the exception for wayland for example.

fn get_proc_address(&self, name: &CStr) -> *const c_void

Returns the address of the OpenGL function specified by name, or a null pointer if the diff --git a/snapshots/master/docs/rust/slint/platform/fn.duration_until_next_timer_update.html b/snapshots/master/docs/rust/slint/platform/fn.duration_until_next_timer_update.html index 3c6ce1084..b2f073370 100644 --- a/snapshots/master/docs/rust/slint/platform/fn.duration_until_next_timer_update.html +++ b/snapshots/master/docs/rust/slint/platform/fn.duration_until_next_timer_update.html @@ -1,4 +1,4 @@ -duration_until_next_timer_update in slint::platform - Rust

Enum slint_interpreter::PlatformError

#[non_exhaustive]
pub enum PlatformError { +

Enum slint_interpreter::PlatformError

#[non_exhaustive]
pub enum PlatformError { NoPlatform, NoEventLoopProvider, SetPlatformError(SetPlatformError), Other(String), - OtherError(Box<dyn Error + Sync + Send>), + OtherError(Box<dyn Error + Send + Sync>), }
Expand description

The platform encountered a fatal error.

This error typically indicates an issue with initialization or connecting to the windowing system.

This can be constructed from a String:

@@ -140,8 +140,8 @@ is not implemented for the current platform.

§

SetPlatformError(SetPlatformError)

There is already a platform set from another thread.

§

Other(String)

Another platform-specific error occurred

-
§

OtherError(Box<dyn Error + Sync + Send>)

Another platform-specific error occurred.

-

Trait Implementations§

§

impl Debug for PlatformError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for PlatformError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for PlatformError

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl From<&str> for PlatformError

§

fn from(value: &str) -> PlatformError

Converts to this type from the input type.
§

impl From<Box<dyn Error + Sync + Send>> for PlatformError

§

fn from(error: Box<dyn Error + Sync + Send>) -> PlatformError

Converts to this type from the input type.
§

impl From<String> for PlatformError

§

fn from(value: String) -> PlatformError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +
§

OtherError(Box<dyn Error + Send + Sync>)

Another platform-specific error occurred.

+

Trait Implementations§

§

impl Debug for PlatformError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for PlatformError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for PlatformError

§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl From<&str> for PlatformError

§

fn from(value: &str) -> PlatformError

Converts to this type from the input type.
§

impl From<Box<dyn Error + Send + Sync>> for PlatformError

§

fn from(error: Box<dyn Error + Send + Sync>) -> PlatformError

Converts to this type from the input type.
§

impl From<String> for PlatformError

§

fn from(value: String) -> PlatformError

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where @@ -150,7 +150,7 @@ further downcast into Rc<ConcreteType> where ConcreteType implements Trait.

§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be + T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an diff --git a/snapshots/master/docs/rust/slint_interpreter/enum.RenderingState.html b/snapshots/master/docs/rust/slint_interpreter/enum.RenderingState.html index b136dfa89..19a5cb5c9 100644 --- a/snapshots/master/docs/rust/slint_interpreter/enum.RenderingState.html +++ b/snapshots/master/docs/rust/slint_interpreter/enum.RenderingState.html @@ -1,4 +1,4 @@ -RenderingState in slint_interpreter - Rust