diff --git a/iced/advanced/clipboard/enum.Kind.html b/iced/advanced/clipboard/enum.Kind.html index d6ed19c58a..ec7c898d65 100644 --- a/iced/advanced/clipboard/enum.Kind.html +++ b/iced/advanced/clipboard/enum.Kind.html @@ -1,12 +1,12 @@ -Kind in iced::advanced::clipboard - Rust
iced::advanced::clipboard

Enum Kind

pub enum Kind {
+Kind in iced::advanced::clipboard - Rust
iced::advanced::clipboard

Enum Kind

source
pub enum Kind {
     Standard,
     Primary,
 }
Available on crate feature advanced only.
Expand description

The kind of Clipboard.

Variants§

§

Standard

The standard clipboard.

§

Primary

The primary clipboard.

Normally only present in X11 and Wayland.

-

Trait Implementations§

§

impl Clone for Kind

§

fn clone(&self) -> Kind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Kind

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Kind

§

fn eq(&self, other: &Kind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Kind

§

impl Eq for Kind

§

impl StructuralPartialEq for Kind

Auto Trait Implementations§

§

impl Freeze for Kind

§

impl RefUnwindSafe for Kind

§

impl Send for Kind

§

impl Sync for Kind

§

impl Unpin for Kind

§

impl UnwindSafe for Kind

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Trait Implementations§

source§

impl Clone for Kind

source§

fn clone(&self) -> Kind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Kind

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq for Kind

source§

fn eq(&self, other: &Kind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Kind

source§

impl Eq for Kind

source§

impl StructuralPartialEq for Kind

Auto Trait Implementations§

§

impl Freeze for Kind

§

impl RefUnwindSafe for Kind

§

impl Send for Kind

§

impl Sync for Kind

§

impl Unpin for Kind

§

impl UnwindSafe for Kind

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/clipboard/index.html b/iced/advanced/clipboard/index.html index e0d11da4ea..080de08d29 100644 --- a/iced/advanced/clipboard/index.html +++ b/iced/advanced/clipboard/index.html @@ -1,3 +1,3 @@ -iced::advanced::clipboard - Rust
iced::advanced

Module clipboard

Available on crate feature advanced only.
Expand description

Access the clipboard.

+iced::advanced::clipboard - Rust
iced::advanced

Module clipboard

source
Available on crate feature advanced only.
Expand description

Access the clipboard.

Structs§

Enums§

Traits§

  • A buffer for short-term storage and transfer within and between applications.
\ No newline at end of file diff --git a/iced/advanced/clipboard/struct.Null.html b/iced/advanced/clipboard/struct.Null.html index 0b77577aaa..3942f209ea 100644 --- a/iced/advanced/clipboard/struct.Null.html +++ b/iced/advanced/clipboard/struct.Null.html @@ -1,5 +1,5 @@ -Null in iced::advanced::clipboard - Rust
iced::advanced::clipboard

Struct Null

pub struct Null;
Available on crate feature advanced only.
Expand description

A null implementation of the Clipboard trait.

-

Trait Implementations§

§

impl Clipboard for Null

§

fn read(&self, _kind: Kind) -> Option<String>

Reads the current content of the Clipboard as text.
§

fn write(&mut self, _kind: Kind, _contents: String)

Writes the given text contents to the Clipboard.
§

impl Clone for Null

§

fn clone(&self) -> Null

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Null

§

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

Formats the value using the given formatter. Read more
§

impl Copy for Null

Auto Trait Implementations§

§

impl Freeze for Null

§

impl RefUnwindSafe for Null

§

impl Send for Null

§

impl Sync for Null

§

impl Unpin for Null

§

impl UnwindSafe for Null

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +Null in iced::advanced::clipboard - Rust
iced::advanced::clipboard

Struct Null

source
pub struct Null;
Available on crate feature advanced only.
Expand description

A null implementation of the Clipboard trait.

+

Trait Implementations§

source§

impl Clipboard for Null

source§

fn read(&self, _kind: Kind) -> Option<String>

Reads the current content of the Clipboard as text.
source§

fn write(&mut self, _kind: Kind, _contents: String)

Writes the given text contents to the Clipboard.
source§

impl Clone for Null

source§

fn clone(&self) -> Null

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Null

source§

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

Formats the value using the given formatter. Read more
source§

impl Copy for Null

Auto Trait Implementations§

§

impl Freeze for Null

§

impl RefUnwindSafe for Null

§

impl Send for Null

§

impl Sync for Null

§

impl Unpin for Null

§

impl UnwindSafe for Null

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/clipboard/trait.Clipboard.html b/iced/advanced/clipboard/trait.Clipboard.html index d45ad0a99a..d390c1fc78 100644 --- a/iced/advanced/clipboard/trait.Clipboard.html +++ b/iced/advanced/clipboard/trait.Clipboard.html @@ -1,9 +1,9 @@ -Clipboard in iced::advanced::clipboard - Rust
iced::advanced::clipboard

Trait Clipboard

pub trait Clipboard {
+Clipboard in iced::advanced::clipboard - Rust
iced::advanced::clipboard

Trait Clipboard

source
pub trait Clipboard {
     // Required methods
     fn read(&self, kind: Kind) -> Option<String>;
     fn write(&mut self, kind: Kind, contents: String);
 }
Available on crate feature advanced only.
Expand description

A buffer for short-term storage and transfer within and between applications.

-

Required Methods§

fn read(&self, kind: Kind) -> Option<String>

Reads the current content of the Clipboard as text.

-

fn write(&mut self, kind: Kind, contents: String)

Writes the given text contents to the Clipboard.

-

Implementations on Foreign Types§

source§

impl Clipboard for Clipboard

source§

fn read(&self, kind: Kind) -> Option<String>

source§

fn write(&mut self, kind: Kind, contents: String)

Implementors§

§

impl Clipboard for Null

\ No newline at end of file +

Required Methods§

source

fn read(&self, kind: Kind) -> Option<String>

Reads the current content of the Clipboard as text.

+
source

fn write(&mut self, kind: Kind, contents: String)

Writes the given text contents to the Clipboard.

+

Implementations on Foreign Types§

source§

impl Clipboard for Clipboard

source§

fn read(&self, kind: Kind) -> Option<String>

source§

fn write(&mut self, kind: Kind, contents: String)

Implementors§

\ No newline at end of file diff --git a/iced/advanced/image/enum.FilterMethod.html b/iced/advanced/image/enum.FilterMethod.html index bafdaeb666..d9f24db946 100644 --- a/iced/advanced/image/enum.FilterMethod.html +++ b/iced/advanced/image/enum.FilterMethod.html @@ -1,14 +1,14 @@ -FilterMethod in iced::advanced::image - Rust
iced::advanced::image

Enum FilterMethod

pub enum FilterMethod {
+FilterMethod in iced::advanced::image - Rust
iced::advanced::image

Enum FilterMethod

source
pub enum FilterMethod {
     Linear,
     Nearest,
 }
Available on crate feature advanced only.
Expand description

Image filtering strategy.

Variants§

§

Linear

Bilinear interpolation.

§

Nearest

Nearest neighbor.

-

Trait Implementations§

§

impl Clone for FilterMethod

§

fn clone(&self) -> FilterMethod

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for FilterMethod

§

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

Formats the value using the given formatter. Read more
§

impl Default for FilterMethod

§

fn default() -> FilterMethod

Returns the “default value” for a type. Read more
§

impl Hash for FilterMethod

§

fn hash<__H>(&self, state: &mut __H)
where +

Trait Implementations§

source§

impl Clone for FilterMethod

source§

fn clone(&self) -> FilterMethod

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FilterMethod

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for FilterMethod

source§

fn default() -> FilterMethod

Returns the “default value” for a type. Read more
source§

impl Hash for FilterMethod

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for FilterMethod

§

fn eq(&self, other: &FilterMethod) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for FilterMethod

§

impl Eq for FilterMethod

§

impl StructuralPartialEq for FilterMethod

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for FilterMethod

source§

fn eq(&self, other: &FilterMethod) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for FilterMethod

source§

impl Eq for FilterMethod

source§

impl StructuralPartialEq for FilterMethod

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/image/enum.Handle.html b/iced/advanced/image/enum.Handle.html index f298e3e4fa..4c97aa794c 100644 --- a/iced/advanced/image/enum.Handle.html +++ b/iced/advanced/image/enum.Handle.html @@ -1,4 +1,4 @@ -Handle in iced::advanced::image - Rust
iced::advanced::image

Enum Handle

pub enum Handle {
+Handle in iced::advanced::image - Rust
iced::advanced::image

Enum Handle

source
pub enum Handle {
     Path(Id, PathBuf),
     Bytes(Id, Bytes),
     Rgba {
@@ -19,22 +19,22 @@
 
§width: u32

The width of the image.

§height: u32

The height of the image.

§pixels: Bytes

The pixels.

-

Implementations§

§

impl Handle

pub fn from_path<T>(path: T) -> Handle
where +

Implementations§

source§

impl Handle

source

pub fn from_path<T>(path: T) -> Handle
where T: Into<PathBuf>,

Creates an image Handle pointing to the image of the given path.

Makes an educated guess about the image format by examining the data in the file.

-

pub fn from_bytes(bytes: impl Into<Bytes>) -> Handle

Creates an image Handle containing the encoded image data directly.

+
source

pub fn from_bytes(bytes: impl Into<Bytes>) -> Handle

Creates an image Handle containing the encoded image data directly.

Makes an educated guess about the image format by examining the given data.

This is useful if you already have your image loaded in-memory, maybe because you downloaded or generated it procedurally.

-

pub fn from_rgba(width: u32, height: u32, pixels: impl Into<Bytes>) -> Handle

Creates an image Handle containing the decoded image pixels directly.

+
source

pub fn from_rgba(width: u32, height: u32, pixels: impl Into<Bytes>) -> Handle

Creates an image Handle containing the decoded image pixels directly.

This function expects the pixel data to be provided as a collection of Bytes of RGBA pixels. Therefore, the length of the pixel data should always be width * height * 4.

This is useful if you have already decoded your image.

-

pub fn id(&self) -> Id

Returns the unique identifier of the Handle.

-

Trait Implementations§

§

impl Clone for Handle

§

fn clone(&self) -> Handle

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Handle

§

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

Formats the value using the given formatter. Read more
§

impl From<&Handle> for Handle

§

fn from(value: &Handle) -> Handle

Converts to this type from the input type.
§

impl From<&Handle> for Image

§

fn from(handle: &Handle) -> Image

Converts to this type from the input type.
§

impl<T> From<T> for Handle
where - T: Into<PathBuf>,

§

fn from(path: T) -> Handle

Converts to this type from the input type.
§

impl PartialEq for Handle

§

fn eq(&self, other: &Handle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Eq for Handle

§

impl StructuralPartialEq for Handle

Auto Trait Implementations§

§

impl !Freeze for Handle

§

impl RefUnwindSafe for Handle

§

impl Send for Handle

§

impl Sync for Handle

§

impl Unpin for Handle

§

impl UnwindSafe for Handle

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

source

pub fn id(&self) -> Id

Returns the unique identifier of the Handle.

+

Trait Implementations§

source§

impl Clone for Handle

source§

fn clone(&self) -> Handle

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Handle

source§

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

Formats the value using the given formatter. Read more
source§

impl From<&Handle> for Handle

source§

fn from(value: &Handle) -> Handle

Converts to this type from the input type.
source§

impl From<&Handle> for Image

source§

fn from(handle: &Handle) -> Image

Converts to this type from the input type.
source§

impl<T> From<T> for Handle
where + T: Into<PathBuf>,

source§

fn from(path: T) -> Handle

Converts to this type from the input type.
source§

impl PartialEq for Handle

source§

fn eq(&self, other: &Handle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Eq for Handle

source§

impl StructuralPartialEq for Handle

Auto Trait Implementations§

§

impl !Freeze for Handle

§

impl RefUnwindSafe for Handle

§

impl Send for Handle

§

impl Sync for Handle

§

impl Unpin for Handle

§

impl UnwindSafe for Handle

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/image/index.html b/iced/advanced/image/index.html index e4ff034058..56b27e58fc 100644 --- a/iced/advanced/image/index.html +++ b/iced/advanced/image/index.html @@ -1,2 +1,2 @@ -iced::advanced::image - Rust
iced::advanced

Module image

Available on crate feature advanced only.
Expand description

Load and draw raster graphics.

+iced::advanced::image - Rust
iced::advanced

Module image

source
Available on crate feature advanced only.
Expand description

Load and draw raster graphics.

Structs§

  • A cheaply cloneable and sliceable chunk of contiguous memory.
  • The unique identifier of some Handle data.
  • A raster image that can be drawn.

Enums§

Traits§

\ No newline at end of file diff --git a/iced/advanced/image/struct.Id.html b/iced/advanced/image/struct.Id.html index 133d068a13..aebbfa95a7 100644 --- a/iced/advanced/image/struct.Id.html +++ b/iced/advanced/image/struct.Id.html @@ -1,15 +1,15 @@ -Id in iced::advanced::image - Rust
iced::advanced::image

Struct Id

pub struct Id(/* private fields */);
Available on crate feature advanced only.
Expand description

The unique identifier of some Handle data.

-

Trait Implementations§

§

impl Clone for Id

§

fn clone(&self) -> Id

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Id

§

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

Formats the value using the given formatter. Read more
§

impl Hash for Id

§

fn hash<__H>(&self, state: &mut __H)
where +Id in iced::advanced::image - Rust
iced::advanced::image

Struct Id

source
pub struct Id(/* private fields */);
Available on crate feature advanced only.
Expand description

The unique identifier of some Handle data.

+

Trait Implementations§

source§

impl Clone for Id

source§

fn clone(&self) -> Id

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Id

source§

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

Formats the value using the given formatter. Read more
source§

impl Hash for Id

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl Ord for Id

§

fn cmp(&self, other: &Id) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for Id

source§

fn cmp(&self, other: &Id) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Id

§

fn eq(&self, other: &Id) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl PartialOrd for Id

§

fn partial_cmp(&self, other: &Id) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the + Self: Sized,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for Id

source§

fn eq(&self, other: &Id) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl PartialOrd for Id

source§

fn partial_cmp(&self, other: &Id) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
§

impl Copy for Id

§

impl Eq for Id

§

impl StructuralPartialEq for Id

Auto Trait Implementations§

§

impl Freeze for Id

§

impl RefUnwindSafe for Id

§

impl Send for Id

§

impl Sync for Id

§

impl Unpin for Id

§

impl UnwindSafe for Id

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +the >= operator. Read more

source§

impl Copy for Id

source§

impl Eq for Id

source§

impl StructuralPartialEq for Id

Auto Trait Implementations§

§

impl Freeze for Id

§

impl RefUnwindSafe for Id

§

impl Send for Id

§

impl Sync for Id

§

impl Unpin for Id

§

impl UnwindSafe for Id

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/image/struct.Image.html b/iced/advanced/image/struct.Image.html index f07e2cbb2a..7822a6cd6e 100644 --- a/iced/advanced/image/struct.Image.html +++ b/iced/advanced/image/struct.Image.html @@ -1,4 +1,4 @@ -Image in iced::advanced::image - Rust
iced::advanced::image

Struct Image

pub struct Image<H = Handle> {
+Image in iced::advanced::image - Rust
iced::advanced::image

Struct Image

source
pub struct Image<H = Handle> {
     pub handle: H,
     pub filter_method: FilterMethod,
     pub rotation: Radians,
@@ -13,16 +13,16 @@
 
§snap: bool

If set to true, the image will be snapped to the pixel grid.

This can avoid graphical glitches, specially when using FilterMethod::Nearest.

-

Implementations§

§

impl Image

pub fn new(handle: impl Into<Handle>) -> Image

Creates a new Image with the given handle.

-

pub fn filter_method(self, filter_method: FilterMethod) -> Image

Sets the filter method of the Image.

-

pub fn rotation(self, rotation: impl Into<Radians>) -> Image

Sets the rotation of the Image.

-

pub fn opacity(self, opacity: impl Into<f32>) -> Image

Sets the opacity of the Image.

-

pub fn snap(self, snap: bool) -> Image

Sets whether the Image should be snapped to the pixel grid.

-

Trait Implementations§

§

impl<H> Clone for Image<H>
where - H: Clone,

§

fn clone(&self) -> Image<H>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<H> Debug for Image<H>
where - H: Debug,

§

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

Formats the value using the given formatter. Read more
§

impl From<&Handle> for Image

§

fn from(handle: &Handle) -> Image

Converts to this type from the input type.
§

impl<H> PartialEq for Image<H>
where - H: PartialEq,

§

fn eq(&self, other: &Image<H>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<H> StructuralPartialEq for Image<H>

Auto Trait Implementations§

§

impl<H> Freeze for Image<H>
where +

Implementations§

source§

impl Image

source

pub fn new(handle: impl Into<Handle>) -> Image

Creates a new Image with the given handle.

+
source

pub fn filter_method(self, filter_method: FilterMethod) -> Image

Sets the filter method of the Image.

+
source

pub fn rotation(self, rotation: impl Into<Radians>) -> Image

Sets the rotation of the Image.

+
source

pub fn opacity(self, opacity: impl Into<f32>) -> Image

Sets the opacity of the Image.

+
source

pub fn snap(self, snap: bool) -> Image

Sets whether the Image should be snapped to the pixel grid.

+

Trait Implementations§

source§

impl<H> Clone for Image<H>
where + H: Clone,

source§

fn clone(&self) -> Image<H>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<H> Debug for Image<H>
where + H: Debug,

source§

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

Formats the value using the given formatter. Read more
source§

impl From<&Handle> for Image

source§

fn from(handle: &Handle) -> Image

Converts to this type from the input type.
source§

impl<H> PartialEq for Image<H>
where + H: PartialEq,

source§

fn eq(&self, other: &Image<H>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<H> StructuralPartialEq for Image<H>

Auto Trait Implementations§

§

impl<H> Freeze for Image<H>
where H: Freeze,

§

impl<H> RefUnwindSafe for Image<H>
where H: RefUnwindSafe,

§

impl<H> Send for Image<H>
where H: Send,

§

impl<H> Sync for Image<H>
where diff --git a/iced/advanced/image/trait.Renderer.html b/iced/advanced/image/trait.Renderer.html index 80a2df7b93..67a5f434da 100644 --- a/iced/advanced/image/trait.Renderer.html +++ b/iced/advanced/image/trait.Renderer.html @@ -1,14 +1,14 @@ -Renderer in iced::advanced::image - Rust
iced::advanced::image

Trait Renderer

pub trait Renderer: Renderer {
+Renderer in iced::advanced::image - Rust
iced::advanced::image

Trait Renderer

source
pub trait Renderer: Renderer {
     type Handle: Clone;
 
     // Required methods
     fn measure_image(&self, handle: &Self::Handle) -> Size<u32>;
     fn draw_image(&mut self, image: Image<Self::Handle>, bounds: Rectangle);
 }
Available on crate feature advanced only.
Expand description

A Renderer that can render raster graphics.

-

Required Associated Types§

type Handle: Clone

The image Handle to be displayed. Iced exposes its own default implementation of a Handle

-

Required Methods§

fn measure_image(&self, handle: &Self::Handle) -> Size<u32>

Returns the dimensions of an image for the given Handle.

-

fn draw_image(&mut self, image: Image<Self::Handle>, bounds: Rectangle)

Draws an Image inside the provided bounds.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Renderer for ()

§

type Handle = Handle

§

fn measure_image(&self, _handle: &<() as Renderer>::Handle) -> Size<u32>

§

fn draw_image(&mut self, _image: Image, _bounds: Rectangle)

source§

impl Renderer for Renderer

Available on crate feature image only.
source§

type Handle = Handle

source§

fn measure_image(&self, handle: &<Renderer as Renderer>::Handle) -> Size<u32>

source§

fn draw_image(&mut self, image: Image, bounds: Rectangle)

source§

impl Renderer for Renderer

Available on crate feature image only.
source§

type Handle = Handle

source§

fn measure_image(&self, handle: &<Renderer as Renderer>::Handle) -> Size<u32>

source§

fn draw_image(&mut self, image: Image, bounds: Rectangle)

source§

impl<A, B> Renderer for Renderer<A, B>
where +

Required Associated Types§

source

type Handle: Clone

The image Handle to be displayed. Iced exposes its own default implementation of a Handle

+

Required Methods§

source

fn measure_image(&self, handle: &Self::Handle) -> Size<u32>

Returns the dimensions of an image for the given Handle.

+
source

fn draw_image(&mut self, image: Image<Self::Handle>, bounds: Rectangle)

Draws an Image inside the provided bounds.

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Renderer for ()

source§

type Handle = Handle

source§

fn measure_image(&self, _handle: &<() as Renderer>::Handle) -> Size<u32>

source§

fn draw_image(&mut self, _image: Image, _bounds: Rectangle)

source§

impl Renderer for Renderer

Available on crate feature image only.
source§

type Handle = Handle

source§

fn measure_image(&self, handle: &<Renderer as Renderer>::Handle) -> Size<u32>

source§

fn draw_image(&mut self, image: Image, bounds: Rectangle)

source§

impl Renderer for Renderer

Available on crate feature image only.
source§

type Handle = Handle

source§

fn measure_image(&self, handle: &<Renderer as Renderer>::Handle) -> Size<u32>

source§

fn draw_image(&mut self, image: Image, bounds: Rectangle)

source§

impl<A, B> Renderer for Renderer<A, B>
where A: Renderer, B: Renderer<Handle = <A as Renderer>::Handle>,

source§

type Handle = <A as Renderer>::Handle

source§

fn measure_image( &self, diff --git a/iced/advanced/layout/flex/enum.Axis.html b/iced/advanced/layout/flex/enum.Axis.html index fd416d7a18..94cbc0db93 100644 --- a/iced/advanced/layout/flex/enum.Axis.html +++ b/iced/advanced/layout/flex/enum.Axis.html @@ -1,10 +1,10 @@ -Axis in iced::advanced::layout::flex - Rust
iced::advanced::layout::flex

Enum Axis

pub enum Axis {
+Axis in iced::advanced::layout::flex - Rust
iced::advanced::layout::flex

Enum Axis

source
pub enum Axis {
     Horizontal,
     Vertical,
 }
Available on crate feature advanced only.
Expand description

The main axis of a flex layout.

Variants§

§

Horizontal

The horizontal axis

§

Vertical

The vertical axis

-

Trait Implementations§

§

impl Debug for Axis

§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Axis

§

impl RefUnwindSafe for Axis

§

impl Send for Axis

§

impl Sync for Axis

§

impl Unpin for Axis

§

impl UnwindSafe for Axis

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Trait Implementations§

source§

impl Debug for Axis

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Axis

§

impl RefUnwindSafe for Axis

§

impl Send for Axis

§

impl Sync for Axis

§

impl Unpin for Axis

§

impl UnwindSafe for Axis

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/layout/flex/fn.resolve.html b/iced/advanced/layout/flex/fn.resolve.html index 99a938b006..31899f0626 100644 --- a/iced/advanced/layout/flex/fn.resolve.html +++ b/iced/advanced/layout/flex/fn.resolve.html @@ -1,4 +1,4 @@ -resolve in iced::advanced::layout::flex - Rust
iced::advanced::layout::flex

Function resolve

pub fn resolve<Message, Theme, Renderer>(
+resolve in iced::advanced::layout::flex - Rust
iced::advanced::layout::flex

Function resolve

source
pub fn resolve<Message, Theme, Renderer>(
     axis: Axis,
     renderer: &Renderer,
     limits: &Limits,
@@ -7,7 +7,7 @@
     padding: Padding,
     spacing: f32,
     align_items: Alignment,
-    items: &[Element<'_, Message, Theme, Renderer>],
+    items: &[Element<'_, Message, Theme, Renderer>],
     trees: &mut [Tree],
 ) -> Node
where Renderer: Renderer,
Available on crate feature advanced only.
Expand description

Computes the flex layout with the given axis and limits, applying spacing, diff --git a/iced/advanced/layout/flex/index.html b/iced/advanced/layout/flex/index.html index ab94c9e4b3..e0b81f243b 100644 --- a/iced/advanced/layout/flex/index.html +++ b/iced/advanced/layout/flex/index.html @@ -1,3 +1,3 @@ -iced::advanced::layout::flex - Rust

iced::advanced::layout

Module flex

Available on crate feature advanced only.
Expand description

Distribute elements using a flex-based layout.

+iced::advanced::layout::flex - Rust
iced::advanced::layout

Module flex

source
Available on crate feature advanced only.
Expand description

Distribute elements using a flex-based layout.

Enums§

  • The main axis of a flex layout.

Functions§

  • Computes the flex layout with the given axis and limits, applying spacing, padding and alignment to the items as needed.
\ No newline at end of file diff --git a/iced/advanced/layout/fn.atomic.html b/iced/advanced/layout/fn.atomic.html index 8c102dba08..50b1a6db1a 100644 --- a/iced/advanced/layout/fn.atomic.html +++ b/iced/advanced/layout/fn.atomic.html @@ -1,4 +1,4 @@ -atomic in iced::advanced::layout - Rust
iced::advanced::layout

Function atomic

pub fn atomic(
+atomic in iced::advanced::layout - Rust
iced::advanced::layout

Function atomic

source
pub fn atomic(
     limits: &Limits,
     width: impl Into<Length>,
     height: impl Into<Length>,
diff --git a/iced/advanced/layout/fn.contained.html b/iced/advanced/layout/fn.contained.html
index 1e55489edd..3f60c13c12 100644
--- a/iced/advanced/layout/fn.contained.html
+++ b/iced/advanced/layout/fn.contained.html
@@ -1,4 +1,4 @@
-contained in iced::advanced::layout - Rust
iced::advanced::layout

Function contained

pub fn contained(
+contained in iced::advanced::layout - Rust
iced::advanced::layout

Function contained

source
pub fn contained(
     limits: &Limits,
     width: impl Into<Length>,
     height: impl Into<Length>,
diff --git a/iced/advanced/layout/fn.next_to_each_other.html b/iced/advanced/layout/fn.next_to_each_other.html
index 614fa89f7d..5e77543a5b 100644
--- a/iced/advanced/layout/fn.next_to_each_other.html
+++ b/iced/advanced/layout/fn.next_to_each_other.html
@@ -1,4 +1,4 @@
-next_to_each_other in iced::advanced::layout - Rust
iced::advanced::layout

Function next_to_each_other

pub fn next_to_each_other(
+next_to_each_other in iced::advanced::layout - Rust
iced::advanced::layout

Function next_to_each_other

source
pub fn next_to_each_other(
     limits: &Limits,
     spacing: f32,
     left: impl FnOnce(&Limits) -> Node,
diff --git a/iced/advanced/layout/fn.padded.html b/iced/advanced/layout/fn.padded.html
index 56839a60ff..20ff59ffa8 100644
--- a/iced/advanced/layout/fn.padded.html
+++ b/iced/advanced/layout/fn.padded.html
@@ -1,4 +1,4 @@
-padded in iced::advanced::layout - Rust
iced::advanced::layout

Function padded

pub fn padded(
+padded in iced::advanced::layout - Rust
iced::advanced::layout

Function padded

source
pub fn padded(
     limits: &Limits,
     width: impl Into<Length>,
     height: impl Into<Length>,
diff --git a/iced/advanced/layout/fn.positioned.html b/iced/advanced/layout/fn.positioned.html
index 17fcd3ecf7..03b5e49d01 100644
--- a/iced/advanced/layout/fn.positioned.html
+++ b/iced/advanced/layout/fn.positioned.html
@@ -1,4 +1,4 @@
-positioned in iced::advanced::layout - Rust
iced::advanced::layout

Function positioned

pub fn positioned(
+positioned in iced::advanced::layout - Rust
iced::advanced::layout

Function positioned

source
pub fn positioned(
     limits: &Limits,
     width: impl Into<Length>,
     height: impl Into<Length>,
diff --git a/iced/advanced/layout/fn.sized.html b/iced/advanced/layout/fn.sized.html
index 877c329177..07716d4148 100644
--- a/iced/advanced/layout/fn.sized.html
+++ b/iced/advanced/layout/fn.sized.html
@@ -1,4 +1,4 @@
-sized in iced::advanced::layout - Rust
iced::advanced::layout

Function sized

pub fn sized(
+sized in iced::advanced::layout - Rust
iced::advanced::layout

Function sized

source
pub fn sized(
     limits: &Limits,
     width: impl Into<Length>,
     height: impl Into<Length>,
diff --git a/iced/advanced/layout/index.html b/iced/advanced/layout/index.html
index ce4f602672..183c582581 100644
--- a/iced/advanced/layout/index.html
+++ b/iced/advanced/layout/index.html
@@ -1,4 +1,4 @@
-iced::advanced::layout - Rust
iced::advanced

Module layout

Available on crate feature advanced only.
Expand description

Position your widgets properly.

+iced::advanced::layout - Rust
iced::advanced

Module layout

source
Available on crate feature advanced only.
Expand description

Position your widgets properly.

Modules§

  • Distribute elements using a flex-based layout.

Structs§

  • The bounds of a Node and its children, using absolute coordinates.
  • A set of size constraints for layouting.
  • The bounds of an element and its children.

Functions§

By default, it does nothing.

-

fn mouse_interaction( +

source

fn mouse_interaction( &self, _layout: Layout<'_>, _cursor: Cursor, @@ -91,7 +91,7 @@ _renderer: &Renderer, ) -> Interaction

Returns the current mouse::Interaction of the Overlay.

By default, it returns mouse::Interaction::Idle.

-

fn is_over( +

source

fn is_over( &self, layout: Layout<'_>, _renderer: &Renderer, @@ -99,10 +99,10 @@ ) -> bool

Returns true if the cursor is over the Overlay.

By default, it returns true if the bounds of the layout contain the cursor_position.

-

fn overlay<'a>( +

source

fn overlay<'a>( &'a mut self, _layout: Layout<'_>, _renderer: &Renderer, ) -> Option<Element<'a, Message, Theme, Renderer>>

Returns the nested overlay of the Overlay, if there is any.

-

Implementors§

§

impl<'a, Message, Theme, Renderer> Overlay<Message, Theme, Renderer> for Group<'a, Message, Theme, Renderer>
where +

Implementors§

source§

impl<'a, Message, Theme, Renderer> Overlay<Message, Theme, Renderer> for Group<'a, Message, Theme, Renderer>
where Renderer: Renderer,

\ No newline at end of file diff --git a/iced/advanced/renderer/index.html b/iced/advanced/renderer/index.html index 22db4c7c11..6625aee083 100644 --- a/iced/advanced/renderer/index.html +++ b/iced/advanced/renderer/index.html @@ -1,2 +1,2 @@ -iced::advanced::renderer - Rust
iced::advanced

Module renderer

Available on crate feature advanced only.
Expand description

Write your own renderer.

+iced::advanced::renderer - Rust
iced::advanced

Module renderer

source
Available on crate feature advanced only.
Expand description

Write your own renderer.

Structs§

Traits§

  • A component that can be used by widgets to draw themselves on a screen.
\ No newline at end of file diff --git a/iced/advanced/renderer/struct.Quad.html b/iced/advanced/renderer/struct.Quad.html index d1b568bd6c..970016ee9c 100644 --- a/iced/advanced/renderer/struct.Quad.html +++ b/iced/advanced/renderer/struct.Quad.html @@ -1,4 +1,4 @@ -Quad in iced::advanced::renderer - Rust
iced::advanced::renderer

Struct Quad

pub struct Quad {
+Quad in iced::advanced::renderer - Rust
iced::advanced::renderer

Struct Quad

source
pub struct Quad {
     pub bounds: Rectangle,
     pub border: Border,
     pub shadow: Shadow,
@@ -6,8 +6,8 @@
 

Fields§

§bounds: Rectangle

The bounds of the Quad.

§border: Border

The Border of the Quad. The border is drawn on the inside of the Quad.

§shadow: Shadow

The Shadow of the Quad.

-

Trait Implementations§

§

impl Clone for Quad

§

fn clone(&self) -> Quad

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Quad

§

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

Formats the value using the given formatter. Read more
§

impl Default for Quad

§

fn default() -> Quad

Returns the “default value” for a type. Read more
§

impl PartialEq for Quad

§

fn eq(&self, other: &Quad) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Quad

§

impl StructuralPartialEq for Quad

Auto Trait Implementations§

§

impl Freeze for Quad

§

impl RefUnwindSafe for Quad

§

impl Send for Quad

§

impl Sync for Quad

§

impl Unpin for Quad

§

impl UnwindSafe for Quad

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Trait Implementations§

source§

impl Clone for Quad

source§

fn clone(&self) -> Quad

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Quad

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for Quad

source§

fn default() -> Quad

Returns the “default value” for a type. Read more
source§

impl PartialEq for Quad

source§

fn eq(&self, other: &Quad) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Quad

source§

impl StructuralPartialEq for Quad

Auto Trait Implementations§

§

impl Freeze for Quad

§

impl RefUnwindSafe for Quad

§

impl Send for Quad

§

impl Sync for Quad

§

impl Unpin for Quad

§

impl UnwindSafe for Quad

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/renderer/struct.Style.html b/iced/advanced/renderer/struct.Style.html index 5804f84e1f..447a84775e 100644 --- a/iced/advanced/renderer/struct.Style.html +++ b/iced/advanced/renderer/struct.Style.html @@ -1,9 +1,9 @@ -Style in iced::advanced::renderer - Rust
iced::advanced::renderer

Struct Style

pub struct Style {
+Style in iced::advanced::renderer - Rust
iced::advanced::renderer

Struct Style

source
pub struct Style {
     pub text_color: Color,
 }
Available on crate feature advanced only.
Expand description

The styling attributes of a Renderer.

Fields§

§text_color: Color

The text color

-

Trait Implementations§

§

impl Clone for Style

§

fn clone(&self) -> Style

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Style

§

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

Formats the value using the given formatter. Read more
§

impl Default for Style

§

fn default() -> Style

Returns the “default value” for a type. Read more
§

impl PartialEq for Style

§

fn eq(&self, other: &Style) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Style

§

impl StructuralPartialEq for Style

Auto Trait Implementations§

§

impl Freeze for Style

§

impl RefUnwindSafe for Style

§

impl Send for Style

§

impl Sync for Style

§

impl Unpin for Style

§

impl UnwindSafe for Style

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Trait Implementations§

source§

impl Clone for Style

source§

fn clone(&self) -> Style

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Style

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for Style

source§

fn default() -> Style

Returns the “default value” for a type. Read more
source§

impl PartialEq for Style

source§

fn eq(&self, other: &Style) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Style

source§

impl StructuralPartialEq for Style

Auto Trait Implementations§

§

impl Freeze for Style

§

impl RefUnwindSafe for Style

§

impl Send for Style

§

impl Sync for Style

§

impl Unpin for Style

§

impl UnwindSafe for Style

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/renderer/trait.Renderer.html b/iced/advanced/renderer/trait.Renderer.html index 04544a6817..1ae0cd3482 100644 --- a/iced/advanced/renderer/trait.Renderer.html +++ b/iced/advanced/renderer/trait.Renderer.html @@ -1,4 +1,4 @@ -Renderer in iced::advanced::renderer - Rust
iced::advanced::renderer

Trait Renderer

pub trait Renderer {
+Renderer in iced::advanced::renderer - Rust
iced::advanced::renderer

Trait Renderer

source
pub trait Renderer {
     // Required methods
     fn start_layer(&mut self, bounds: Rectangle);
     fn end_layer(&mut self);
@@ -20,22 +20,22 @@
         f: impl FnOnce(&mut Self),
     ) { ... }
 }
Available on crate feature advanced only.
Expand description

A component that can be used by widgets to draw themselves on a screen.

-

Required Methods§

fn start_layer(&mut self, bounds: Rectangle)

Starts recording a new layer.

-

fn end_layer(&mut self)

Ends recording a new layer.

+

Required Methods§

source

fn start_layer(&mut self, bounds: Rectangle)

Starts recording a new layer.

+
source

fn end_layer(&mut self)

Ends recording a new layer.

The new layer will clip its contents to the provided bounds.

-

fn start_transformation(&mut self, transformation: Transformation)

Starts recording with a new Transformation.

-

fn end_transformation(&mut self)

Ends recording a new layer.

+
source

fn start_transformation(&mut self, transformation: Transformation)

Starts recording with a new Transformation.

+
source

fn end_transformation(&mut self)

Ends recording a new layer.

The new layer will clip its contents to the provided bounds.

-

fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

Fills a Quad with the provided Background.

-

fn clear(&mut self)

Clears all of the recorded primitives in the Renderer.

-

Provided Methods§

fn with_layer(&mut self, bounds: Rectangle, f: impl FnOnce(&mut Self))

Draws the primitives recorded in the given closure in a new layer.

+
source

fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

Fills a Quad with the provided Background.

+
source

fn clear(&mut self)

Clears all of the recorded primitives in the Renderer.

+

Provided Methods§

source

fn with_layer(&mut self, bounds: Rectangle, f: impl FnOnce(&mut Self))

Draws the primitives recorded in the given closure in a new layer.

The layer will clip its contents to the provided bounds.

-

fn with_transformation( +

source

fn with_transformation( &mut self, transformation: Transformation, f: impl FnOnce(&mut Self), )

Applies a Transformation to the primitives recorded in the given closure.

-

fn with_translation(&mut self, translation: Vector, f: impl FnOnce(&mut Self))

Applies a translation to the primitives recorded in the given closure.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Renderer for ()

§

fn start_layer(&mut self, _bounds: Rectangle)

§

fn end_layer(&mut self)

§

fn start_transformation(&mut self, _transformation: Transformation)

§

fn end_transformation(&mut self)

§

fn clear(&mut self)

§

fn fill_quad(&mut self, _quad: Quad, _background: impl Into<Background>)

source§

impl Renderer for Renderer

source§

fn start_layer(&mut self, bounds: Rectangle)

source§

fn end_layer(&mut self)

source§

fn start_transformation(&mut self, transformation: Transformation)

source§

fn end_transformation(&mut self)

source§

fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

source§

fn clear(&mut self)

source§

impl Renderer for Renderer

source§

fn start_layer(&mut self, bounds: Rectangle)

source§

fn end_layer(&mut self)

source§

fn start_transformation(&mut self, transformation: Transformation)

source§

fn end_transformation(&mut self)

source§

fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

source§

fn clear(&mut self)

source§

impl<A, B> Renderer for Renderer<A, B>
where +

source

fn with_translation(&mut self, translation: Vector, f: impl FnOnce(&mut Self))

Applies a translation to the primitives recorded in the given closure.

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Renderer for ()

source§

fn start_layer(&mut self, _bounds: Rectangle)

source§

fn end_layer(&mut self)

source§

fn start_transformation(&mut self, _transformation: Transformation)

source§

fn end_transformation(&mut self)

source§

fn clear(&mut self)

source§

fn fill_quad(&mut self, _quad: Quad, _background: impl Into<Background>)

source§

impl Renderer for Renderer

source§

fn start_layer(&mut self, bounds: Rectangle)

source§

fn end_layer(&mut self)

source§

fn start_transformation(&mut self, transformation: Transformation)

source§

fn end_transformation(&mut self)

source§

fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

source§

fn clear(&mut self)

source§

impl Renderer for Renderer

source§

fn start_layer(&mut self, bounds: Rectangle)

source§

fn end_layer(&mut self)

source§

fn start_transformation(&mut self, transformation: Transformation)

source§

fn end_transformation(&mut self)

source§

fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

source§

fn clear(&mut self)

source§

impl<A, B> Renderer for Renderer<A, B>
where A: Renderer, B: Renderer,

source§

fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

source§

fn clear(&mut self)

source§

fn start_layer(&mut self, bounds: Rectangle)

source§

fn end_layer(&mut self)

source§

fn start_transformation(&mut self, transformation: Transformation)

source§

fn end_transformation(&mut self)

Implementors§

\ No newline at end of file diff --git a/iced/advanced/struct.Layout.html b/iced/advanced/struct.Layout.html index 8e17303e65..872272a8ca 100644 --- a/iced/advanced/struct.Layout.html +++ b/iced/advanced/struct.Layout.html @@ -1,13 +1,13 @@ -Layout in iced::advanced - Rust
iced::advanced

Struct Layout

pub struct Layout<'a> { /* private fields */ }
Available on crate feature advanced only.
Expand description

The bounds of a Node and its children, using absolute coordinates.

-

Implementations§

§

impl<'a> Layout<'a>

pub fn new(node: &'a Node) -> Layout<'a>

Creates a new Layout for the given Node at the origin.

-

pub fn with_offset(offset: Vector, node: &'a Node) -> Layout<'a>

Creates a new Layout for the given Node with the provided offset +Layout in iced::advanced - Rust

iced::advanced

Struct Layout

source
pub struct Layout<'a> { /* private fields */ }
Available on crate feature advanced only.
Expand description

The bounds of a Node and its children, using absolute coordinates.

+

Implementations§

source§

impl<'a> Layout<'a>

source

pub fn new(node: &'a Node) -> Layout<'a>

Creates a new Layout for the given Node at the origin.

+
source

pub fn with_offset(offset: Vector, node: &'a Node) -> Layout<'a>

Creates a new Layout for the given Node with the provided offset from the origin.

-

pub fn position(&self) -> Point

Returns the position of the Layout.

-

pub fn bounds(&self) -> Rectangle

Returns the bounds of the Layout.

+
source

pub fn position(&self) -> Point

Returns the position of the Layout.

+
source

pub fn bounds(&self) -> Rectangle

Returns the bounds of the Layout.

The returned Rectangle describes the position and size of a Node.

-

pub fn children(self) -> impl DoubleEndedIterator

Returns an iterator over the Layout of the children of a Node.

-

Trait Implementations§

§

impl<'a> Clone for Layout<'a>

§

fn clone(&self) -> Layout<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a> Debug for Layout<'a>

§

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

Formats the value using the given formatter. Read more
§

impl<'a> Copy for Layout<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Layout<'a>

§

impl<'a> RefUnwindSafe for Layout<'a>

§

impl<'a> Send for Layout<'a>

§

impl<'a> Sync for Layout<'a>

§

impl<'a> Unpin for Layout<'a>

§

impl<'a> UnwindSafe for Layout<'a>

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

source

pub fn children(self) -> impl DoubleEndedIterator

Returns an iterator over the Layout of the children of a Node.

+

Trait Implementations§

source§

impl<'a> Clone for Layout<'a>

source§

fn clone(&self) -> Layout<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for Layout<'a>

source§

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

Formats the value using the given formatter. Read more
source§

impl<'a> Copy for Layout<'a>

Auto Trait Implementations§

§

impl<'a> Freeze for Layout<'a>

§

impl<'a> RefUnwindSafe for Layout<'a>

§

impl<'a> Send for Layout<'a>

§

impl<'a> Sync for Layout<'a>

§

impl<'a> Unpin for Layout<'a>

§

impl<'a> UnwindSafe for Layout<'a>

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/struct.Shell.html b/iced/advanced/struct.Shell.html index 166cfc506e..77e324c87c 100644 --- a/iced/advanced/struct.Shell.html +++ b/iced/advanced/struct.Shell.html @@ -1,25 +1,25 @@ -Shell in iced::advanced - Rust
iced::advanced

Struct Shell

pub struct Shell<'a, Message> { /* private fields */ }
Available on crate feature advanced only.
Expand description

A connection to the state of a shell.

+Shell in iced::advanced - Rust
iced::advanced

Struct Shell

source
pub struct Shell<'a, Message> { /* private fields */ }
Available on crate feature advanced only.
Expand description

A connection to the state of a shell.

A Widget can leverage a Shell to trigger changes in an application, like publishing messages or invalidating the current layout.

-

Implementations§

§

impl<'a, Message> Shell<'a, Message>

pub fn new(messages: &'a mut Vec<Message>) -> Shell<'a, Message>

Creates a new Shell with the provided buffer of messages.

-

pub fn is_empty(&self) -> bool

Returns true if the Shell contains no published messages

-

pub fn publish(&mut self, message: Message)

Publish the given Message for an application to process it.

-

pub fn request_redraw(&mut self, request: RedrawRequest)

Requests a new frame to be drawn.

-

pub fn redraw_request(&self) -> Option<RedrawRequest>

Returns the request a redraw should happen, if any.

-

pub fn is_layout_invalid(&self) -> bool

Returns whether the current layout is invalid or not.

-

pub fn invalidate_layout(&mut self)

Invalidates the current application layout.

+

Implementations§

source§

impl<'a, Message> Shell<'a, Message>

source

pub fn new(messages: &'a mut Vec<Message>) -> Shell<'a, Message>

Creates a new Shell with the provided buffer of messages.

+
source

pub fn is_empty(&self) -> bool

Returns true if the Shell contains no published messages

+
source

pub fn publish(&mut self, message: Message)

Publish the given Message for an application to process it.

+
source

pub fn request_redraw(&mut self, request: RedrawRequest)

Requests a new frame to be drawn.

+
source

pub fn redraw_request(&self) -> Option<RedrawRequest>

Returns the request a redraw should happen, if any.

+
source

pub fn is_layout_invalid(&self) -> bool

Returns whether the current layout is invalid or not.

+
source

pub fn invalidate_layout(&mut self)

Invalidates the current application layout.

The shell will relayout the application widgets.

-

pub fn revalidate_layout(&mut self, f: impl FnOnce())

Triggers the given function if the layout is invalid, cleaning it in the +

source

pub fn revalidate_layout(&mut self, f: impl FnOnce())

Triggers the given function if the layout is invalid, cleaning it in the process.

-

pub fn are_widgets_invalid(&self) -> bool

Returns whether the widgets of the current application have been +

source

pub fn are_widgets_invalid(&self) -> bool

Returns whether the widgets of the current application have been invalidated.

-

pub fn invalidate_widgets(&mut self)

Invalidates the current application widgets.

+
source

pub fn invalidate_widgets(&mut self)

Invalidates the current application widgets.

The shell will rebuild and relayout the widget tree.

-

pub fn merge<B>(&mut self, other: Shell<'_, B>, f: impl Fn(B) -> Message)

Merges the current Shell with another one by applying the given +

source

pub fn merge<B>(&mut self, other: Shell<'_, B>, f: impl Fn(B) -> Message)

Merges the current Shell with another one by applying the given function to the messages of the latter.

This method is useful for composition.

-

Trait Implementations§

§

impl<'a, Message> Debug for Shell<'a, Message>
where - Message: Debug,

§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a, Message> Freeze for Shell<'a, Message>

§

impl<'a, Message> RefUnwindSafe for Shell<'a, Message>
where +

Trait Implementations§

source§

impl<'a, Message> Debug for Shell<'a, Message>
where + Message: Debug,

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a, Message> Freeze for Shell<'a, Message>

§

impl<'a, Message> RefUnwindSafe for Shell<'a, Message>
where Message: RefUnwindSafe,

§

impl<'a, Message> Send for Shell<'a, Message>
where Message: Send,

§

impl<'a, Message> Sync for Shell<'a, Message>
where Message: Sync,

§

impl<'a, Message> Unpin for Shell<'a, Message>

§

impl<'a, Message> !UnwindSafe for Shell<'a, Message>

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where diff --git a/iced/advanced/struct.Text.html b/iced/advanced/struct.Text.html index 935fea472b..1c4680f118 100644 --- a/iced/advanced/struct.Text.html +++ b/iced/advanced/struct.Text.html @@ -1,4 +1,4 @@ -Text in iced::advanced - Rust
iced::advanced

Struct Text

pub struct Text<Content = String, Font = Font> {
+Text in iced::advanced - Rust
iced::advanced

Struct Text

source
pub struct Text<Content = String, Font = Font> {
     pub content: Content,
     pub bounds: Size,
     pub size: Pixels,
@@ -18,11 +18,11 @@
 
§vertical_alignment: Vertical

The vertical alignment of the Text.

§shaping: Shaping

The Shaping strategy of the Text.

§wrapping: Wrapping

The Wrapping strategy of the Text.

-

Trait Implementations§

§

impl<Content, Font> Clone for Text<Content, Font>
where +

Trait Implementations§

source§

impl<Content, Font> Clone for Text<Content, Font>
where Content: Clone, - Font: Clone,

§

fn clone(&self) -> Text<Content, Font>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<Content, Font> Debug for Text<Content, Font>
where + Font: Clone,

source§

fn clone(&self) -> Text<Content, Font>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Content, Font> Debug for Text<Content, Font>
where Content: Debug, - Font: Debug,

§

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

Formats the value using the given formatter. Read more
§

impl<Content, Font> Copy for Text<Content, Font>
where + Font: Debug,

source§

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

Formats the value using the given formatter. Read more
source§

impl<Content, Font> Copy for Text<Content, Font>
where Content: Copy, Font: Copy,

Auto Trait Implementations§

§

impl<Content, Font> Freeze for Text<Content, Font>
where Content: Freeze, diff --git a/iced/advanced/svg/enum.Data.html b/iced/advanced/svg/enum.Data.html index 9eaac432e6..e6e930f698 100644 --- a/iced/advanced/svg/enum.Data.html +++ b/iced/advanced/svg/enum.Data.html @@ -1,15 +1,15 @@ -Data in iced::advanced::svg - Rust
iced::advanced::svg

Enum Data

pub enum Data {
+Data in iced::advanced::svg - Rust
iced::advanced::svg

Enum Data

source
pub enum Data {
     Path(PathBuf),
     Bytes(Cow<'static, [u8]>),
 }
Available on crate feature advanced only.
Expand description

The data of a vectorial image.

Variants§

§

Path(PathBuf)

File data

§

Bytes(Cow<'static, [u8]>)

In-memory data

Can contain an SVG string or a gzip compressed data.

-

Trait Implementations§

§

impl Clone for Data

§

fn clone(&self) -> Data

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Data

§

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

Formats the value using the given formatter. Read more
§

impl Hash for Data

§

fn hash<__H>(&self, state: &mut __H)
where +

Trait Implementations§

source§

impl Clone for Data

source§

fn clone(&self) -> Data

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Data

source§

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

Formats the value using the given formatter. Read more
source§

impl Hash for Data

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for Data

§

fn eq(&self, other: &Data) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Eq for Data

§

impl StructuralPartialEq for Data

Auto Trait Implementations§

§

impl Freeze for Data

§

impl RefUnwindSafe for Data

§

impl Send for Data

§

impl Sync for Data

§

impl Unpin for Data

§

impl UnwindSafe for Data

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Data

source§

fn eq(&self, other: &Data) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Eq for Data

source§

impl StructuralPartialEq for Data

Auto Trait Implementations§

§

impl Freeze for Data

§

impl RefUnwindSafe for Data

§

impl Send for Data

§

impl Sync for Data

§

impl Unpin for Data

§

impl UnwindSafe for Data

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/svg/index.html b/iced/advanced/svg/index.html index d5e9e572ac..9613b800aa 100644 --- a/iced/advanced/svg/index.html +++ b/iced/advanced/svg/index.html @@ -1,2 +1,2 @@ -iced::advanced::svg - Rust
iced::advanced

Module svg

Available on crate feature advanced only.
Expand description

Load and draw vector graphics.

+iced::advanced::svg - Rust
iced::advanced

Module svg

source
Available on crate feature advanced only.
Expand description

Load and draw vector graphics.

Structs§

  • A handle of Svg data.
  • A raster image that can be drawn.

Enums§

  • The data of a vectorial image.

Traits§

\ No newline at end of file diff --git a/iced/advanced/svg/struct.Handle.html b/iced/advanced/svg/struct.Handle.html index 421b354b39..f59027519b 100644 --- a/iced/advanced/svg/struct.Handle.html +++ b/iced/advanced/svg/struct.Handle.html @@ -1,18 +1,18 @@ -Handle in iced::advanced::svg - Rust
iced::advanced::svg

Struct Handle

pub struct Handle { /* private fields */ }
Available on crate feature advanced only.
Expand description

A handle of Svg data.

-

Implementations§

§

impl Handle

pub fn from_path(path: impl Into<PathBuf>) -> Handle

Creates an SVG Handle pointing to the vector image of the given +Handle in iced::advanced::svg - Rust

iced::advanced::svg

Struct Handle

source
pub struct Handle { /* private fields */ }
Available on crate feature advanced only.
Expand description

A handle of Svg data.

+

Implementations§

source§

impl Handle

source

pub fn from_path(path: impl Into<PathBuf>) -> Handle

Creates an SVG Handle pointing to the vector image of the given path.

-

pub fn from_memory(bytes: impl Into<Cow<'static, [u8]>>) -> Handle

Creates an SVG Handle from raw bytes containing either an SVG string +

source

pub fn from_memory(bytes: impl Into<Cow<'static, [u8]>>) -> Handle

Creates an SVG Handle from raw bytes containing either an SVG string or gzip compressed data.

This is useful if you already have your SVG data in-memory, maybe because you downloaded or generated it procedurally.

-

pub fn id(&self) -> u64

Returns the unique identifier of the Handle.

-

pub fn data(&self) -> &Data

Returns a reference to the SVG Data.

-

Trait Implementations§

§

impl Clone for Handle

§

fn clone(&self) -> Handle

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Handle

§

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

Formats the value using the given formatter. Read more
§

impl From<&Handle> for Svg

§

fn from(handle: &Handle) -> Svg

Converts to this type from the input type.
§

impl<T> From<T> for Handle
where - T: Into<PathBuf>,

§

fn from(path: T) -> Handle

Converts to this type from the input type.
§

impl Hash for Handle

§

fn hash<H>(&self, state: &mut H)
where +

source

pub fn id(&self) -> u64

Returns the unique identifier of the Handle.

+
source

pub fn data(&self) -> &Data

Returns a reference to the SVG Data.

+

Trait Implementations§

source§

impl Clone for Handle

source§

fn clone(&self) -> Handle

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Handle

source§

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

Formats the value using the given formatter. Read more
source§

impl From<&Handle> for Svg

source§

fn from(handle: &Handle) -> Svg

Converts to this type from the input type.
source§

impl<T> From<T> for Handle
where + T: Into<PathBuf>,

source§

fn from(path: T) -> Handle

Converts to this type from the input type.
source§

impl Hash for Handle

source§

fn hash<H>(&self, state: &mut H)
where H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for Handle

§

fn eq(&self, other: &Handle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Eq for Handle

§

impl StructuralPartialEq for Handle

Auto Trait Implementations§

§

impl Freeze for Handle

§

impl RefUnwindSafe for Handle

§

impl Send for Handle

§

impl Sync for Handle

§

impl Unpin for Handle

§

impl UnwindSafe for Handle

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Handle

source§

fn eq(&self, other: &Handle) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Eq for Handle

source§

impl StructuralPartialEq for Handle

Auto Trait Implementations§

§

impl Freeze for Handle

§

impl RefUnwindSafe for Handle

§

impl Send for Handle

§

impl Sync for Handle

§

impl Unpin for Handle

§

impl UnwindSafe for Handle

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/svg/struct.Svg.html b/iced/advanced/svg/struct.Svg.html index dcfaef750b..1774f2adab 100644 --- a/iced/advanced/svg/struct.Svg.html +++ b/iced/advanced/svg/struct.Svg.html @@ -1,4 +1,4 @@ -Svg in iced::advanced::svg - Rust
iced::advanced::svg

Struct Svg

pub struct Svg<H = Handle> {
+Svg in iced::advanced::svg - Rust
iced::advanced::svg

Struct Svg

source
pub struct Svg<H = Handle> {
     pub handle: H,
     pub color: Option<Color>,
     pub rotation: Radians,
@@ -13,15 +13,15 @@
 
§rotation: Radians

The rotation to be applied to the image; on its center.

§opacity: f32

The opacity of the Svg.

0 means transparent. 1 means opaque.

-

Implementations§

§

impl Svg

pub fn new(handle: impl Into<Handle>) -> Svg

Creates a new Svg with the given handle.

-

pub fn color(self, color: impl Into<Color>) -> Svg

Sets the Color filter of the Svg.

-

pub fn rotation(self, rotation: impl Into<Radians>) -> Svg

Sets the rotation of the Svg.

-

pub fn opacity(self, opacity: impl Into<f32>) -> Svg

Sets the opacity of the Svg.

-

Trait Implementations§

§

impl<H> Clone for Svg<H>
where - H: Clone,

§

fn clone(&self) -> Svg<H>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<H> Debug for Svg<H>
where - H: Debug,

§

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

Formats the value using the given formatter. Read more
§

impl From<&Handle> for Svg

§

fn from(handle: &Handle) -> Svg

Converts to this type from the input type.
§

impl<H> PartialEq for Svg<H>
where - H: PartialEq,

§

fn eq(&self, other: &Svg<H>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<H> StructuralPartialEq for Svg<H>

Auto Trait Implementations§

§

impl<H> Freeze for Svg<H>
where +

Implementations§

source§

impl Svg

source

pub fn new(handle: impl Into<Handle>) -> Svg

Creates a new Svg with the given handle.

+
source

pub fn color(self, color: impl Into<Color>) -> Svg

Sets the Color filter of the Svg.

+
source

pub fn rotation(self, rotation: impl Into<Radians>) -> Svg

Sets the rotation of the Svg.

+
source

pub fn opacity(self, opacity: impl Into<f32>) -> Svg

Sets the opacity of the Svg.

+

Trait Implementations§

source§

impl<H> Clone for Svg<H>
where + H: Clone,

source§

fn clone(&self) -> Svg<H>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<H> Debug for Svg<H>
where + H: Debug,

source§

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

Formats the value using the given formatter. Read more
source§

impl From<&Handle> for Svg

source§

fn from(handle: &Handle) -> Svg

Converts to this type from the input type.
source§

impl<H> PartialEq for Svg<H>
where + H: PartialEq,

source§

fn eq(&self, other: &Svg<H>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<H> StructuralPartialEq for Svg<H>

Auto Trait Implementations§

§

impl<H> Freeze for Svg<H>
where H: Freeze,

§

impl<H> RefUnwindSafe for Svg<H>
where H: RefUnwindSafe,

§

impl<H> Send for Svg<H>
where H: Send,

§

impl<H> Sync for Svg<H>
where diff --git a/iced/advanced/svg/trait.Renderer.html b/iced/advanced/svg/trait.Renderer.html index 97676bac52..f19a6a898c 100644 --- a/iced/advanced/svg/trait.Renderer.html +++ b/iced/advanced/svg/trait.Renderer.html @@ -1,10 +1,10 @@ -Renderer in iced::advanced::svg - Rust
iced::advanced::svg

Trait Renderer

pub trait Renderer: Renderer {
+Renderer in iced::advanced::svg - Rust
iced::advanced::svg

Trait Renderer

source
pub trait Renderer: Renderer {
     // Required methods
     fn measure_svg(&self, handle: &Handle) -> Size<u32>;
     fn draw_svg(&mut self, svg: Svg, bounds: Rectangle);
 }
Available on crate feature advanced only.
Expand description

A Renderer that can render vector graphics.

-

Required Methods§

fn measure_svg(&self, handle: &Handle) -> Size<u32>

Returns the default dimensions of an SVG for the given Handle.

-

fn draw_svg(&mut self, svg: Svg, bounds: Rectangle)

Draws an SVG with the given Handle, an optional Color filter, and inside the provided bounds.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Renderer for ()

§

fn measure_svg(&self, _handle: &Handle) -> Size<u32>

§

fn draw_svg(&mut self, _svg: Svg, _bounds: Rectangle)

source§

impl Renderer for Renderer

Available on crate feature svg only.
source§

fn measure_svg(&self, handle: &Handle) -> Size<u32>

source§

fn draw_svg(&mut self, svg: Svg, bounds: Rectangle)

source§

impl Renderer for Renderer

Available on crate feature svg only.
source§

fn measure_svg(&self, handle: &Handle) -> Size<u32>

source§

fn draw_svg(&mut self, svg: Svg, bounds: Rectangle)

source§

impl<A, B> Renderer for Renderer<A, B>
where +

Required Methods§

source

fn measure_svg(&self, handle: &Handle) -> Size<u32>

Returns the default dimensions of an SVG for the given Handle.

+
source

fn draw_svg(&mut self, svg: Svg, bounds: Rectangle)

Draws an SVG with the given Handle, an optional Color filter, and inside the provided bounds.

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Renderer for ()

source§

fn measure_svg(&self, _handle: &Handle) -> Size<u32>

source§

fn draw_svg(&mut self, _svg: Svg, _bounds: Rectangle)

source§

impl Renderer for Renderer

Available on crate feature svg only.
source§

fn measure_svg(&self, handle: &Handle) -> Size<u32>

source§

fn draw_svg(&mut self, svg: Svg, bounds: Rectangle)

source§

impl Renderer for Renderer

Available on crate feature svg only.
source§

fn measure_svg(&self, handle: &Handle) -> Size<u32>

source§

fn draw_svg(&mut self, svg: Svg, bounds: Rectangle)

source§

impl<A, B> Renderer for Renderer<A, B>
where A: Renderer, B: Renderer,

source§

fn measure_svg(&self, handle: &Handle) -> Size<u32>

source§

fn draw_svg(&mut self, svg: Svg, bounds: Rectangle)

Implementors§

\ No newline at end of file diff --git a/iced/advanced/text/editor/enum.Action.html b/iced/advanced/text/editor/enum.Action.html index 3524afc186..bbb814797c 100644 --- a/iced/advanced/text/editor/enum.Action.html +++ b/iced/advanced/text/editor/enum.Action.html @@ -1,4 +1,4 @@ -Action in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Action

pub enum Action {
+Action in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Action

source
pub enum Action {
     Move(Motion),
     Select(Motion),
     SelectWord,
@@ -21,9 +21,9 @@
 
§

Drag(Point)

Drag the mouse on the Editor to the given Point.

§

Scroll

Scroll the Editor a certain amount of lines.

Fields

§lines: i32

The amount of lines to scroll.

-

Implementations§

§

impl Action

pub fn is_edit(&self) -> bool

Returns whether the Action is an editing action.

-

Trait Implementations§

§

impl Clone for Action

§

fn clone(&self) -> Action

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Action

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Action

§

fn eq(&self, other: &Action) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl StructuralPartialEq for Action

Auto Trait Implementations§

§

impl Freeze for Action

§

impl RefUnwindSafe for Action

§

impl Send for Action

§

impl Sync for Action

§

impl Unpin for Action

§

impl UnwindSafe for Action

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Implementations§

source§

impl Action

source

pub fn is_edit(&self) -> bool

Returns whether the Action is an editing action.

+

Trait Implementations§

source§

impl Clone for Action

source§

fn clone(&self) -> Action

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Action

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq for Action

source§

fn eq(&self, other: &Action) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Action

Auto Trait Implementations§

§

impl Freeze for Action

§

impl RefUnwindSafe for Action

§

impl Send for Action

§

impl Sync for Action

§

impl Unpin for Action

§

impl UnwindSafe for Action

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/editor/enum.Cursor.html b/iced/advanced/text/editor/enum.Cursor.html index 821c2f863a..c076a4f5ef 100644 --- a/iced/advanced/text/editor/enum.Cursor.html +++ b/iced/advanced/text/editor/enum.Cursor.html @@ -1,10 +1,10 @@ -Cursor in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Cursor

pub enum Cursor {
+Cursor in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Cursor

source
pub enum Cursor {
     Caret(Point),
     Selection(Vec<Rectangle>),
 }
Available on crate feature advanced only.
Expand description

The cursor of an Editor.

Variants§

§

Caret(Point)

Cursor without a selection

§

Selection(Vec<Rectangle>)

Cursor selecting a range of text

-

Trait Implementations§

§

impl Clone for Cursor

§

fn clone(&self) -> Cursor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Cursor

§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Cursor

§

impl RefUnwindSafe for Cursor

§

impl Send for Cursor

§

impl Sync for Cursor

§

impl Unpin for Cursor

§

impl UnwindSafe for Cursor

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Trait Implementations§

source§

impl Clone for Cursor

source§

fn clone(&self) -> Cursor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Cursor

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Cursor

§

impl RefUnwindSafe for Cursor

§

impl Send for Cursor

§

impl Sync for Cursor

§

impl Unpin for Cursor

§

impl UnwindSafe for Cursor

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/editor/enum.Direction.html b/iced/advanced/text/editor/enum.Direction.html index 38ec2b3454..d003607072 100644 --- a/iced/advanced/text/editor/enum.Direction.html +++ b/iced/advanced/text/editor/enum.Direction.html @@ -1,11 +1,11 @@ -Direction in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Direction

pub enum Direction {
+Direction in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Direction

source
pub enum Direction {
     Left,
     Right,
 }
Available on crate feature advanced only.
Expand description

A direction in some text.

Variants§

§

Left

<-

§

Right

->

-

Trait Implementations§

§

impl Clone for Direction

§

fn clone(&self) -> Direction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Direction

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Direction

§

fn eq(&self, other: &Direction) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Direction

§

impl Eq for Direction

§

impl StructuralPartialEq for Direction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Trait Implementations§

source§

impl Clone for Direction

source§

fn clone(&self) -> Direction

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Direction

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq for Direction

source§

fn eq(&self, other: &Direction) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Direction

source§

impl Eq for Direction

source§

impl StructuralPartialEq for Direction

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/editor/enum.Edit.html b/iced/advanced/text/editor/enum.Edit.html index 6be6745ae2..dd9076ea1b 100644 --- a/iced/advanced/text/editor/enum.Edit.html +++ b/iced/advanced/text/editor/enum.Edit.html @@ -1,4 +1,4 @@ -Edit in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Edit

pub enum Edit {
+Edit in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Edit

source
pub enum Edit {
     Insert(char),
     Paste(Arc<String>),
     Enter,
@@ -10,8 +10,8 @@
 
§

Enter

Break the current line.

§

Backspace

Delete the previous character.

§

Delete

Delete the next character.

-

Trait Implementations§

§

impl Clone for Edit

§

fn clone(&self) -> Edit

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Edit

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Edit

§

fn eq(&self, other: &Edit) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl StructuralPartialEq for Edit

Auto Trait Implementations§

§

impl Freeze for Edit

§

impl RefUnwindSafe for Edit

§

impl Send for Edit

§

impl Sync for Edit

§

impl Unpin for Edit

§

impl UnwindSafe for Edit

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Trait Implementations§

source§

impl Clone for Edit

source§

fn clone(&self) -> Edit

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Edit

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq for Edit

source§

fn eq(&self, other: &Edit) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Edit

Auto Trait Implementations§

§

impl Freeze for Edit

§

impl RefUnwindSafe for Edit

§

impl Send for Edit

§

impl Sync for Edit

§

impl Unpin for Edit

§

impl UnwindSafe for Edit

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/editor/enum.Motion.html b/iced/advanced/text/editor/enum.Motion.html index 1da8853495..b21c0e0cbe 100644 --- a/iced/advanced/text/editor/enum.Motion.html +++ b/iced/advanced/text/editor/enum.Motion.html @@ -1,4 +1,4 @@ -Motion in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Motion

pub enum Motion {
+Motion in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Enum Motion

source
pub enum Motion {
     Left,
     Right,
     Up,
@@ -24,10 +24,10 @@
 
§

PageDown

Move to the start of the next window.

§

DocumentStart

Move to the start of the text.

§

DocumentEnd

Move to the end of the text.

-

Implementations§

§

impl Motion

pub fn widen(self) -> Motion

Widens the Motion, if possible.

-

pub fn direction(&self) -> Direction

Returns the Direction of the Motion.

-

Trait Implementations§

§

impl Clone for Motion

§

fn clone(&self) -> Motion

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Motion

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Motion

§

fn eq(&self, other: &Motion) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Motion

§

impl StructuralPartialEq for Motion

Auto Trait Implementations§

§

impl Freeze for Motion

§

impl RefUnwindSafe for Motion

§

impl Send for Motion

§

impl Sync for Motion

§

impl Unpin for Motion

§

impl UnwindSafe for Motion

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Implementations§

source§

impl Motion

source

pub fn widen(self) -> Motion

Widens the Motion, if possible.

+
source

pub fn direction(&self) -> Direction

Returns the Direction of the Motion.

+

Trait Implementations§

source§

impl Clone for Motion

source§

fn clone(&self) -> Motion

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Motion

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq for Motion

source§

fn eq(&self, other: &Motion) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Motion

source§

impl StructuralPartialEq for Motion

Auto Trait Implementations§

§

impl Freeze for Motion

§

impl RefUnwindSafe for Motion

§

impl Send for Motion

§

impl Sync for Motion

§

impl Unpin for Motion

§

impl UnwindSafe for Motion

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/editor/index.html b/iced/advanced/text/editor/index.html index 1b95a57242..b11f27b902 100644 --- a/iced/advanced/text/editor/index.html +++ b/iced/advanced/text/editor/index.html @@ -1,2 +1,2 @@ -iced::advanced::text::editor - Rust
iced::advanced::text

Module editor

Available on crate feature advanced only.
Expand description

Edit text.

+iced::advanced::text::editor - Rust
iced::advanced::text

Module editor

source
Available on crate feature advanced only.
Expand description

Edit text.

Enums§

Traits§

  • A component that can be used by widgets to edit multi-line text.
\ No newline at end of file diff --git a/iced/advanced/text/editor/trait.Editor.html b/iced/advanced/text/editor/trait.Editor.html index 7f5b6ca3e0..82b5423742 100644 --- a/iced/advanced/text/editor/trait.Editor.html +++ b/iced/advanced/text/editor/trait.Editor.html @@ -1,4 +1,4 @@ -Editor in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Trait Editor

pub trait Editor: Sized + Default {
+Editor in iced::advanced::text::editor - Rust
iced::advanced::text::editor

Trait Editor

source
pub trait Editor: Sized + Default {
     type Font: Copy + PartialEq + Default;
 
     // Required methods
@@ -29,20 +29,20 @@
     )
        where H: Highlighter;
 }
Available on crate feature advanced only.
Expand description

A component that can be used by widgets to edit multi-line text.

-

Required Associated Types§

type Font: Copy + PartialEq + Default

The font of the Editor.

-

Required Methods§

fn with_text(text: &str) -> Self

Creates a new Editor laid out with the given text.

-

fn is_empty(&self) -> bool

Returns true if the Editor has no contents.

-

fn cursor(&self) -> Cursor

Returns the current Cursor of the Editor.

-

fn cursor_position(&self) -> (usize, usize)

Returns the current cursor position of the Editor.

+

Required Associated Types§

source

type Font: Copy + PartialEq + Default

The font of the Editor.

+

Required Methods§

source

fn with_text(text: &str) -> Self

Creates a new Editor laid out with the given text.

+
source

fn is_empty(&self) -> bool

Returns true if the Editor has no contents.

+
source

fn cursor(&self) -> Cursor

Returns the current Cursor of the Editor.

+
source

fn cursor_position(&self) -> (usize, usize)

Returns the current cursor position of the Editor.

Line and column, respectively.

-

fn selection(&self) -> Option<String>

Returns the current selected text of the Editor.

-

fn line(&self, index: usize) -> Option<&str>

Returns the text of the given line in the Editor, if it exists.

-

fn line_count(&self) -> usize

Returns the amount of lines in the Editor.

-

fn perform(&mut self, action: Action)

Performs an Action on the Editor.

-

fn bounds(&self) -> Size

Returns the current boundaries of the Editor.

-

fn min_bounds(&self) -> Size

Returns the minimum boundaries to fit the current contents of +

source

fn selection(&self) -> Option<String>

Returns the current selected text of the Editor.

+
source

fn line(&self, index: usize) -> Option<&str>

Returns the text of the given line in the Editor, if it exists.

+
source

fn line_count(&self) -> usize

Returns the amount of lines in the Editor.

+
source

fn perform(&mut self, action: Action)

Performs an Action on the Editor.

+
source

fn bounds(&self) -> Size

Returns the current boundaries of the Editor.

+
source

fn min_bounds(&self) -> Size

Returns the minimum boundaries to fit the current contents of the Editor.

-

fn update( +

source

fn update( &mut self, new_bounds: Size, new_font: Self::Font, @@ -51,14 +51,14 @@ new_wrapping: Wrapping, new_highlighter: &mut impl Highlighter, )

Updates the Editor with some new attributes.

-

fn highlight<H>( +

source

fn highlight<H>( &mut self, font: Self::Font, highlighter: &mut H, format_highlight: impl Fn(&<H as Highlighter>::Highlight) -> Format<Self::Font>, )
where H: Highlighter,

Runs a text Highlighter in the Editor.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Editor for ()

§

type Font = Font

§

fn with_text(_text: &str)

§

fn is_empty(&self) -> bool

§

fn cursor(&self) -> Cursor

§

fn cursor_position(&self) -> (usize, usize)

§

fn selection(&self) -> Option<String>

§

fn line(&self, _index: usize) -> Option<&str>

§

fn line_count(&self) -> usize

§

fn perform(&mut self, _action: Action)

§

fn bounds(&self) -> Size

§

fn min_bounds(&self) -> Size

§

fn update( +

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Editor for ()

source§

type Font = Font

source§

fn with_text(_text: &str)

source§

fn is_empty(&self) -> bool

source§

fn cursor(&self) -> Cursor

source§

fn cursor_position(&self) -> (usize, usize)

source§

fn selection(&self) -> Option<String>

source§

fn line(&self, _index: usize) -> Option<&str>

source§

fn line_count(&self) -> usize

source§

fn perform(&mut self, _action: Action)

source§

fn bounds(&self) -> Size

source§

fn min_bounds(&self) -> Size

source§

fn update( &mut self, _new_bounds: Size, _new_font: <() as Editor>::Font, @@ -66,7 +66,7 @@ _new_line_height: LineHeight, _new_wrapping: Wrapping, _new_highlighter: &mut impl Highlighter, -)

§

fn highlight<H>( +)

source§

fn highlight<H>( &mut self, _font: <() as Editor>::Font, _highlighter: &mut H, diff --git a/iced/advanced/text/enum.Difference.html b/iced/advanced/text/enum.Difference.html index 09c71b57f1..d33fb77e78 100644 --- a/iced/advanced/text/enum.Difference.html +++ b/iced/advanced/text/enum.Difference.html @@ -1,4 +1,4 @@ -Difference in iced::advanced::text - Rust
iced::advanced::text

Enum Difference

pub enum Difference {
+Difference in iced::advanced::text - Rust
iced::advanced::text

Enum Difference

source
pub enum Difference {
     None,
     Bounds,
     Shape,
@@ -14,8 +14,8 @@
 

The contents, alignment, sizes, fonts, or any other essential attributes of the shape of the text have changed. A complete reshape and relayout of the text is necessary.

-

Trait Implementations§

§

impl Clone for Difference

§

fn clone(&self) -> Difference

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Difference

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Difference

§

fn eq(&self, other: &Difference) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Difference

§

impl Eq for Difference

§

impl StructuralPartialEq for Difference

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Trait Implementations§

source§

impl Clone for Difference

source§

fn clone(&self) -> Difference

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Difference

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq for Difference

source§

fn eq(&self, other: &Difference) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Difference

source§

impl Eq for Difference

source§

impl StructuralPartialEq for Difference

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/enum.Hit.html b/iced/advanced/text/enum.Hit.html index 32d7939a5d..f14a7ef428 100644 --- a/iced/advanced/text/enum.Hit.html +++ b/iced/advanced/text/enum.Hit.html @@ -1,10 +1,10 @@ -Hit in iced::advanced::text - Rust
iced::advanced::text

Enum Hit

pub enum Hit {
+Hit in iced::advanced::text - Rust
iced::advanced::text

Enum Hit

source
pub enum Hit {
     CharOffset(usize),
 }
Available on crate feature advanced only.
Expand description

The result of hit testing on text.

Variants§

§

CharOffset(usize)

The point was within the bounds of the returned character index.

-

Implementations§

§

impl Hit

pub fn cursor(self) -> usize

Computes the cursor position of the Hit .

-

Trait Implementations§

§

impl Clone for Hit

§

fn clone(&self) -> Hit

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Hit

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Hit

§

fn eq(&self, other: &Hit) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Hit

§

impl StructuralPartialEq for Hit

Auto Trait Implementations§

§

impl Freeze for Hit

§

impl RefUnwindSafe for Hit

§

impl Send for Hit

§

impl Sync for Hit

§

impl Unpin for Hit

§

impl UnwindSafe for Hit

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Implementations§

source§

impl Hit

source

pub fn cursor(self) -> usize

Computes the cursor position of the Hit .

+

Trait Implementations§

source§

impl Clone for Hit

source§

fn clone(&self) -> Hit

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Hit

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq for Hit

source§

fn eq(&self, other: &Hit) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Hit

source§

impl StructuralPartialEq for Hit

Auto Trait Implementations§

§

impl Freeze for Hit

§

impl RefUnwindSafe for Hit

§

impl Send for Hit

§

impl Sync for Hit

§

impl Unpin for Hit

§

impl UnwindSafe for Hit

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/enum.LineHeight.html b/iced/advanced/text/enum.LineHeight.html index b403b39fe7..b4cfde2763 100644 --- a/iced/advanced/text/enum.LineHeight.html +++ b/iced/advanced/text/enum.LineHeight.html @@ -1,15 +1,15 @@ -LineHeight in iced::advanced::text - Rust
iced::advanced::text

Enum LineHeight

pub enum LineHeight {
+LineHeight in iced::advanced::text - Rust
iced::advanced::text

Enum LineHeight

source
pub enum LineHeight {
     Relative(f32),
     Absolute(Pixels),
 }
Available on crate feature advanced only.
Expand description

The height of a line of text in a paragraph.

Variants§

§

Relative(f32)

A factor of the size of the text.

§

Absolute(Pixels)

An absolute height in logical pixels.

-

Implementations§

§

impl LineHeight

pub fn to_absolute(self, text_size: Pixels) -> Pixels

Returns the LineHeight in absolute logical pixels.

-

Trait Implementations§

§

impl Clone for LineHeight

§

fn clone(&self) -> LineHeight

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for LineHeight

§

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

Formats the value using the given formatter. Read more
§

impl Default for LineHeight

§

fn default() -> LineHeight

Returns the “default value” for a type. Read more
§

impl From<Pixels> for LineHeight

§

fn from(pixels: Pixels) -> LineHeight

Converts to this type from the input type.
§

impl From<f32> for LineHeight

§

fn from(factor: f32) -> LineHeight

Converts to this type from the input type.
§

impl Hash for LineHeight

§

fn hash<H>(&self, state: &mut H)
where +

Implementations§

source§

impl LineHeight

source

pub fn to_absolute(self, text_size: Pixels) -> Pixels

Returns the LineHeight in absolute logical pixels.

+

Trait Implementations§

source§

impl Clone for LineHeight

source§

fn clone(&self) -> LineHeight

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LineHeight

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for LineHeight

source§

fn default() -> LineHeight

Returns the “default value” for a type. Read more
source§

impl From<Pixels> for LineHeight

source§

fn from(pixels: Pixels) -> LineHeight

Converts to this type from the input type.
source§

impl From<f32> for LineHeight

source§

fn from(factor: f32) -> LineHeight

Converts to this type from the input type.
source§

impl Hash for LineHeight

source§

fn hash<H>(&self, state: &mut H)
where H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for LineHeight

§

fn eq(&self, other: &LineHeight) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for LineHeight

§

impl StructuralPartialEq for LineHeight

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for LineHeight

source§

fn eq(&self, other: &LineHeight) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for LineHeight

source§

impl StructuralPartialEq for LineHeight

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/enum.Shaping.html b/iced/advanced/text/enum.Shaping.html index f076cd8aea..3efc962e08 100644 --- a/iced/advanced/text/enum.Shaping.html +++ b/iced/advanced/text/enum.Shaping.html @@ -1,4 +1,4 @@ -Shaping in iced::advanced::text - Rust
iced::advanced::text

Enum Shaping

pub enum Shaping {
+Shaping in iced::advanced::text - Rust
iced::advanced::text

Enum Shaping

source
pub enum Shaping {
     Basic,
     Advanced,
 }
Available on crate feature advanced only.
Expand description

The shaping strategy of some text.

@@ -13,11 +13,11 @@ script, the font used needs it, and/or multiple fonts in your system may be needed to display all of the glyphs.

Advanced shaping is expensive! You should only enable it when necessary.

-

Trait Implementations§

§

impl Clone for Shaping

§

fn clone(&self) -> Shaping

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Shaping

§

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

Formats the value using the given formatter. Read more
§

impl Default for Shaping

§

fn default() -> Shaping

Returns the “default value” for a type. Read more
§

impl Hash for Shaping

§

fn hash<__H>(&self, state: &mut __H)
where +

Trait Implementations§

source§

impl Clone for Shaping

source§

fn clone(&self) -> Shaping

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Shaping

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for Shaping

source§

fn default() -> Shaping

Returns the “default value” for a type. Read more
source§

impl Hash for Shaping

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for Shaping

§

fn eq(&self, other: &Shaping) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Shaping

§

impl Eq for Shaping

§

impl StructuralPartialEq for Shaping

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Shaping

source§

fn eq(&self, other: &Shaping) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Shaping

source§

impl Eq for Shaping

source§

impl StructuralPartialEq for Shaping

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/enum.Wrapping.html b/iced/advanced/text/enum.Wrapping.html index 3e6de59313..da02746590 100644 --- a/iced/advanced/text/enum.Wrapping.html +++ b/iced/advanced/text/enum.Wrapping.html @@ -1,4 +1,4 @@ -Wrapping in iced::advanced::text - Rust
iced::advanced::text

Enum Wrapping

pub enum Wrapping {
+Wrapping in iced::advanced::text - Rust
iced::advanced::text

Enum Wrapping

source
pub enum Wrapping {
     None,
     Word,
     Glyph,
@@ -9,11 +9,11 @@
 

This is the default.

§

Glyph

Wraps at the glyph level.

§

WordOrGlyph

Wraps at the word level, or fallback to glyph level if a word can’t fit on a line by itself.

-

Trait Implementations§

§

impl Clone for Wrapping

§

fn clone(&self) -> Wrapping

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Wrapping

§

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

Formats the value using the given formatter. Read more
§

impl Default for Wrapping

§

fn default() -> Wrapping

Returns the “default value” for a type. Read more
§

impl Hash for Wrapping

§

fn hash<__H>(&self, state: &mut __H)
where +

Trait Implementations§

source§

impl Clone for Wrapping

source§

fn clone(&self) -> Wrapping

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Wrapping

source§

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

Formats the value using the given formatter. Read more
source§

impl Default for Wrapping

source§

fn default() -> Wrapping

Returns the “default value” for a type. Read more
source§

impl Hash for Wrapping

source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for Wrapping

§

fn eq(&self, other: &Wrapping) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Wrapping

§

impl Eq for Wrapping

§

impl StructuralPartialEq for Wrapping

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for Wrapping

source§

fn eq(&self, other: &Wrapping) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Wrapping

source§

impl Eq for Wrapping

source§

impl StructuralPartialEq for Wrapping

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/highlighter/index.html b/iced/advanced/text/highlighter/index.html index 9066c26d7c..cb38fa85a7 100644 --- a/iced/advanced/text/highlighter/index.html +++ b/iced/advanced/text/highlighter/index.html @@ -1,2 +1,2 @@ -iced::advanced::text::highlighter - Rust
iced::advanced::text

Module highlighter

Available on crate feature advanced only.
Expand description

Highlight text.

+iced::advanced::text::highlighter - Rust
iced::advanced::text

Module highlighter

source
Available on crate feature advanced only.
Expand description

Highlight text.

Structs§

  • The format of some text.
  • A highlighter that highlights nothing.

Traits§

\ No newline at end of file diff --git a/iced/advanced/text/highlighter/struct.Format.html b/iced/advanced/text/highlighter/struct.Format.html index ee4f2341e3..3039e3ae14 100644 --- a/iced/advanced/text/highlighter/struct.Format.html +++ b/iced/advanced/text/highlighter/struct.Format.html @@ -1,15 +1,15 @@ -Format in iced::advanced::text::highlighter - Rust
iced::advanced::text::highlighter

Struct Format

pub struct Format<Font> {
+Format in iced::advanced::text::highlighter - Rust
iced::advanced::text::highlighter

Struct Format

source
pub struct Format<Font> {
     pub color: Option<Color>,
     pub font: Option<Font>,
 }
Available on crate feature advanced only.
Expand description

The format of some text.

Fields§

§color: Option<Color>

The Color of the text.

§font: Option<Font>

The Font of the text.

-

Trait Implementations§

§

impl<Font> Clone for Format<Font>
where - Font: Clone,

§

fn clone(&self) -> Format<Font>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<Font> Debug for Format<Font>
where - Font: Debug,

§

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

Formats the value using the given formatter. Read more
§

impl<Font> Default for Format<Font>

§

fn default() -> Format<Font>

Returns the “default value” for a type. Read more
§

impl<Font> PartialEq for Format<Font>
where - Font: PartialEq,

§

fn eq(&self, other: &Format<Font>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl<Font> Copy for Format<Font>
where - Font: Copy,

§

impl<Font> StructuralPartialEq for Format<Font>

Auto Trait Implementations§

§

impl<Font> Freeze for Format<Font>
where +

Trait Implementations§

source§

impl<Font> Clone for Format<Font>
where + Font: Clone,

source§

fn clone(&self) -> Format<Font>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Font> Debug for Format<Font>
where + Font: Debug,

source§

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

Formats the value using the given formatter. Read more
source§

impl<Font> Default for Format<Font>

source§

fn default() -> Format<Font>

Returns the “default value” for a type. Read more
source§

impl<Font> PartialEq for Format<Font>
where + Font: PartialEq,

source§

fn eq(&self, other: &Format<Font>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl<Font> Copy for Format<Font>
where + Font: Copy,

source§

impl<Font> StructuralPartialEq for Format<Font>

Auto Trait Implementations§

§

impl<Font> Freeze for Format<Font>
where Font: Freeze,

§

impl<Font> RefUnwindSafe for Format<Font>
where Font: RefUnwindSafe,

§

impl<Font> Send for Format<Font>
where Font: Send,

§

impl<Font> Sync for Format<Font>
where diff --git a/iced/advanced/text/highlighter/struct.PlainText.html b/iced/advanced/text/highlighter/struct.PlainText.html index d1a4f41a1e..74a65fd131 100644 --- a/iced/advanced/text/highlighter/struct.PlainText.html +++ b/iced/advanced/text/highlighter/struct.PlainText.html @@ -1,8 +1,8 @@ -PlainText in iced::advanced::text::highlighter - Rust
iced::advanced::text::highlighter

Struct PlainText

pub struct PlainText;
Available on crate feature advanced only.
Expand description

A highlighter that highlights nothing.

-

Trait Implementations§

§

impl Clone for PlainText

§

fn clone(&self) -> PlainText

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PlainText

§

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

Formats the value using the given formatter. Read more
§

impl Highlighter for PlainText

§

type Settings = ()

The settings to configure the Highlighter.
§

type Highlight = ()

The output of the Highlighter.
§

type Iterator<'a> = Empty<(Range<usize>, <PlainText as Highlighter>::Highlight)>

The highlight iterator type.
§

fn new(_settings: &<PlainText as Highlighter>::Settings) -> PlainText

Creates a new Highlighter from its Self::Settings.
§

fn update(&mut self, _new_settings: &<PlainText as Highlighter>::Settings)

Updates the Highlighter with some new Self::Settings.
§

fn change_line(&mut self, _line: usize)

Notifies the Highlighter that the line at the given index has changed.
§

fn highlight_line( +PlainText in iced::advanced::text::highlighter - Rust
iced::advanced::text::highlighter

Struct PlainText

source
pub struct PlainText;
Available on crate feature advanced only.
Expand description

A highlighter that highlights nothing.

+

Trait Implementations§

source§

impl Clone for PlainText

source§

fn clone(&self) -> PlainText

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PlainText

source§

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

Formats the value using the given formatter. Read more
source§

impl Highlighter for PlainText

source§

type Settings = ()

The settings to configure the Highlighter.
source§

type Highlight = ()

The output of the Highlighter.
source§

type Iterator<'a> = Empty<(Range<usize>, <PlainText as Highlighter>::Highlight)>

The highlight iterator type.
source§

fn new(_settings: &<PlainText as Highlighter>::Settings) -> PlainText

Creates a new Highlighter from its Self::Settings.
source§

fn update(&mut self, _new_settings: &<PlainText as Highlighter>::Settings)

Updates the Highlighter with some new Self::Settings.
source§

fn change_line(&mut self, _line: usize)

Notifies the Highlighter that the line at the given index has changed.
source§

fn highlight_line( &mut self, _line: &str, -) -> <PlainText as Highlighter>::Iterator<'_>

Highlights the given line. Read more
§

fn current_line(&self) -> usize

Returns the current line of the Highlighter. Read more
§

impl Copy for PlainText

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +) -> <PlainText as Highlighter>::Iterator<'_>

Highlights the given line. Read more
source§

fn current_line(&self) -> usize

Returns the current line of the Highlighter. Read more

source§

impl Copy for PlainText

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/highlighter/trait.Highlighter.html b/iced/advanced/text/highlighter/trait.Highlighter.html index 1c6e76152c..65d39c1ad9 100644 --- a/iced/advanced/text/highlighter/trait.Highlighter.html +++ b/iced/advanced/text/highlighter/trait.Highlighter.html @@ -1,4 +1,4 @@ -Highlighter in iced::advanced::text::highlighter - Rust
iced::advanced::text::highlighter

Trait Highlighter

pub trait Highlighter: 'static {
+Highlighter in iced::advanced::text::highlighter - Rust
iced::advanced::text::highlighter

Trait Highlighter

source
pub trait Highlighter: 'static {
     type Settings: PartialEq + Clone;
     type Highlight;
     type Iterator<'a>: Iterator<Item = (Range<usize>, Self::Highlight)>
@@ -14,21 +14,21 @@
 

A Highlighter highlights lines in sequence. When a line changes, it must be notified and the lines after the changed one must be fed again to the Highlighter.

-

Required Associated Types§

type Settings: PartialEq + Clone

The settings to configure the Highlighter.

-

type Highlight

The output of the Highlighter.

-

type Iterator<'a>: Iterator<Item = (Range<usize>, Self::Highlight)> +

Required Associated Types§

source

type Settings: PartialEq + Clone

The settings to configure the Highlighter.

+
source

type Highlight

The output of the Highlighter.

+
source

type Iterator<'a>: Iterator<Item = (Range<usize>, Self::Highlight)> where Self: 'a

The highlight iterator type.

-

Required Methods§

fn new(settings: &Self::Settings) -> Self

Creates a new Highlighter from its Self::Settings.

-

fn update(&mut self, new_settings: &Self::Settings)

Updates the Highlighter with some new Self::Settings.

-

fn change_line(&mut self, line: usize)

Notifies the Highlighter that the line at the given index has changed.

-

fn highlight_line(&mut self, line: &str) -> Self::Iterator<'_>

Highlights the given line.

+

Required Methods§

source

fn new(settings: &Self::Settings) -> Self

Creates a new Highlighter from its Self::Settings.

+
source

fn update(&mut self, new_settings: &Self::Settings)

Updates the Highlighter with some new Self::Settings.

+
source

fn change_line(&mut self, line: usize)

Notifies the Highlighter that the line at the given index has changed.

+
source

fn highlight_line(&mut self, line: &str) -> Self::Iterator<'_>

Highlights the given line.

If a line changed prior to this, the first line provided here will be the line that changed.

-

fn current_line(&self) -> usize

Returns the current line of the Highlighter.

+
source

fn current_line(&self) -> usize

Returns the current line of the Highlighter.

If change_line has been called, this will normally be the least index that changed.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Highlighter for Highlighter

Implementors§

\ No newline at end of file +) -> <Highlighter as Highlighter>::Iterator<'_>

source§

fn current_line(&self) -> usize

Implementors§

\ No newline at end of file diff --git a/iced/advanced/text/index.html b/iced/advanced/text/index.html index bcca8a6d3e..248e87f543 100644 --- a/iced/advanced/text/index.html +++ b/iced/advanced/text/index.html @@ -1,2 +1,2 @@ -iced::advanced::text - Rust
iced::advanced

Module text

Available on crate feature advanced only.
Expand description

Draw and interact with text.

+iced::advanced::text - Rust
iced::advanced

Module text

source
Available on crate feature advanced only.
Expand description

Draw and interact with text.

Modules§

Structs§

Enums§

  • The difference detected in some text.
  • The result of hit testing on text.
  • The height of a line of text in a paragraph.
  • The shaping strategy of some text.
  • The wrapping strategy of some text.

Traits§

Type Aliases§

\ No newline at end of file diff --git a/iced/advanced/text/paragraph/index.html b/iced/advanced/text/paragraph/index.html index 3fff164e54..b9b100516e 100644 --- a/iced/advanced/text/paragraph/index.html +++ b/iced/advanced/text/paragraph/index.html @@ -1,2 +1,2 @@ -iced::advanced::text::paragraph - Rust
iced::advanced::text

Module paragraph

Available on crate feature advanced only.
Expand description

Draw paragraphs.

+iced::advanced::text::paragraph - Rust
iced::advanced::text

Module paragraph

source
Available on crate feature advanced only.
Expand description

Draw paragraphs.

Structs§

Traits§

\ No newline at end of file diff --git a/iced/advanced/text/paragraph/struct.Plain.html b/iced/advanced/text/paragraph/struct.Plain.html index 527b2cab4a..f5aa29224d 100644 --- a/iced/advanced/text/paragraph/struct.Plain.html +++ b/iced/advanced/text/paragraph/struct.Plain.html @@ -1,19 +1,19 @@ -Plain in iced::advanced::text::paragraph - Rust
iced::advanced::text::paragraph

Struct Plain

pub struct Plain<P>
where +Plain in iced::advanced::text::paragraph - Rust
iced::advanced::text::paragraph

Struct Plain

source
pub struct Plain<P>
where P: Paragraph,
{ /* private fields */ }
Available on crate feature advanced only.
Expand description

A Paragraph of plain text.

-

Implementations§

§

impl<P> Plain<P>
where - P: Paragraph,

pub fn new(text: Text<&str, <P as Paragraph>::Font>) -> Plain<P>

Creates a new Plain paragraph.

-

pub fn update(&mut self, text: Text<&str, <P as Paragraph>::Font>)

Updates the plain Paragraph to match the given Text, if needed.

-

pub fn horizontal_alignment(&self) -> Horizontal

Returns the horizontal alignment of the Paragraph.

-

pub fn vertical_alignment(&self) -> Vertical

Returns the vertical alignment of the Paragraph.

-

pub fn min_bounds(&self) -> Size

Returns the minimum boundaries that can fit the contents of the +

Implementations§

source§

impl<P> Plain<P>
where + P: Paragraph,

source

pub fn new(text: Text<&str, <P as Paragraph>::Font>) -> Plain<P>

Creates a new Plain paragraph.

+
source

pub fn update(&mut self, text: Text<&str, <P as Paragraph>::Font>)

Updates the plain Paragraph to match the given Text, if needed.

+
source

pub fn horizontal_alignment(&self) -> Horizontal

Returns the horizontal alignment of the Paragraph.

+
source

pub fn vertical_alignment(&self) -> Vertical

Returns the vertical alignment of the Paragraph.

+
source

pub fn min_bounds(&self) -> Size

Returns the minimum boundaries that can fit the contents of the Paragraph.

-

pub fn min_width(&self) -> f32

Returns the minimum width that can fit the contents of the +

source

pub fn min_width(&self) -> f32

Returns the minimum width that can fit the contents of the Paragraph.

-

pub fn raw(&self) -> &P

Returns the cached Paragraph.

-

Trait Implementations§

§

impl<P> Clone for Plain<P>
where - P: Clone + Paragraph,

§

fn clone(&self) -> Plain<P>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<P> Debug for Plain<P>
where - P: Debug + Paragraph,

§

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

Formats the value using the given formatter. Read more
§

impl<P> Default for Plain<P>
where - P: Default + Paragraph,

§

fn default() -> Plain<P>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<P> Freeze for Plain<P>
where +

source

pub fn raw(&self) -> &P

Returns the cached Paragraph.

+

Trait Implementations§

source§

impl<P> Clone for Plain<P>
where + P: Clone + Paragraph,

source§

fn clone(&self) -> Plain<P>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<P> Debug for Plain<P>
where + P: Debug + Paragraph,

source§

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

Formats the value using the given formatter. Read more
source§

impl<P> Default for Plain<P>
where + P: Default + Paragraph,

source§

fn default() -> Plain<P>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<P> Freeze for Plain<P>
where P: Freeze,

§

impl<P> RefUnwindSafe for Plain<P>
where P: RefUnwindSafe,

§

impl<P> Send for Plain<P>
where P: Send,

§

impl<P> Sync for Plain<P>
where diff --git a/iced/advanced/text/paragraph/trait.Paragraph.html b/iced/advanced/text/paragraph/trait.Paragraph.html index 07c86af0d9..a85b510654 100644 --- a/iced/advanced/text/paragraph/trait.Paragraph.html +++ b/iced/advanced/text/paragraph/trait.Paragraph.html @@ -1,4 +1,4 @@ -Paragraph in iced::advanced::text::paragraph - Rust
iced::advanced::text::paragraph

Trait Paragraph

pub trait Paragraph: Sized + Default {
+Paragraph in iced::advanced::text::paragraph - Rust
iced::advanced::text::paragraph

Trait Paragraph

source
pub trait Paragraph: Sized + Default {
     type Font: Copy + PartialEq;
 
 
Show 13 methods // Required methods @@ -20,28 +20,28 @@ fn min_width(&self) -> f32 { ... } fn min_height(&self) -> f32 { ... }
}
Available on crate feature advanced only.
Expand description

A text paragraph.

-

Required Associated Types§

type Font: Copy + PartialEq

The font of this Paragraph.

-

Required Methods§

fn with_text(text: Text<&str, Self::Font>) -> Self

Creates a new Paragraph laid out with the given Text.

-

fn with_spans<Link>( +

Required Associated Types§

source

type Font: Copy + PartialEq

The font of this Paragraph.

+

Required Methods§

source

fn with_text(text: Text<&str, Self::Font>) -> Self

Creates a new Paragraph laid out with the given Text.

+
source

fn with_spans<Link>( text: Text<&[Span<'_, Link, Self::Font>], Self::Font>, ) -> Self

Creates a new Paragraph laid out with the given Text.

-

fn resize(&mut self, new_bounds: Size)

Lays out the Paragraph with some new boundaries.

-

fn compare(&self, text: Text<(), Self::Font>) -> Difference

Compares the Paragraph with some desired Text and returns the +

source

fn resize(&mut self, new_bounds: Size)

Lays out the Paragraph with some new boundaries.

+
source

fn compare(&self, text: Text<(), Self::Font>) -> Difference

Compares the Paragraph with some desired Text and returns the Difference.

-

fn horizontal_alignment(&self) -> Horizontal

Returns the horizontal alignment of the Paragraph.

-

fn vertical_alignment(&self) -> Vertical

Returns the vertical alignment of the Paragraph.

-

fn min_bounds(&self) -> Size

Returns the minimum boundaries that can fit the contents of the +

source

fn horizontal_alignment(&self) -> Horizontal

Returns the horizontal alignment of the Paragraph.

+
source

fn vertical_alignment(&self) -> Vertical

Returns the vertical alignment of the Paragraph.

+
source

fn min_bounds(&self) -> Size

Returns the minimum boundaries that can fit the contents of the Paragraph.

-

fn hit_test(&self, point: Point) -> Option<Hit>

Tests whether the provided point is within the boundaries of the +

source

fn hit_test(&self, point: Point) -> Option<Hit>

Tests whether the provided point is within the boundaries of the Paragraph, returning information about the nearest character.

-

fn hit_span(&self, point: Point) -> Option<usize>

Tests whether the provided point is within the boundaries of a +

source

fn hit_span(&self, point: Point) -> Option<usize>

Tests whether the provided point is within the boundaries of a Span in the Paragraph, returning the index of the Span that was hit.

-

fn span_bounds(&self, index: usize) -> Vec<Rectangle>

Returns all bounds for the provided Span index of the Paragraph. +

source

fn span_bounds(&self, index: usize) -> Vec<Rectangle>

Returns all bounds for the provided Span index of the Paragraph. A Span can have multiple bounds for each line it’s on.

-

fn grapheme_position(&self, line: usize, index: usize) -> Option<Point>

Returns the distance to the given grapheme index in the Paragraph.

-

Provided Methods§

fn min_width(&self) -> f32

Returns the minimum width that can fit the contents of the Paragraph.

-

fn min_height(&self) -> f32

Returns the minimum height that can fit the contents of the Paragraph.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Paragraph for ()

§

type Font = Font

§

fn with_text(_text: Text<&str>)

§

fn with_spans<Link>( +

source

fn grapheme_position(&self, line: usize, index: usize) -> Option<Point>

Returns the distance to the given grapheme index in the Paragraph.

+

Provided Methods§

source

fn min_width(&self) -> f32

Returns the minimum width that can fit the contents of the Paragraph.

+
source

fn min_height(&self) -> f32

Returns the minimum height that can fit the contents of the Paragraph.

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Paragraph for ()

source§

type Font = Font

source§

fn with_text(_text: Text<&str>)

source§

fn with_spans<Link>( _text: Text<&[Span<'_, Link, <() as Paragraph>::Font>], <() as Paragraph>::Font>, -)

§

fn resize(&mut self, _new_bounds: Size)

§

fn compare(&self, _text: Text<()>) -> Difference

§

fn horizontal_alignment(&self) -> Horizontal

§

fn vertical_alignment(&self) -> Vertical

§

fn grapheme_position(&self, _line: usize, _index: usize) -> Option<Point>

§

fn min_bounds(&self) -> Size

§

fn hit_test(&self, _point: Point) -> Option<Hit>

§

fn hit_span(&self, _point: Point) -> Option<usize>

§

fn span_bounds(&self, _index: usize) -> Vec<Rectangle>

source§

impl Paragraph for Paragraph

source§

type Font = Font

source§

fn with_text(text: Text<&str>) -> Paragraph

source§

fn with_spans<Link>(text: Text<&[Span<'_, Link>]>) -> Paragraph

source§

fn resize(&mut self, new_bounds: Size)

source§

fn compare(&self, text: Text<()>) -> Difference

source§

fn horizontal_alignment(&self) -> Horizontal

source§

fn vertical_alignment(&self) -> Vertical

source§

fn min_bounds(&self) -> Size

source§

fn hit_test(&self, point: Point) -> Option<Hit>

source§

fn hit_span(&self, point: Point) -> Option<usize>

source§

fn span_bounds(&self, index: usize) -> Vec<Rectangle>

source§

fn grapheme_position(&self, line: usize, index: usize) -> Option<Point>

Implementors§

\ No newline at end of file +)

source§

fn resize(&mut self, _new_bounds: Size)

source§

fn compare(&self, _text: Text<()>) -> Difference

source§

fn horizontal_alignment(&self) -> Horizontal

source§

fn vertical_alignment(&self) -> Vertical

source§

fn grapheme_position(&self, _line: usize, _index: usize) -> Option<Point>

source§

fn min_bounds(&self) -> Size

source§

fn hit_test(&self, _point: Point) -> Option<Hit>

source§

fn hit_span(&self, _point: Point) -> Option<usize>

source§

fn span_bounds(&self, _index: usize) -> Vec<Rectangle>

source§

impl Paragraph for Paragraph

source§

type Font = Font

source§

fn with_text(text: Text<&str>) -> Paragraph

source§

fn with_spans<Link>(text: Text<&[Span<'_, Link>]>) -> Paragraph

source§

fn resize(&mut self, new_bounds: Size)

source§

fn compare(&self, text: Text<()>) -> Difference

source§

fn horizontal_alignment(&self) -> Horizontal

source§

fn vertical_alignment(&self) -> Vertical

source§

fn min_bounds(&self) -> Size

source§

fn hit_test(&self, point: Point) -> Option<Hit>

source§

fn hit_span(&self, point: Point) -> Option<usize>

source§

fn span_bounds(&self, index: usize) -> Vec<Rectangle>

source§

fn grapheme_position(&self, line: usize, index: usize) -> Option<Point>

Implementors§

\ No newline at end of file diff --git a/iced/advanced/text/struct.Highlight.html b/iced/advanced/text/struct.Highlight.html index 059c16c3cd..b7b2b4ca54 100644 --- a/iced/advanced/text/struct.Highlight.html +++ b/iced/advanced/text/struct.Highlight.html @@ -1,11 +1,11 @@ -Highlight in iced::advanced::text - Rust
iced::advanced::text

Struct Highlight

pub struct Highlight {
+Highlight in iced::advanced::text - Rust
iced::advanced::text

Struct Highlight

source
pub struct Highlight {
     pub background: Background,
     pub border: Border,
 }
Available on crate feature advanced only.
Expand description

A text highlight.

Fields§

§background: Background

The Background of the highlight.

§border: Border

The Border of the highlight.

-

Trait Implementations§

§

impl Clone for Highlight

§

fn clone(&self) -> Highlight

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Highlight

§

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

Formats the value using the given formatter. Read more
§

impl PartialEq for Highlight

§

fn eq(&self, other: &Highlight) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for Highlight

§

impl StructuralPartialEq for Highlight

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where +

Trait Implementations§

source§

impl Clone for Highlight

source§

fn clone(&self) -> Highlight

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Highlight

source§

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

Formats the value using the given formatter. Read more
source§

impl PartialEq for Highlight

source§

fn eq(&self, other: &Highlight) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Highlight

source§

impl StructuralPartialEq for Highlight

Auto Trait Implementations§

Blanket Implementations§

source§

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/text/struct.Span.html b/iced/advanced/text/struct.Span.html index c08e1e9c0d..3d9365b05a 100644 --- a/iced/advanced/text/struct.Span.html +++ b/iced/advanced/text/struct.Span.html @@ -1,4 +1,4 @@ -Span in iced::advanced::text - Rust
iced::advanced::text

Struct Span

pub struct Span<'a, Link = (), Font = Font> {
+Span in iced::advanced::text - Rust
iced::advanced::text

Struct Span

source
pub struct Span<'a, Link = (), Font = Font> {
     pub text: Cow<'a, str>,
     pub size: Option<Pixels>,
     pub line_height: Option<LineHeight>,
@@ -21,51 +21,51 @@
 

Currently, it only affects the bounds of the Highlight.

§underline: bool

Whether the Span should be underlined or not.

§strikethrough: bool

Whether the Span should be struck through or not.

-

Implementations§

§

impl<'a, Link, Font> Span<'a, Link, Font>

pub fn new(fragment: impl IntoFragment<'a>) -> Span<'a, Link, Font>

Creates a new Span of text with the given text fragment.

-

pub fn size(self, size: impl Into<Pixels>) -> Span<'a, Link, Font>

Sets the size of the Span.

-

pub fn line_height( +

Implementations§

source§

impl<'a, Link, Font> Span<'a, Link, Font>

source

pub fn new(fragment: impl IntoFragment<'a>) -> Span<'a, Link, Font>

Creates a new Span of text with the given text fragment.

+
source

pub fn size(self, size: impl Into<Pixels>) -> Span<'a, Link, Font>

Sets the size of the Span.

+
source

pub fn line_height( self, line_height: impl Into<LineHeight>, ) -> Span<'a, Link, Font>

Sets the LineHeight of the Span.

-

pub fn font(self, font: impl Into<Font>) -> Span<'a, Link, Font>

Sets the font of the Span.

-

pub fn font_maybe(self, font: Option<impl Into<Font>>) -> Span<'a, Link, Font>

Sets the font of the Span, if any.

-

pub fn color(self, color: impl Into<Color>) -> Span<'a, Link, Font>

Sets the Color of the Span.

-

pub fn color_maybe( +

source

pub fn font(self, font: impl Into<Font>) -> Span<'a, Link, Font>

Sets the font of the Span.

+
source

pub fn font_maybe(self, font: Option<impl Into<Font>>) -> Span<'a, Link, Font>

Sets the font of the Span, if any.

+
source

pub fn color(self, color: impl Into<Color>) -> Span<'a, Link, Font>

Sets the Color of the Span.

+
source

pub fn color_maybe( self, color: Option<impl Into<Color>>, ) -> Span<'a, Link, Font>

Sets the Color of the Span, if any.

-

Sets the link of the Span.

-

Sets the link of the Span, if any.

-

pub fn background( +

Sets the link of the Span.

+

Sets the link of the Span, if any.

+
source

pub fn background( self, background: impl Into<Background>, ) -> Span<'a, Link, Font>

Sets the Background of the Span.

-

pub fn background_maybe( +

source

pub fn background_maybe( self, background: Option<impl Into<Background>>, ) -> Span<'a, Link, Font>

Sets the Background of the Span, if any.

-

pub fn border(self, border: impl Into<Border>) -> Span<'a, Link, Font>

Sets the Border of the Span.

-

pub fn border_maybe( +

source

pub fn border(self, border: impl Into<Border>) -> Span<'a, Link, Font>

Sets the Border of the Span.

+
source

pub fn border_maybe( self, border: Option<impl Into<Border>>, ) -> Span<'a, Link, Font>

Sets the Border of the Span, if any.

-

pub fn padding(self, padding: impl Into<Padding>) -> Span<'a, Link, Font>

Sets the Padding of the Span.

+
source

pub fn padding(self, padding: impl Into<Padding>) -> Span<'a, Link, Font>

Sets the Padding of the Span.

It only affects the background and border of the Span, currently.

-

pub fn underline(self, underline: bool) -> Span<'a, Link, Font>

Sets whether the Span should be underlined or not.

-

pub fn strikethrough(self, strikethrough: bool) -> Span<'a, Link, Font>

Sets whether the Span should be struck through or not.

-

pub fn to_static(self) -> Span<'static, Link, Font>

Turns the Span into a static one.

-

Trait Implementations§

§

impl<'a, Link, Font> Clone for Span<'a, Link, Font>
where +

source

pub fn underline(self, underline: bool) -> Span<'a, Link, Font>

Sets whether the Span should be underlined or not.

+
source

pub fn strikethrough(self, strikethrough: bool) -> Span<'a, Link, Font>

Sets whether the Span should be struck through or not.

+
source

pub fn to_static(self) -> Span<'static, Link, Font>

Turns the Span into a static one.

+

Trait Implementations§

source§

impl<'a, Link, Font> Clone for Span<'a, Link, Font>
where Link: Clone, - Font: Clone,

§

fn clone(&self) -> Span<'a, Link, Font>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<'a, Link, Font> Debug for Span<'a, Link, Font>
where + Font: Clone,

source§

fn clone(&self) -> Span<'a, Link, Font>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, Link, Font> Debug for Span<'a, Link, Font>
where Link: Debug, - Font: Debug,

§

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

Formats the value using the given formatter. Read more
§

impl<'a, Link, Font> From<&'a str> for Span<'a, Link, Font>

§

fn from(value: &'a str) -> Span<'a, Link, Font>

Converts to this type from the input type.
source§

impl<'a, Link, Theme, Renderer> FromIterator<Span<'a, Link, <Renderer as Renderer>::Font>> for Rich<'a, Link, Theme, Renderer>
where + Font: Debug,

source§

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

Formats the value using the given formatter. Read more
source§

impl<'a, Link, Font> From<&'a str> for Span<'a, Link, Font>

source§

fn from(value: &'a str) -> Span<'a, Link, Font>

Converts to this type from the input type.
source§

impl<'a, Link, Theme, Renderer> FromIterator<Span<'a, Link, <Renderer as Renderer>::Font>> for Rich<'a, Link, Theme, Renderer>
where Link: Clone + 'a, Theme: Catalog, Renderer: Renderer, <Renderer as Renderer>::Font: 'a,

source§

fn from_iter<T>(spans: T) -> Rich<'a, Link, Theme, Renderer>
where - T: IntoIterator<Item = Span<'a, Link, <Renderer as Renderer>::Font>>,

Creates a value from an iterator. Read more
§

impl<'a, Link, Font> PartialEq for Span<'a, Link, Font>
where - Font: PartialEq,

§

fn eq(&self, other: &Span<'a, Link, Font>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, + T: IntoIterator<Item = Span<'a, Link, <Renderer as Renderer>::Font>>,

Creates a value from an iterator. Read more

source§

impl<'a, Link, Font> PartialEq for Span<'a, Link, Font>
where + Font: PartialEq,

source§

fn eq(&self, other: &Span<'a, Link, Font>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

§

impl<'a, Link, Font> Freeze for Span<'a, Link, Font>
where Font: Freeze, Link: Freeze,

§

impl<'a, Link, Font> RefUnwindSafe for Span<'a, Link, Font>
where diff --git a/iced/advanced/text/struct.Text.html b/iced/advanced/text/struct.Text.html index b2db46d802..a41f3bec2c 100644 --- a/iced/advanced/text/struct.Text.html +++ b/iced/advanced/text/struct.Text.html @@ -1,4 +1,4 @@ -Text in iced::advanced::text - Rust
iced::advanced::text

Struct Text

pub struct Text<Content = String, Font = Font> {
+Text in iced::advanced::text - Rust
iced::advanced::text

Struct Text

source
pub struct Text<Content = String, Font = Font> {
     pub content: Content,
     pub bounds: Size,
     pub size: Pixels,
@@ -18,11 +18,11 @@
 
§vertical_alignment: Vertical

The vertical alignment of the Text.

§shaping: Shaping

The Shaping strategy of the Text.

§wrapping: Wrapping

The Wrapping strategy of the Text.

-

Trait Implementations§

§

impl<Content, Font> Clone for Text<Content, Font>
where +

Trait Implementations§

source§

impl<Content, Font> Clone for Text<Content, Font>
where Content: Clone, - Font: Clone,

§

fn clone(&self) -> Text<Content, Font>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<Content, Font> Debug for Text<Content, Font>
where + Font: Clone,

source§

fn clone(&self) -> Text<Content, Font>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<Content, Font> Debug for Text<Content, Font>
where Content: Debug, - Font: Debug,

§

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

Formats the value using the given formatter. Read more
§

impl<Content, Font> Copy for Text<Content, Font>
where + Font: Debug,

source§

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

Formats the value using the given formatter. Read more
source§

impl<Content, Font> Copy for Text<Content, Font>
where Content: Copy, Font: Copy,

Auto Trait Implementations§

§

impl<Content, Font> Freeze for Text<Content, Font>
where Content: Freeze, diff --git a/iced/advanced/text/trait.Editor.html b/iced/advanced/text/trait.Editor.html index 1cf42b6710..0404ca8b5a 100644 --- a/iced/advanced/text/trait.Editor.html +++ b/iced/advanced/text/trait.Editor.html @@ -1,4 +1,4 @@ -Editor in iced::advanced::text - Rust
iced::advanced::text

Trait Editor

pub trait Editor: Sized + Default {
+Editor in iced::advanced::text - Rust
iced::advanced::text

Trait Editor

source
pub trait Editor: Sized + Default {
     type Font: Copy + PartialEq + Default;
 
     // Required methods
@@ -29,20 +29,20 @@
     )
        where H: Highlighter;
 }
Available on crate feature advanced only.
Expand description

A component that can be used by widgets to edit multi-line text.

-

Required Associated Types§

type Font: Copy + PartialEq + Default

The font of the Editor.

-

Required Methods§

fn with_text(text: &str) -> Self

Creates a new Editor laid out with the given text.

-

fn is_empty(&self) -> bool

Returns true if the Editor has no contents.

-

fn cursor(&self) -> Cursor

Returns the current Cursor of the Editor.

-

fn cursor_position(&self) -> (usize, usize)

Returns the current cursor position of the Editor.

+

Required Associated Types§

source

type Font: Copy + PartialEq + Default

The font of the Editor.

+

Required Methods§

source

fn with_text(text: &str) -> Self

Creates a new Editor laid out with the given text.

+
source

fn is_empty(&self) -> bool

Returns true if the Editor has no contents.

+
source

fn cursor(&self) -> Cursor

Returns the current Cursor of the Editor.

+
source

fn cursor_position(&self) -> (usize, usize)

Returns the current cursor position of the Editor.

Line and column, respectively.

-

fn selection(&self) -> Option<String>

Returns the current selected text of the Editor.

-

fn line(&self, index: usize) -> Option<&str>

Returns the text of the given line in the Editor, if it exists.

-

fn line_count(&self) -> usize

Returns the amount of lines in the Editor.

-

fn perform(&mut self, action: Action)

Performs an Action on the Editor.

-

fn bounds(&self) -> Size

Returns the current boundaries of the Editor.

-

fn min_bounds(&self) -> Size

Returns the minimum boundaries to fit the current contents of +

source

fn selection(&self) -> Option<String>

Returns the current selected text of the Editor.

+
source

fn line(&self, index: usize) -> Option<&str>

Returns the text of the given line in the Editor, if it exists.

+
source

fn line_count(&self) -> usize

Returns the amount of lines in the Editor.

+
source

fn perform(&mut self, action: Action)

Performs an Action on the Editor.

+
source

fn bounds(&self) -> Size

Returns the current boundaries of the Editor.

+
source

fn min_bounds(&self) -> Size

Returns the minimum boundaries to fit the current contents of the Editor.

-

fn update( +

source

fn update( &mut self, new_bounds: Size, new_font: Self::Font, @@ -51,14 +51,14 @@ new_wrapping: Wrapping, new_highlighter: &mut impl Highlighter, )

Updates the Editor with some new attributes.

-

fn highlight<H>( +

source

fn highlight<H>( &mut self, font: Self::Font, highlighter: &mut H, format_highlight: impl Fn(&<H as Highlighter>::Highlight) -> Format<Self::Font>, )
where H: Highlighter,

Runs a text Highlighter in the Editor.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Editor for ()

§

type Font = Font

§

fn with_text(_text: &str)

§

fn is_empty(&self) -> bool

§

fn cursor(&self) -> Cursor

§

fn cursor_position(&self) -> (usize, usize)

§

fn selection(&self) -> Option<String>

§

fn line(&self, _index: usize) -> Option<&str>

§

fn line_count(&self) -> usize

§

fn perform(&mut self, _action: Action)

§

fn bounds(&self) -> Size

§

fn min_bounds(&self) -> Size

§

fn update( +

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Editor for ()

source§

type Font = Font

source§

fn with_text(_text: &str)

source§

fn is_empty(&self) -> bool

source§

fn cursor(&self) -> Cursor

source§

fn cursor_position(&self) -> (usize, usize)

source§

fn selection(&self) -> Option<String>

source§

fn line(&self, _index: usize) -> Option<&str>

source§

fn line_count(&self) -> usize

source§

fn perform(&mut self, _action: Action)

source§

fn bounds(&self) -> Size

source§

fn min_bounds(&self) -> Size

source§

fn update( &mut self, _new_bounds: Size, _new_font: <() as Editor>::Font, @@ -66,7 +66,7 @@ _new_line_height: LineHeight, _new_wrapping: Wrapping, _new_highlighter: &mut impl Highlighter, -)

§

fn highlight<H>( +)

source§

fn highlight<H>( &mut self, _font: <() as Editor>::Font, _highlighter: &mut H, diff --git a/iced/advanced/text/trait.Highlighter.html b/iced/advanced/text/trait.Highlighter.html index e248576011..be4cb4edc2 100644 --- a/iced/advanced/text/trait.Highlighter.html +++ b/iced/advanced/text/trait.Highlighter.html @@ -1,4 +1,4 @@ -Highlighter in iced::advanced::text - Rust
iced::advanced::text

Trait Highlighter

pub trait Highlighter: 'static {
+Highlighter in iced::advanced::text - Rust
iced::advanced::text

Trait Highlighter

source
pub trait Highlighter: 'static {
     type Settings: PartialEq + Clone;
     type Highlight;
     type Iterator<'a>: Iterator<Item = (Range<usize>, Self::Highlight)>
@@ -14,21 +14,21 @@
 

A Highlighter highlights lines in sequence. When a line changes, it must be notified and the lines after the changed one must be fed again to the Highlighter.

-

Required Associated Types§

type Settings: PartialEq + Clone

The settings to configure the Highlighter.

-

type Highlight

The output of the Highlighter.

-

type Iterator<'a>: Iterator<Item = (Range<usize>, Self::Highlight)> +

Required Associated Types§

source

type Settings: PartialEq + Clone

The settings to configure the Highlighter.

+
source

type Highlight

The output of the Highlighter.

+
source

type Iterator<'a>: Iterator<Item = (Range<usize>, Self::Highlight)> where Self: 'a

The highlight iterator type.

-

Required Methods§

fn new(settings: &Self::Settings) -> Self

Creates a new Highlighter from its Self::Settings.

-

fn update(&mut self, new_settings: &Self::Settings)

Updates the Highlighter with some new Self::Settings.

-

fn change_line(&mut self, line: usize)

Notifies the Highlighter that the line at the given index has changed.

-

fn highlight_line(&mut self, line: &str) -> Self::Iterator<'_>

Highlights the given line.

+

Required Methods§

source

fn new(settings: &Self::Settings) -> Self

Creates a new Highlighter from its Self::Settings.

+
source

fn update(&mut self, new_settings: &Self::Settings)

Updates the Highlighter with some new Self::Settings.

+
source

fn change_line(&mut self, line: usize)

Notifies the Highlighter that the line at the given index has changed.

+
source

fn highlight_line(&mut self, line: &str) -> Self::Iterator<'_>

Highlights the given line.

If a line changed prior to this, the first line provided here will be the line that changed.

-

fn current_line(&self) -> usize

Returns the current line of the Highlighter.

+
source

fn current_line(&self) -> usize

Returns the current line of the Highlighter.

If change_line has been called, this will normally be the least index that changed.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Highlighter for Highlighter

Implementors§

\ No newline at end of file +) -> <Highlighter as Highlighter>::Iterator<'_>

source§

fn current_line(&self) -> usize

Implementors§

\ No newline at end of file diff --git a/iced/advanced/text/trait.IntoFragment.html b/iced/advanced/text/trait.IntoFragment.html index c43d464177..24bf1598da 100644 --- a/iced/advanced/text/trait.IntoFragment.html +++ b/iced/advanced/text/trait.IntoFragment.html @@ -1,6 +1,6 @@ -IntoFragment in iced::advanced::text - Rust
iced::advanced::text

Trait IntoFragment

pub trait IntoFragment<'a> {
+IntoFragment in iced::advanced::text - Rust
iced::advanced::text

Trait IntoFragment

source
pub trait IntoFragment<'a> {
     // Required method
     fn into_fragment(self) -> Cow<'a, str>;
 }
Available on crate feature advanced only.
Expand description

A trait for converting a value to some text Fragment.

-

Required Methods§

fn into_fragment(self) -> Cow<'a, str>

Converts the value to some text Fragment.

-

Implementations on Foreign Types§

§

impl<'a> IntoFragment<'a> for &'a str

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &'a String

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &bool

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &char

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &f32

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &f64

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &i8

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &i16

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &i32

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &i64

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &i128

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &isize

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &u8

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &u16

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &u32

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &u64

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &u128

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for &usize

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for Cow<'a, str>

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for bool

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for char

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for f32

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for f64

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for i8

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for i16

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for i32

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for i64

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for i128

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for isize

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for u8

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for u16

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for u32

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for u64

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for u128

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for usize

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a> IntoFragment<'a> for String

§

fn into_fragment(self) -> Cow<'a, str>

§

impl<'a, 'b> IntoFragment<'a> for &'a Cow<'b, str>

§

fn into_fragment(self) -> Cow<'a, str>

Implementors§

\ No newline at end of file +

Required Methods§

source

fn into_fragment(self) -> Cow<'a, str>

Converts the value to some text Fragment.

+

Implementations on Foreign Types§

source§

impl<'a> IntoFragment<'a> for &'a str

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &'a String

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &bool

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &char

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &f32

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &f64

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &i8

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &i16

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &i32

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &i64

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &i128

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &isize

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &u8

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &u16

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &u32

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &u64

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &u128

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for &usize

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for Cow<'a, str>

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for bool

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for char

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for f32

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for f64

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for i8

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for i16

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for i32

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for i64

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for i128

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for isize

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for u8

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for u16

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for u32

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for u64

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for u128

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for usize

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a> IntoFragment<'a> for String

source§

fn into_fragment(self) -> Cow<'a, str>

source§

impl<'a, 'b> IntoFragment<'a> for &'a Cow<'b, str>

source§

fn into_fragment(self) -> Cow<'a, str>

Implementors§

\ No newline at end of file diff --git a/iced/advanced/text/trait.Paragraph.html b/iced/advanced/text/trait.Paragraph.html index 3f91552da5..e15a37d952 100644 --- a/iced/advanced/text/trait.Paragraph.html +++ b/iced/advanced/text/trait.Paragraph.html @@ -1,4 +1,4 @@ -Paragraph in iced::advanced::text - Rust
iced::advanced::text

Trait Paragraph

pub trait Paragraph: Sized + Default {
+Paragraph in iced::advanced::text - Rust
iced::advanced::text

Trait Paragraph

source
pub trait Paragraph: Sized + Default {
     type Font: Copy + PartialEq;
 
 
Show 13 methods // Required methods @@ -20,28 +20,28 @@ fn min_width(&self) -> f32 { ... } fn min_height(&self) -> f32 { ... }
}
Available on crate feature advanced only.
Expand description

A text paragraph.

-

Required Associated Types§

type Font: Copy + PartialEq

The font of this Paragraph.

-

Required Methods§

fn with_text(text: Text<&str, Self::Font>) -> Self

Creates a new Paragraph laid out with the given Text.

-

fn with_spans<Link>( +

Required Associated Types§

source

type Font: Copy + PartialEq

The font of this Paragraph.

+

Required Methods§

source

fn with_text(text: Text<&str, Self::Font>) -> Self

Creates a new Paragraph laid out with the given Text.

+
source

fn with_spans<Link>( text: Text<&[Span<'_, Link, Self::Font>], Self::Font>, ) -> Self

Creates a new Paragraph laid out with the given Text.

-

fn resize(&mut self, new_bounds: Size)

Lays out the Paragraph with some new boundaries.

-

fn compare(&self, text: Text<(), Self::Font>) -> Difference

Compares the Paragraph with some desired Text and returns the +

source

fn resize(&mut self, new_bounds: Size)

Lays out the Paragraph with some new boundaries.

+
source

fn compare(&self, text: Text<(), Self::Font>) -> Difference

Compares the Paragraph with some desired Text and returns the Difference.

-

fn horizontal_alignment(&self) -> Horizontal

Returns the horizontal alignment of the Paragraph.

-

fn vertical_alignment(&self) -> Vertical

Returns the vertical alignment of the Paragraph.

-

fn min_bounds(&self) -> Size

Returns the minimum boundaries that can fit the contents of the +

source

fn horizontal_alignment(&self) -> Horizontal

Returns the horizontal alignment of the Paragraph.

+
source

fn vertical_alignment(&self) -> Vertical

Returns the vertical alignment of the Paragraph.

+
source

fn min_bounds(&self) -> Size

Returns the minimum boundaries that can fit the contents of the Paragraph.

-

fn hit_test(&self, point: Point) -> Option<Hit>

Tests whether the provided point is within the boundaries of the +

source

fn hit_test(&self, point: Point) -> Option<Hit>

Tests whether the provided point is within the boundaries of the Paragraph, returning information about the nearest character.

-

fn hit_span(&self, point: Point) -> Option<usize>

Tests whether the provided point is within the boundaries of a +

source

fn hit_span(&self, point: Point) -> Option<usize>

Tests whether the provided point is within the boundaries of a Span in the Paragraph, returning the index of the Span that was hit.

-

fn span_bounds(&self, index: usize) -> Vec<Rectangle>

Returns all bounds for the provided Span index of the Paragraph. +

source

fn span_bounds(&self, index: usize) -> Vec<Rectangle>

Returns all bounds for the provided Span index of the Paragraph. A Span can have multiple bounds for each line it’s on.

-

fn grapheme_position(&self, line: usize, index: usize) -> Option<Point>

Returns the distance to the given grapheme index in the Paragraph.

-

Provided Methods§

fn min_width(&self) -> f32

Returns the minimum width that can fit the contents of the Paragraph.

-

fn min_height(&self) -> f32

Returns the minimum height that can fit the contents of the Paragraph.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Paragraph for ()

§

type Font = Font

§

fn with_text(_text: Text<&str>)

§

fn with_spans<Link>( +

source

fn grapheme_position(&self, line: usize, index: usize) -> Option<Point>

Returns the distance to the given grapheme index in the Paragraph.

+

Provided Methods§

source

fn min_width(&self) -> f32

Returns the minimum width that can fit the contents of the Paragraph.

+
source

fn min_height(&self) -> f32

Returns the minimum height that can fit the contents of the Paragraph.

+

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Paragraph for ()

source§

type Font = Font

source§

fn with_text(_text: Text<&str>)

source§

fn with_spans<Link>( _text: Text<&[Span<'_, Link, <() as Paragraph>::Font>], <() as Paragraph>::Font>, -)

§

fn resize(&mut self, _new_bounds: Size)

§

fn compare(&self, _text: Text<()>) -> Difference

§

fn horizontal_alignment(&self) -> Horizontal

§

fn vertical_alignment(&self) -> Vertical

§

fn grapheme_position(&self, _line: usize, _index: usize) -> Option<Point>

§

fn min_bounds(&self) -> Size

§

fn hit_test(&self, _point: Point) -> Option<Hit>

§

fn hit_span(&self, _point: Point) -> Option<usize>

§

fn span_bounds(&self, _index: usize) -> Vec<Rectangle>

source§

impl Paragraph for Paragraph

source§

type Font = Font

source§

fn with_text(text: Text<&str>) -> Paragraph

source§

fn with_spans<Link>(text: Text<&[Span<'_, Link>]>) -> Paragraph

source§

fn resize(&mut self, new_bounds: Size)

source§

fn compare(&self, text: Text<()>) -> Difference

source§

fn horizontal_alignment(&self) -> Horizontal

source§

fn vertical_alignment(&self) -> Vertical

source§

fn min_bounds(&self) -> Size

source§

fn hit_test(&self, point: Point) -> Option<Hit>

source§

fn hit_span(&self, point: Point) -> Option<usize>

source§

fn span_bounds(&self, index: usize) -> Vec<Rectangle>

source§

fn grapheme_position(&self, line: usize, index: usize) -> Option<Point>

Implementors§

\ No newline at end of file +)

source§

fn resize(&mut self, _new_bounds: Size)

source§

fn compare(&self, _text: Text<()>) -> Difference

source§

fn horizontal_alignment(&self) -> Horizontal

source§

fn vertical_alignment(&self) -> Vertical

source§

fn grapheme_position(&self, _line: usize, _index: usize) -> Option<Point>

source§

fn min_bounds(&self) -> Size

source§

fn hit_test(&self, _point: Point) -> Option<Hit>

source§

fn hit_span(&self, _point: Point) -> Option<usize>

source§

fn span_bounds(&self, _index: usize) -> Vec<Rectangle>

source§

impl Paragraph for Paragraph

source§

type Font = Font

source§

fn with_text(text: Text<&str>) -> Paragraph

source§

fn with_spans<Link>(text: Text<&[Span<'_, Link>]>) -> Paragraph

source§

fn resize(&mut self, new_bounds: Size)

source§

fn compare(&self, text: Text<()>) -> Difference

source§

fn horizontal_alignment(&self) -> Horizontal

source§

fn vertical_alignment(&self) -> Vertical

source§

fn min_bounds(&self) -> Size

source§

fn hit_test(&self, point: Point) -> Option<Hit>

source§

fn hit_span(&self, point: Point) -> Option<usize>

source§

fn span_bounds(&self, index: usize) -> Vec<Rectangle>

source§

fn grapheme_position(&self, line: usize, index: usize) -> Option<Point>

Implementors§

\ No newline at end of file diff --git a/iced/advanced/text/trait.Renderer.html b/iced/advanced/text/trait.Renderer.html index 0214dfbb7b..6de9fc0683 100644 --- a/iced/advanced/text/trait.Renderer.html +++ b/iced/advanced/text/trait.Renderer.html @@ -1,4 +1,4 @@ -Renderer in iced::advanced::text - Rust
iced::advanced::text

Trait Renderer

pub trait Renderer: Renderer {
+Renderer in iced::advanced::text - Rust
iced::advanced::text

Trait Renderer

source
pub trait Renderer: Renderer {
     type Font: Copy + PartialEq;
     type Paragraph: Paragraph<Font = Self::Font> + 'static;
     type Editor: Editor<Font = Self::Font> + 'static;
@@ -32,15 +32,15 @@
         clip_bounds: Rectangle,
     );
 }
Available on crate feature advanced only.
Expand description

A renderer capable of measuring and drawing Text.

-

Required Associated Constants§

const ICON_FONT: Self::Font

The icon font of the backend.

-

const CHECKMARK_ICON: char

The char representing a ✔ icon in the ICON_FONT.

-

const ARROW_DOWN_ICON: char

The char representing a ▼ icon in the built-in ICON_FONT.

-

Required Associated Types§

type Font: Copy + PartialEq

The font type used.

-

type Paragraph: Paragraph<Font = Self::Font> + 'static

The Paragraph of this Renderer.

-

type Editor: Editor<Font = Self::Font> + 'static

The Editor of this Renderer.

-

Required Methods§

fn default_font(&self) -> Self::Font

Returns the default Self::Font.

-

fn default_size(&self) -> Pixels

Returns the default size of Text.

-

fn fill_paragraph( +

Required Associated Constants§

source

const ICON_FONT: Self::Font

The icon font of the backend.

+
source

const CHECKMARK_ICON: char

The char representing a ✔ icon in the ICON_FONT.

+
source

const ARROW_DOWN_ICON: char

The char representing a ▼ icon in the built-in ICON_FONT.

+

Required Associated Types§

source

type Font: Copy + PartialEq

The font type used.

+
source

type Paragraph: Paragraph<Font = Self::Font> + 'static

The Paragraph of this Renderer.

+
source

type Editor: Editor<Font = Self::Font> + 'static

The Editor of this Renderer.

+

Required Methods§

source

fn default_font(&self) -> Self::Font

Returns the default Self::Font.

+
source

fn default_size(&self) -> Pixels

Returns the default size of Text.

+
source

fn fill_paragraph( &mut self, text: &Self::Paragraph, position: Point, @@ -48,7 +48,7 @@ clip_bounds: Rectangle, )

Draws the given Paragraph at the given position and with the given Color.

-

fn fill_editor( +

source

fn fill_editor( &mut self, editor: &Self::Editor, position: Point, @@ -56,7 +56,7 @@ clip_bounds: Rectangle, )

Draws the given Editor at the given position and with the given Color.

-

fn fill_text( +

source

fn fill_text( &mut self, text: Text<String, Self::Font>, position: Point, @@ -64,19 +64,19 @@ clip_bounds: Rectangle, )

Draws the given Text at the given position and with the given Color.

-

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl Renderer for ()

§

const ICON_FONT: Font = Font::DEFAULT

§

const CHECKMARK_ICON: char = '0'

§

const ARROW_DOWN_ICON: char = '0'

§

type Font = Font

§

type Paragraph = ()

§

type Editor = ()

§

fn default_font(&self) -> <() as Renderer>::Font

§

fn default_size(&self) -> Pixels

§

fn fill_paragraph( +

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Renderer for ()

source§

const ICON_FONT: Font = Font::DEFAULT

source§

const CHECKMARK_ICON: char = '0'

source§

const ARROW_DOWN_ICON: char = '0'

source§

type Font = Font

source§

type Paragraph = ()

source§

type Editor = ()

source§

fn default_font(&self) -> <() as Renderer>::Font

source§

fn default_size(&self) -> Pixels

source§

fn fill_paragraph( &mut self, _paragraph: &<() as Renderer>::Paragraph, _position: Point, _color: Color, _clip_bounds: Rectangle, -)

§

fn fill_editor( +)

source§

fn fill_editor( &mut self, _editor: &<() as Renderer>::Editor, _position: Point, _color: Color, _clip_bounds: Rectangle, -)

§

fn fill_text( +)

source§

fn fill_text( &mut self, _paragraph: Text, _position: Point, diff --git a/iced/advanced/text/type.Fragment.html b/iced/advanced/text/type.Fragment.html index 9b58abeddc..8755fd00fe 100644 --- a/iced/advanced/text/type.Fragment.html +++ b/iced/advanced/text/type.Fragment.html @@ -1,4 +1,4 @@ -Fragment in iced::advanced::text - Rust
iced::advanced::text

Type Alias Fragment

pub type Fragment<'a> = Cow<'a, str>;
Available on crate feature advanced only.
Expand description

A fragment of Text.

+Fragment in iced::advanced::text - Rust
iced::advanced::text

Type Alias Fragment

source
pub type Fragment<'a> = Cow<'a, str>;
Available on crate feature advanced only.
Expand description

A fragment of Text.

This is just an alias to a string that may be either borrowed or owned.

Aliased Type§

enum Fragment<'a> {
diff --git a/iced/advanced/trait.Clipboard.html b/iced/advanced/trait.Clipboard.html
index 50ef38fa6b..0af6865d84 100644
--- a/iced/advanced/trait.Clipboard.html
+++ b/iced/advanced/trait.Clipboard.html
@@ -1,9 +1,9 @@
-Clipboard in iced::advanced - Rust
iced::advanced

Trait Clipboard

pub trait Clipboard {
+Clipboard in iced::advanced - Rust
iced::advanced

Trait Clipboard

source
pub trait Clipboard {
     // Required methods
     fn read(&self, kind: Kind) -> Option<String>;
     fn write(&mut self, kind: Kind, contents: String);
 }
Available on crate feature advanced only.
Expand description

A buffer for short-term storage and transfer within and between applications.

-

Required Methods§

fn read(&self, kind: Kind) -> Option<String>

Reads the current content of the Clipboard as text.

-

fn write(&mut self, kind: Kind, contents: String)

Writes the given text contents to the Clipboard.

-

Implementations on Foreign Types§

source§

impl Clipboard for Clipboard

source§

fn read(&self, kind: Kind) -> Option<String>

source§

fn write(&mut self, kind: Kind, contents: String)

Implementors§

§

impl Clipboard for Null

\ No newline at end of file +

Required Methods§

source

fn read(&self, kind: Kind) -> Option<String>

Reads the current content of the Clipboard as text.

+
source

fn write(&mut self, kind: Kind, contents: String)

Writes the given text contents to the Clipboard.

+

Implementations on Foreign Types§

source§

impl Clipboard for Clipboard

source§

fn read(&self, kind: Kind) -> Option<String>

source§

fn write(&mut self, kind: Kind, contents: String)

Implementors§

\ No newline at end of file diff --git a/iced/advanced/trait.Overlay.html b/iced/advanced/trait.Overlay.html index c1a2dc59af..458f60fc53 100644 --- a/iced/advanced/trait.Overlay.html +++ b/iced/advanced/trait.Overlay.html @@ -1,4 +1,4 @@ -Overlay in iced::advanced - Rust
iced::advanced

Trait Overlay

pub trait Overlay<Message, Theme, Renderer>
where +Overlay in iced::advanced - Rust
iced::advanced

Trait Overlay

source
pub trait Overlay<Message, Theme, Renderer>
where Renderer: Renderer,
{ // Required methods fn layout(&mut self, renderer: &Renderer, bounds: Size) -> Node; @@ -46,10 +46,10 @@ _renderer: &Renderer, ) -> Option<Element<'a, Message, Theme, Renderer>> { ... } }
Available on crate feature advanced only.
Expand description

An interactive component that can be displayed on top of other widgets.

-

Required Methods§

fn layout(&mut self, renderer: &Renderer, bounds: Size) -> Node

Returns the layout Node of the Overlay.

+

Required Methods§

source

fn layout(&mut self, renderer: &Renderer, bounds: Size) -> Node

Returns the layout Node of the Overlay.

This Node is used by the runtime to compute the Layout of the user interface.

-

fn draw( +

source

fn draw( &self, renderer: &mut Renderer, theme: &Theme, @@ -57,13 +57,13 @@ layout: Layout<'_>, cursor: Cursor, )

Draws the Overlay using the associated Renderer.

-

Provided Methods§

fn operate( +

Provided Methods§

source

fn operate( &mut self, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, )

Applies a widget::Operation to the Overlay.

-

fn on_event( +

source

fn on_event( &mut self, _event: Event, _layout: Layout<'_>, @@ -83,7 +83,7 @@
  • a Clipboard, if available
  • By default, it does nothing.

    -

    fn mouse_interaction( +

    source

    fn mouse_interaction( &self, _layout: Layout<'_>, _cursor: Cursor, @@ -91,7 +91,7 @@ _renderer: &Renderer, ) -> Interaction

    Returns the current mouse::Interaction of the Overlay.

    By default, it returns mouse::Interaction::Idle.

    -

    fn is_over( +

    source

    fn is_over( &self, layout: Layout<'_>, _renderer: &Renderer, @@ -99,10 +99,10 @@ ) -> bool

    Returns true if the cursor is over the Overlay.

    By default, it returns true if the bounds of the layout contain the cursor_position.

    -

    fn overlay<'a>( +

    source

    fn overlay<'a>( &'a mut self, _layout: Layout<'_>, _renderer: &Renderer, ) -> Option<Element<'a, Message, Theme, Renderer>>

    Returns the nested overlay of the Overlay, if there is any.

    -

    Implementors§

    §

    impl<'a, Message, Theme, Renderer> Overlay<Message, Theme, Renderer> for Group<'a, Message, Theme, Renderer>
    where +

    Implementors§

    source§

    impl<'a, Message, Theme, Renderer> Overlay<Message, Theme, Renderer> for Group<'a, Message, Theme, Renderer>
    where Renderer: Renderer,

    \ No newline at end of file diff --git a/iced/advanced/trait.Renderer.html b/iced/advanced/trait.Renderer.html index 4f654732af..d7fe99078e 100644 --- a/iced/advanced/trait.Renderer.html +++ b/iced/advanced/trait.Renderer.html @@ -1,4 +1,4 @@ -Renderer in iced::advanced - Rust
    iced::advanced

    Trait Renderer

    pub trait Renderer {
    +Renderer in iced::advanced - Rust
    iced::advanced

    Trait Renderer

    source
    pub trait Renderer {
         // Required methods
         fn start_layer(&mut self, bounds: Rectangle);
         fn end_layer(&mut self);
    @@ -20,22 +20,22 @@
             f: impl FnOnce(&mut Self),
         ) { ... }
     }
    Available on crate feature advanced only.
    Expand description

    A component that can be used by widgets to draw themselves on a screen.

    -

    Required Methods§

    fn start_layer(&mut self, bounds: Rectangle)

    Starts recording a new layer.

    -

    fn end_layer(&mut self)

    Ends recording a new layer.

    +

    Required Methods§

    source

    fn start_layer(&mut self, bounds: Rectangle)

    Starts recording a new layer.

    +
    source

    fn end_layer(&mut self)

    Ends recording a new layer.

    The new layer will clip its contents to the provided bounds.

    -

    fn start_transformation(&mut self, transformation: Transformation)

    Starts recording with a new Transformation.

    -

    fn end_transformation(&mut self)

    Ends recording a new layer.

    +
    source

    fn start_transformation(&mut self, transformation: Transformation)

    Starts recording with a new Transformation.

    +
    source

    fn end_transformation(&mut self)

    Ends recording a new layer.

    The new layer will clip its contents to the provided bounds.

    -

    fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

    Fills a Quad with the provided Background.

    -

    fn clear(&mut self)

    Clears all of the recorded primitives in the Renderer.

    -

    Provided Methods§

    fn with_layer(&mut self, bounds: Rectangle, f: impl FnOnce(&mut Self))

    Draws the primitives recorded in the given closure in a new layer.

    +
    source

    fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

    Fills a Quad with the provided Background.

    +
    source

    fn clear(&mut self)

    Clears all of the recorded primitives in the Renderer.

    +

    Provided Methods§

    source

    fn with_layer(&mut self, bounds: Rectangle, f: impl FnOnce(&mut Self))

    Draws the primitives recorded in the given closure in a new layer.

    The layer will clip its contents to the provided bounds.

    -

    fn with_transformation( +

    source

    fn with_transformation( &mut self, transformation: Transformation, f: impl FnOnce(&mut Self), )

    Applies a Transformation to the primitives recorded in the given closure.

    -

    fn with_translation(&mut self, translation: Vector, f: impl FnOnce(&mut Self))

    Applies a translation to the primitives recorded in the given closure.

    -

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    §

    impl Renderer for ()

    §

    fn start_layer(&mut self, _bounds: Rectangle)

    §

    fn end_layer(&mut self)

    §

    fn start_transformation(&mut self, _transformation: Transformation)

    §

    fn end_transformation(&mut self)

    §

    fn clear(&mut self)

    §

    fn fill_quad(&mut self, _quad: Quad, _background: impl Into<Background>)

    source§

    impl Renderer for Renderer

    source§

    fn start_layer(&mut self, bounds: Rectangle)

    source§

    fn end_layer(&mut self)

    source§

    fn start_transformation(&mut self, transformation: Transformation)

    source§

    fn end_transformation(&mut self)

    source§

    fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

    source§

    fn clear(&mut self)

    source§

    impl Renderer for Renderer

    source§

    fn start_layer(&mut self, bounds: Rectangle)

    source§

    fn end_layer(&mut self)

    source§

    fn start_transformation(&mut self, transformation: Transformation)

    source§

    fn end_transformation(&mut self)

    source§

    fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

    source§

    fn clear(&mut self)

    source§

    impl<A, B> Renderer for Renderer<A, B>
    where +

    source

    fn with_translation(&mut self, translation: Vector, f: impl FnOnce(&mut Self))

    Applies a translation to the primitives recorded in the given closure.

    +

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl Renderer for ()

    source§

    fn start_layer(&mut self, _bounds: Rectangle)

    source§

    fn end_layer(&mut self)

    source§

    fn start_transformation(&mut self, _transformation: Transformation)

    source§

    fn end_transformation(&mut self)

    source§

    fn clear(&mut self)

    source§

    fn fill_quad(&mut self, _quad: Quad, _background: impl Into<Background>)

    source§

    impl Renderer for Renderer

    source§

    fn start_layer(&mut self, bounds: Rectangle)

    source§

    fn end_layer(&mut self)

    source§

    fn start_transformation(&mut self, transformation: Transformation)

    source§

    fn end_transformation(&mut self)

    source§

    fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

    source§

    fn clear(&mut self)

    source§

    impl Renderer for Renderer

    source§

    fn start_layer(&mut self, bounds: Rectangle)

    source§

    fn end_layer(&mut self)

    source§

    fn start_transformation(&mut self, transformation: Transformation)

    source§

    fn end_transformation(&mut self)

    source§

    fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

    source§

    fn clear(&mut self)

    source§

    impl<A, B> Renderer for Renderer<A, B>
    where A: Renderer, B: Renderer,

    source§

    fn fill_quad(&mut self, quad: Quad, background: impl Into<Background>)

    source§

    fn clear(&mut self)

    source§

    fn start_layer(&mut self, bounds: Rectangle)

    source§

    fn end_layer(&mut self)

    source§

    fn start_transformation(&mut self, transformation: Transformation)

    source§

    fn end_transformation(&mut self)

    Implementors§

    \ No newline at end of file diff --git a/iced/advanced/trait.Widget.html b/iced/advanced/trait.Widget.html index 364c54a153..7c2bcb7639 100644 --- a/iced/advanced/trait.Widget.html +++ b/iced/advanced/trait.Widget.html @@ -1,4 +1,4 @@ -Widget in iced::advanced - Rust
    iced::advanced

    Trait Widget

    pub trait Widget<Message, Theme, Renderer>
    where +Widget in iced::advanced - Rust
    iced::advanced

    Trait Widget

    source
    pub trait Widget<Message, Theme, Renderer>
    where Renderer: Renderer,
    { // Required methods fn size(&self) -> Size<Length>; @@ -72,11 +72,11 @@

    §Examples

  • geometry, a custom widget showcasing how to draw geometry with the Mesh2D primitive in iced_wgpu.
  • -

    Required Methods§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.

    -

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget.

    +

    Required Methods§

    source

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.

    +
    source

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget.

    This layout::Node is used by the runtime to compute the Layout of the user interface.

    -

    fn draw( +

    source

    fn draw( &self, tree: &Tree, renderer: &mut Renderer, @@ -86,21 +86,21 @@

    §Examples

    cursor: Cursor, viewport: &Rectangle, )

    Draws the Widget using the associated Renderer.

    -

    Provided Methods§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget.

    +

    Provided Methods§

    source

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget.

    This hint may be used by some widget containers to adjust their sizing strategy during construction.

    -

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.

    -

    fn state(&self) -> State

    Returns the State of the Widget.

    -

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.

    -

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.

    -

    fn operate( +

    source

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.

    +
    source

    fn state(&self) -> State

    Returns the State of the Widget.

    +
    source

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.

    +
    source

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.

    +
    source

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, )

    Applies an Operation to the Widget.

    -

    fn on_event( +

    source

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -112,7 +112,7 @@

    §Examples

    _viewport: &Rectangle, ) -> Status

    Processes a runtime Event.

    By default, it does nothing.

    -

    fn mouse_interaction( +

    source

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, @@ -121,14 +121,14 @@

    §Examples

    _renderer: &Renderer, ) -> Interaction

    Returns the current mouse::Interaction of the Widget.

    By default, it returns mouse::Interaction::Idle.

    -

    fn overlay<'a>( +

    source

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _translation: Vector, ) -> Option<Element<'a, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.

    -

    Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Borrow<dyn Widget<Message, Theme, Renderer> + 'a> for &Element<'a, Message, Theme, Renderer>

    §

    fn borrow(&self) -> &(dyn Widget<Message, Theme, Renderer> + 'a)

    Immutably borrows from an owned value. Read more
    §

    impl<'a, Message, Theme, Renderer> Borrow<dyn Widget<Message, Theme, Renderer> + 'a> for Element<'a, Message, Theme, Renderer>

    §

    fn borrow(&self) -> &(dyn Widget<Message, Theme, Renderer> + 'a)

    Immutably borrows from an owned value. Read more

    Implementors§

    source§

    impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Borrow<dyn Widget<Message, Theme, Renderer> + 'a> for &Element<'a, Message, Theme, Renderer>

    source§

    fn borrow(&self) -> &(dyn Widget<Message, Theme, Renderer> + 'a)

    Immutably borrows from an owned value. Read more
    source§

    impl<'a, Message, Theme, Renderer> Borrow<dyn Widget<Message, Theme, Renderer> + 'a> for Element<'a, Message, Theme, Renderer>

    source§

    fn borrow(&self) -> &(dyn Widget<Message, Theme, Renderer> + 'a)

    Immutably borrows from an owned value. Read more

    Implementors§

    source§

    impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where Highlighter: Highlighter, Theme: Catalog, Renderer: Renderer,

    source§

    impl<'a, Key, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for iced::widget::keyed::Column<'a, Key, Message, Theme, Renderer>
    where @@ -172,10 +172,10 @@

    §Examples

    Theme: Catalog, Renderer: Renderer,

    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Tooltip<'a, Message, Theme, Renderer>
    where Theme: Catalog, - Renderer: Renderer,

    §

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Text<'a, Theme, Renderer>
    where + Renderer: Renderer,

    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Text<'a, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    impl<'a, Message, Theme, Renderer, Dependency, View> Widget<Message, Theme, Renderer> for Lazy<'a, Message, Theme, Renderer, Dependency, View>
    where - View: Into<Element<'static, Message, Theme, Renderer>> + 'static, + View: Into<Element<'static, Message, Theme, Renderer>> + 'static, Dependency: Hash + 'a, Message: 'static, Theme: 'static, diff --git a/iced/advanced/widget/operation/enum.Outcome.html b/iced/advanced/widget/operation/enum.Outcome.html index d16e91f893..07a37fb6ad 100644 --- a/iced/advanced/widget/operation/enum.Outcome.html +++ b/iced/advanced/widget/operation/enum.Outcome.html @@ -1,4 +1,4 @@ -Outcome in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Enum Outcome

    pub enum Outcome<T> {
    +Outcome in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Enum Outcome

    source
    pub enum Outcome<T> {
         None,
         Some(T),
         Chain(Box<dyn Operation<T>>),
    @@ -6,8 +6,8 @@
     

    Variants§

    §

    None

    The Operation produced no result.

    §

    Some(T)

    The Operation produced some result.

    §

    Chain(Box<dyn Operation<T>>)

    The Operation needs to be followed by another Operation.

    -

    Trait Implementations§

    §

    impl<T> Debug for Outcome<T>
    where - T: Debug,

    §

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<T> Freeze for Outcome<T>
    where +

    Trait Implementations§

    source§

    impl<T> Debug for Outcome<T>
    where + T: Debug,

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<T> Freeze for Outcome<T>
    where T: Freeze,

    §

    impl<T> !RefUnwindSafe for Outcome<T>

    §

    impl<T> Send for Outcome<T>
    where T: Send,

    §

    impl<T> !Sync for Outcome<T>

    §

    impl<T> Unpin for Outcome<T>
    where T: Unpin,

    §

    impl<T> !UnwindSafe for Outcome<T>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where diff --git a/iced/advanced/widget/operation/fn.black_box.html b/iced/advanced/widget/operation/fn.black_box.html index d8eea9f79d..49c4ee3b52 100644 --- a/iced/advanced/widget/operation/fn.black_box.html +++ b/iced/advanced/widget/operation/fn.black_box.html @@ -1,4 +1,4 @@ -black_box in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Function black_box

    pub fn black_box<'a, T, O>(
    +black_box in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Function black_box

    source
    pub fn black_box<'a, T, O>(
         operation: &'a mut dyn Operation<T>,
     ) -> impl Operation<O> + 'a
    where T: 'a,
    Available on crate feature advanced only.
    Expand description

    Wraps the Operation in a black box, erasing its returning type.

    diff --git a/iced/advanced/widget/operation/fn.map.html b/iced/advanced/widget/operation/fn.map.html index 785ec4398b..26c42f704b 100644 --- a/iced/advanced/widget/operation/fn.map.html +++ b/iced/advanced/widget/operation/fn.map.html @@ -1,4 +1,4 @@ -map in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Function map

    pub fn map<A, B>(
    +map in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Function map

    source
    pub fn map<A, B>(
         operation: impl Operation<A>,
         f: impl Fn(A) -> B + Send + Sync + 'static,
     ) -> impl Operation<B>
    where diff --git a/iced/advanced/widget/operation/fn.scope.html b/iced/advanced/widget/operation/fn.scope.html index 31c7807807..fc92245f09 100644 --- a/iced/advanced/widget/operation/fn.scope.html +++ b/iced/advanced/widget/operation/fn.scope.html @@ -1,4 +1,4 @@ -scope in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Function scope

    pub fn scope<T>(
    +scope in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Function scope

    source
    pub fn scope<T>(
         target: Id,
         operation: impl Operation<T> + 'static,
     ) -> impl Operation<T>
    where diff --git a/iced/advanced/widget/operation/fn.then.html b/iced/advanced/widget/operation/fn.then.html index f975aceb5b..9238b1151e 100644 --- a/iced/advanced/widget/operation/fn.then.html +++ b/iced/advanced/widget/operation/fn.then.html @@ -1,4 +1,4 @@ -then in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Function then

    pub fn then<A, B, O>(
    +then in iced::advanced::widget::operation - Rust
    iced::advanced::widget::operation

    Function then

    source
    pub fn then<A, B, O>(
         operation: impl Operation<A> + 'static,
         f: fn(_: A) -> O,
     ) -> impl Operation<B>
    where diff --git a/iced/advanced/widget/operation/focusable/fn.count.html b/iced/advanced/widget/operation/focusable/fn.count.html index baefeca01b..7161b8263d 100644 --- a/iced/advanced/widget/operation/focusable/fn.count.html +++ b/iced/advanced/widget/operation/focusable/fn.count.html @@ -1,3 +1,3 @@ -count in iced::advanced::widget::operation::focusable - Rust
    iced::advanced::widget::operation::focusable

    Function count

    pub fn count() -> impl Operation<Count>
    Available on crate feature advanced only.
    Expand description

    Produces an Operation that generates a Count and chains it with the +count in iced::advanced::widget::operation::focusable - Rust

    iced::advanced::widget::operation::focusable

    Function count

    source
    pub fn count() -> impl Operation<Count>
    Available on crate feature advanced only.
    Expand description

    Produces an Operation that generates a Count and chains it with the provided function to build a new Operation.

    \ No newline at end of file diff --git a/iced/advanced/widget/operation/focusable/fn.find_focused.html b/iced/advanced/widget/operation/focusable/fn.find_focused.html index 1853ca1142..c463bb6b29 100644 --- a/iced/advanced/widget/operation/focusable/fn.find_focused.html +++ b/iced/advanced/widget/operation/focusable/fn.find_focused.html @@ -1,3 +1,3 @@ -find_focused in iced::advanced::widget::operation::focusable - Rust
    iced::advanced::widget::operation::focusable

    Function find_focused

    pub fn find_focused() -> impl Operation<Id>
    Available on crate feature advanced only.
    Expand description

    Produces an Operation that searches for the current focused widget +find_focused in iced::advanced::widget::operation::focusable - Rust

    iced::advanced::widget::operation::focusable

    Function find_focused

    source
    pub fn find_focused() -> impl Operation<Id>
    Available on crate feature advanced only.
    Expand description

    Produces an Operation that searches for the current focused widget and stores its ID. This ignores widgets that do not have an ID.

    \ No newline at end of file diff --git a/iced/advanced/widget/operation/focusable/fn.focus.html b/iced/advanced/widget/operation/focusable/fn.focus.html index b48d1aa45b..97597b5681 100644 --- a/iced/advanced/widget/operation/focusable/fn.focus.html +++ b/iced/advanced/widget/operation/focusable/fn.focus.html @@ -1,2 +1,2 @@ -focus in iced::advanced::widget::operation::focusable - Rust
    iced::advanced::widget::operation::focusable

    Function focus

    pub fn focus<T>(target: Id) -> impl Operation<T>
    Available on crate feature advanced only.
    Expand description

    Produces an Operation that focuses the widget with the given Id.

    +focus in iced::advanced::widget::operation::focusable - Rust
    iced::advanced::widget::operation::focusable

    Function focus

    source
    pub fn focus<T>(target: Id) -> impl Operation<T>
    Available on crate feature advanced only.
    Expand description

    Produces an Operation that focuses the widget with the given Id.

    \ No newline at end of file diff --git a/iced/advanced/widget/operation/focusable/fn.focus_next.html b/iced/advanced/widget/operation/focusable/fn.focus_next.html index 2ad5def957..6985b2c773 100644 --- a/iced/advanced/widget/operation/focusable/fn.focus_next.html +++ b/iced/advanced/widget/operation/focusable/fn.focus_next.html @@ -1,4 +1,4 @@ -focus_next in iced::advanced::widget::operation::focusable - Rust
    iced::advanced::widget::operation::focusable

    Function focus_next

    pub fn focus_next<T>() -> impl Operation<T>
    where +focus_next in iced::advanced::widget::operation::focusable - Rust
    iced::advanced::widget::operation::focusable

    Function focus_next

    source
    pub fn focus_next<T>() -> impl Operation<T>
    where T: Send + 'static,
    Available on crate feature advanced only.
    Expand description

    Produces an Operation that searches for the current focused widget, and

    source§

    fn from( text: Text<'a, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    §

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Text<'a, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Text<'a, Theme, Renderer>
    where Theme: Catalog, - Renderer: Renderer,

    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    §

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    §

    fn draw( + Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn draw( &self, tree: &Tree, renderer: &mut Renderer, @@ -73,13 +73,13 @@

    §Example

    layout: Layout<'_>, _cursor_position: Cursor, viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -89,14 +89,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/advanced/widget/struct.Tree.html b/iced/advanced/widget/struct.Tree.html index 656cd18ee7..e0ef7d2716 100644 --- a/iced/advanced/widget/struct.Tree.html +++ b/iced/advanced/widget/struct.Tree.html @@ -1,4 +1,4 @@ -Tree in iced::advanced::widget - Rust
    iced::advanced::widget

    Struct Tree

    pub struct Tree {
    +Tree in iced::advanced::widget - Rust
    iced::advanced::widget

    Struct Tree

    source
    pub struct Tree {
         pub tag: Tag,
         pub state: State,
         pub children: Vec<Tree>,
    @@ -7,12 +7,12 @@
     

    Fields§

    §tag: Tag

    The tag of the Tree.

    §state: State

    The State of the Tree.

    §children: Vec<Tree>

    The children of the root widget of the Tree.

    -

    Implementations§

    §

    impl Tree

    pub fn empty() -> Tree

    Creates an empty, stateless Tree with no children.

    -

    pub fn new<'a, Message, Theme, Renderer>( +

    Implementations§

    source§

    impl Tree

    source

    pub fn empty() -> Tree

    Creates an empty, stateless Tree with no children.

    +
    source

    pub fn new<'a, Message, Theme, Renderer>( widget: impl Borrow<dyn Widget<Message, Theme, Renderer> + 'a>, ) -> Tree
    where Renderer: Renderer,

    Creates a new Tree for the provided Widget.

    -

    pub fn diff<'a, Message, Theme, Renderer>( +

    source

    pub fn diff<'a, Message, Theme, Renderer>( &mut self, new: impl Borrow<dyn Widget<Message, Theme, Renderer> + 'a>, )
    where @@ -20,19 +20,19 @@

    If the tag of the Widget matches the tag of the Tree, then the Widget proceeds with the reconciliation (i.e. Widget::diff is called).

    Otherwise, the whole Tree is recreated.

    -

    pub fn diff_children<'a, Message, Theme, Renderer>( +

    source

    pub fn diff_children<'a, Message, Theme, Renderer>( &mut self, new_children: &[impl Borrow<dyn Widget<Message, Theme, Renderer> + 'a>], )
    where Renderer: Renderer,

    Reconciles the children of the tree with the provided list of widgets.

    -

    pub fn diff_children_custom<T>( +

    source

    pub fn diff_children_custom<T>( &mut self, new_children: &[T], diff: impl Fn(&mut Tree, &T), new_state: impl Fn(&T) -> Tree, )

    Reconciles the children of the tree with the provided list of widgets using custom logic both for diffing and creating new widget state.

    -

    Trait Implementations§

    §

    impl Debug for Tree

    §

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Tree

    §

    impl !RefUnwindSafe for Tree

    §

    impl !Send for Tree

    §

    impl !Sync for Tree

    §

    impl Unpin for Tree

    §

    impl !UnwindSafe for Tree

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Debug for Tree

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Tree

    §

    impl !RefUnwindSafe for Tree

    §

    impl !Send for Tree

    §

    impl !Sync for Tree

    §

    impl Unpin for Tree

    §

    impl !UnwindSafe for Tree

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/widget/text/enum.LineHeight.html b/iced/advanced/widget/text/enum.LineHeight.html index 5224c6e76c..1982fba9d3 100644 --- a/iced/advanced/widget/text/enum.LineHeight.html +++ b/iced/advanced/widget/text/enum.LineHeight.html @@ -1,15 +1,15 @@ -LineHeight in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Enum LineHeight

    pub enum LineHeight {
    +LineHeight in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Enum LineHeight

    source
    pub enum LineHeight {
         Relative(f32),
         Absolute(Pixels),
     }
    Available on crate feature advanced only.
    Expand description

    The height of a line of text in a paragraph.

    Variants§

    §

    Relative(f32)

    A factor of the size of the text.

    §

    Absolute(Pixels)

    An absolute height in logical pixels.

    -

    Implementations§

    §

    impl LineHeight

    pub fn to_absolute(self, text_size: Pixels) -> Pixels

    Returns the LineHeight in absolute logical pixels.

    -

    Trait Implementations§

    §

    impl Clone for LineHeight

    §

    fn clone(&self) -> LineHeight

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for LineHeight

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for LineHeight

    §

    fn default() -> LineHeight

    Returns the “default value” for a type. Read more
    §

    impl From<Pixels> for LineHeight

    §

    fn from(pixels: Pixels) -> LineHeight

    Converts to this type from the input type.
    §

    impl From<f32> for LineHeight

    §

    fn from(factor: f32) -> LineHeight

    Converts to this type from the input type.
    §

    impl Hash for LineHeight

    §

    fn hash<H>(&self, state: &mut H)
    where +

    Implementations§

    source§

    impl LineHeight

    source

    pub fn to_absolute(self, text_size: Pixels) -> Pixels

    Returns the LineHeight in absolute logical pixels.

    +

    Trait Implementations§

    source§

    impl Clone for LineHeight

    source§

    fn clone(&self) -> LineHeight

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LineHeight

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for LineHeight

    source§

    fn default() -> LineHeight

    Returns the “default value” for a type. Read more
    source§

    impl From<Pixels> for LineHeight

    source§

    fn from(pixels: Pixels) -> LineHeight

    Converts to this type from the input type.
    source§

    impl From<f32> for LineHeight

    source§

    fn from(factor: f32) -> LineHeight

    Converts to this type from the input type.
    source§

    impl Hash for LineHeight

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for LineHeight

    §

    fn eq(&self, other: &LineHeight) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for LineHeight

    §

    impl StructuralPartialEq for LineHeight

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for LineHeight

    source§

    fn eq(&self, other: &LineHeight) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for LineHeight

    source§

    impl StructuralPartialEq for LineHeight

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/widget/text/enum.Shaping.html b/iced/advanced/widget/text/enum.Shaping.html index b9b239f84d..fef1e1b990 100644 --- a/iced/advanced/widget/text/enum.Shaping.html +++ b/iced/advanced/widget/text/enum.Shaping.html @@ -1,4 +1,4 @@ -Shaping in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Enum Shaping

    pub enum Shaping {
    +Shaping in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Enum Shaping

    source
    pub enum Shaping {
         Basic,
         Advanced,
     }
    Available on crate feature advanced only.
    Expand description

    The shaping strategy of some text.

    @@ -13,11 +13,11 @@ script, the font used needs it, and/or multiple fonts in your system may be needed to display all of the glyphs.

    Advanced shaping is expensive! You should only enable it when necessary.

    -

    Trait Implementations§

    §

    impl Clone for Shaping

    §

    fn clone(&self) -> Shaping

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Shaping

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Shaping

    §

    fn default() -> Shaping

    Returns the “default value” for a type. Read more
    §

    impl Hash for Shaping

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Shaping

    source§

    fn clone(&self) -> Shaping

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Shaping

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Shaping

    source§

    fn default() -> Shaping

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Shaping

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Shaping

    §

    fn eq(&self, other: &Shaping) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Shaping

    §

    impl Eq for Shaping

    §

    impl StructuralPartialEq for Shaping

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Shaping

    source§

    fn eq(&self, other: &Shaping) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Shaping

    source§

    impl Eq for Shaping

    source§

    impl StructuralPartialEq for Shaping

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/widget/text/enum.Wrapping.html b/iced/advanced/widget/text/enum.Wrapping.html index 3acd7b0f82..1e503cccab 100644 --- a/iced/advanced/widget/text/enum.Wrapping.html +++ b/iced/advanced/widget/text/enum.Wrapping.html @@ -1,4 +1,4 @@ -Wrapping in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Enum Wrapping

    pub enum Wrapping {
    +Wrapping in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Enum Wrapping

    source
    pub enum Wrapping {
         None,
         Word,
         Glyph,
    @@ -9,11 +9,11 @@
     

    This is the default.

    §

    Glyph

    Wraps at the glyph level.

    §

    WordOrGlyph

    Wraps at the word level, or fallback to glyph level if a word can’t fit on a line by itself.

    -

    Trait Implementations§

    §

    impl Clone for Wrapping

    §

    fn clone(&self) -> Wrapping

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Wrapping

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Wrapping

    §

    fn default() -> Wrapping

    Returns the “default value” for a type. Read more
    §

    impl Hash for Wrapping

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Wrapping

    source§

    fn clone(&self) -> Wrapping

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Wrapping

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Wrapping

    source§

    fn default() -> Wrapping

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Wrapping

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Wrapping

    §

    fn eq(&self, other: &Wrapping) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Wrapping

    §

    impl Eq for Wrapping

    §

    impl StructuralPartialEq for Wrapping

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Wrapping

    source§

    fn eq(&self, other: &Wrapping) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Wrapping

    source§

    impl Eq for Wrapping

    source§

    impl StructuralPartialEq for Wrapping

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/widget/text/fn.base.html b/iced/advanced/widget/text/fn.base.html index 9ce0ee8522..68326191f2 100644 --- a/iced/advanced/widget/text/fn.base.html +++ b/iced/advanced/widget/text/fn.base.html @@ -1,2 +1,2 @@ -base in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function base

    pub fn base(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text with the default base color.

    +base in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function base

    source
    pub fn base(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text with the default base color.

    \ No newline at end of file diff --git a/iced/advanced/widget/text/fn.danger.html b/iced/advanced/widget/text/fn.danger.html index 1ffa1f4d29..f2e4b61db5 100644 --- a/iced/advanced/widget/text/fn.danger.html +++ b/iced/advanced/widget/text/fn.danger.html @@ -1,2 +1,2 @@ -danger in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function danger

    pub fn danger(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text conveying some negative information, like an error.

    +danger in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function danger

    source
    pub fn danger(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text conveying some negative information, like an error.

    \ No newline at end of file diff --git a/iced/advanced/widget/text/fn.default.html b/iced/advanced/widget/text/fn.default.html index e468dbfcff..c76765eb52 100644 --- a/iced/advanced/widget/text/fn.default.html +++ b/iced/advanced/widget/text/fn.default.html @@ -1,2 +1,2 @@ -default in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function default

    pub fn default(_theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    The default text styling; color is inherited.

    +default in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function default

    source
    pub fn default(_theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    The default text styling; color is inherited.

    \ No newline at end of file diff --git a/iced/advanced/widget/text/fn.draw.html b/iced/advanced/widget/text/fn.draw.html index 96f6360c50..20493da0b5 100644 --- a/iced/advanced/widget/text/fn.draw.html +++ b/iced/advanced/widget/text/fn.draw.html @@ -1,4 +1,4 @@ -draw in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function draw

    pub fn draw<Renderer>(
    +draw in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function draw

    source
    pub fn draw<Renderer>(
         renderer: &mut Renderer,
         style: &Style,
         layout: Layout<'_>,
    diff --git a/iced/advanced/widget/text/fn.layout.html b/iced/advanced/widget/text/fn.layout.html
    index 0060f12406..3bc76baf11 100644
    --- a/iced/advanced/widget/text/fn.layout.html
    +++ b/iced/advanced/widget/text/fn.layout.html
    @@ -1,4 +1,4 @@
    -layout in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function layout

    pub fn layout<Renderer>(
    +layout in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function layout

    source
    pub fn layout<Renderer>(
         state: &mut State<<Renderer as Renderer>::Paragraph>,
         renderer: &Renderer,
         limits: &Limits,
    diff --git a/iced/advanced/widget/text/fn.primary.html b/iced/advanced/widget/text/fn.primary.html
    index 473d616cc6..71834ef187 100644
    --- a/iced/advanced/widget/text/fn.primary.html
    +++ b/iced/advanced/widget/text/fn.primary.html
    @@ -1,2 +1,2 @@
    -primary in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function primary

    pub fn primary(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text conveying some important information, like an action.

    +primary in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function primary

    source
    pub fn primary(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text conveying some important information, like an action.

    \ No newline at end of file diff --git a/iced/advanced/widget/text/fn.secondary.html b/iced/advanced/widget/text/fn.secondary.html index 2a69f82b08..d92b8d225d 100644 --- a/iced/advanced/widget/text/fn.secondary.html +++ b/iced/advanced/widget/text/fn.secondary.html @@ -1,2 +1,2 @@ -secondary in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function secondary

    pub fn secondary(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text conveying some secondary information, like a footnote.

    +secondary in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function secondary

    source
    pub fn secondary(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text conveying some secondary information, like a footnote.

    \ No newline at end of file diff --git a/iced/advanced/widget/text/fn.success.html b/iced/advanced/widget/text/fn.success.html index ea77705d01..31a4edfc03 100644 --- a/iced/advanced/widget/text/fn.success.html +++ b/iced/advanced/widget/text/fn.success.html @@ -1,2 +1,2 @@ -success in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function success

    pub fn success(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text conveying some positive information, like a successful event.

    +success in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Function success

    source
    pub fn success(theme: &Theme) -> Style
    Available on crate feature advanced only.
    Expand description

    Text conveying some positive information, like a successful event.

    \ No newline at end of file diff --git a/iced/advanced/widget/text/index.html b/iced/advanced/widget/text/index.html index f7caaa5db2..12a84992c1 100644 --- a/iced/advanced/widget/text/index.html +++ b/iced/advanced/widget/text/index.html @@ -1,4 +1,4 @@ -iced::advanced::widget::text - Rust
    iced::advanced::widget

    Module text

    Available on crate feature advanced only.
    Expand description

    Text widgets display information through writing.

    +iced::advanced::widget::text - Rust
    iced::advanced::widget

    Module text

    source
    Available on crate feature advanced only.
    Expand description

    Text widgets display information through writing.

    §Example

    use iced::widget::text;
     use iced::color;
    diff --git a/iced/advanced/widget/text/struct.State.html b/iced/advanced/widget/text/struct.State.html
    index 12265e5c98..0d675a7f1d 100644
    --- a/iced/advanced/widget/text/struct.State.html
    +++ b/iced/advanced/widget/text/struct.State.html
    @@ -1,9 +1,9 @@
    -State in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Struct State

    pub struct State<P>(pub Plain<P>)
    +State in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Struct State

    source
    pub struct State<P>(pub Plain<P>)
     where
         P: Paragraph;
    Available on crate feature advanced only.
    Expand description

    The internal state of a Text widget.

    -

    Tuple Fields§

    §0: Plain<P>

    Trait Implementations§

    §

    impl<P> Debug for State<P>
    where - P: Debug + Paragraph,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<P> Default for State<P>
    where - P: Default + Paragraph,

    §

    fn default() -> State<P>

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<P> Freeze for State<P>
    where +

    Tuple Fields§

    §0: Plain<P>

    Trait Implementations§

    source§

    impl<P> Debug for State<P>
    where + P: Debug + Paragraph,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<P> Default for State<P>
    where + P: Default + Paragraph,

    source§

    fn default() -> State<P>

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<P> Freeze for State<P>
    where P: Freeze,

    §

    impl<P> RefUnwindSafe for State<P>
    where P: RefUnwindSafe,

    §

    impl<P> Send for State<P>
    where P: Send,

    §

    impl<P> Sync for State<P>
    where diff --git a/iced/advanced/widget/text/struct.Style.html b/iced/advanced/widget/text/struct.Style.html index bce554f371..642fe8aec5 100644 --- a/iced/advanced/widget/text/struct.Style.html +++ b/iced/advanced/widget/text/struct.Style.html @@ -1,10 +1,10 @@ -Style in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Struct Style

    pub struct Style {
    +Style in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Struct Style

    source
    pub struct Style {
         pub color: Option<Color>,
     }
    Available on crate feature advanced only.
    Expand description

    The appearance of some text.

    Fields§

    §color: Option<Color>

    The Color of the text.

    The default, None, means using the inherited color.

    -

    Trait Implementations§

    §

    impl Clone for Style

    §

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Style

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Style

    §

    fn default() -> Style

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for Style

    §

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Style

    §

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Style

    source§

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Style

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Style

    source§

    fn default() -> Style

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for Style

    source§

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Style

    source§

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/widget/text/struct.Text.html b/iced/advanced/widget/text/struct.Text.html index b711259517..be7408a5ad 100644 --- a/iced/advanced/widget/text/struct.Text.html +++ b/iced/advanced/widget/text/struct.Text.html @@ -1,4 +1,4 @@ -Text in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Struct Text

    pub struct Text<'a, Theme, Renderer>
    where +Text in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Struct Text

    source
    pub struct Text<'a, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,
    { /* private fields */ }
    Available on crate feature advanced only.
    Expand description

    A bunch of text.

    §Example

    @@ -15,56 +15,56 @@

    §Example

    .color(color!(0x0000ff)) .into() }
    -

    Implementations§

    §

    impl<'a, Theme, Renderer> Text<'a, Theme, Renderer>
    where +

    Implementations§

    source§

    impl<'a, Theme, Renderer> Text<'a, Theme, Renderer>
    where Theme: Catalog, - Renderer: Renderer,

    pub fn new(fragment: impl IntoFragment<'a>) -> Text<'a, Theme, Renderer>

    Create a new fragment of Text with the given contents.

    -

    pub fn size(self, size: impl Into<Pixels>) -> Text<'a, Theme, Renderer>

    Sets the size of the Text.

    -

    pub fn line_height( + Renderer: Renderer,

    source

    pub fn new(fragment: impl IntoFragment<'a>) -> Text<'a, Theme, Renderer>

    Create a new fragment of Text with the given contents.

    +
    source

    pub fn size(self, size: impl Into<Pixels>) -> Text<'a, Theme, Renderer>

    Sets the size of the Text.

    +
    source

    pub fn line_height( self, line_height: impl Into<LineHeight>, ) -> Text<'a, Theme, Renderer>

    Sets the LineHeight of the Text.

    -

    pub fn font( +

    source

    pub fn font( self, font: impl Into<<Renderer as Renderer>::Font>, ) -> Text<'a, Theme, Renderer>

    Sets the Font of the Text.

    -

    pub fn width(self, width: impl Into<Length>) -> Text<'a, Theme, Renderer>

    Sets the width of the Text boundaries.

    -

    pub fn height(self, height: impl Into<Length>) -> Text<'a, Theme, Renderer>

    Sets the height of the Text boundaries.

    -

    pub fn center(self) -> Text<'a, Theme, Renderer>

    Centers the Text, both horizontally and vertically.

    -

    pub fn align_x( +

    source

    pub fn width(self, width: impl Into<Length>) -> Text<'a, Theme, Renderer>

    Sets the width of the Text boundaries.

    +
    source

    pub fn height(self, height: impl Into<Length>) -> Text<'a, Theme, Renderer>

    Sets the height of the Text boundaries.

    +
    source

    pub fn center(self) -> Text<'a, Theme, Renderer>

    Centers the Text, both horizontally and vertically.

    +
    source

    pub fn align_x( self, alignment: impl Into<Horizontal>, ) -> Text<'a, Theme, Renderer>

    Sets the alignment::Horizontal of the Text.

    -

    pub fn align_y( +

    source

    pub fn align_y( self, alignment: impl Into<Vertical>, ) -> Text<'a, Theme, Renderer>

    Sets the alignment::Vertical of the Text.

    -

    pub fn shaping(self, shaping: Shaping) -> Text<'a, Theme, Renderer>

    Sets the Shaping strategy of the Text.

    -

    pub fn wrapping(self, wrapping: Wrapping) -> Text<'a, Theme, Renderer>

    Sets the Wrapping strategy of the Text.

    -

    pub fn style( +

    source

    pub fn shaping(self, shaping: Shaping) -> Text<'a, Theme, Renderer>

    Sets the Shaping strategy of the Text.

    +
    source

    pub fn wrapping(self, wrapping: Wrapping) -> Text<'a, Theme, Renderer>

    Sets the Wrapping strategy of the Text.

    +
    source

    pub fn style( self, style: impl Fn(&Theme) -> Style + 'a, ) -> Text<'a, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: From<Box<dyn Fn(&Theme) -> Style + 'a>>,

    Sets the style of the Text.

    -

    pub fn color(self, color: impl Into<Color>) -> Text<'a, Theme, Renderer>
    where +

    source

    pub fn color(self, color: impl Into<Color>) -> Text<'a, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: From<Box<dyn Fn(&Theme) -> Style + 'a>>,

    Sets the Color of the Text.

    -

    pub fn color_maybe( +

    source

    pub fn color_maybe( self, color: Option<impl Into<Color>>, ) -> Text<'a, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: From<Box<dyn Fn(&Theme) -> Style + 'a>>,

    Sets the Color of the Text, if Some.

    -

    pub fn class( +

    source

    pub fn class( self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Text<'a, Theme, Renderer>

    Sets the style class of the Text.

    -

    Trait Implementations§

    §

    impl<'a, Theme, Renderer> From<&'a str> for Text<'a, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Theme, Renderer> From<&'a str> for Text<'a, Theme, Renderer>
    where Theme: Catalog + 'a, - Renderer: Renderer,

    §

    fn from(content: &'a str) -> Text<'a, Theme, Renderer>

    Converts to this type from the input type.
    §

    impl<'a, Message, Theme, Renderer> From<Text<'a, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where + Renderer: Renderer,

    source§

    fn from(content: &'a str) -> Text<'a, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> From<Text<'a, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Theme: Catalog + 'a, - Renderer: Renderer + 'a,

    §

    fn from( + Renderer: Renderer + 'a,

    source§

    fn from( text: Text<'a, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    §

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Text<'a, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Text<'a, Theme, Renderer>
    where Theme: Catalog, - Renderer: Renderer,

    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    §

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    §

    fn draw( + Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn draw( &self, tree: &Tree, renderer: &mut Renderer, @@ -73,13 +73,13 @@

    §Example

    layout: Layout<'_>, _cursor_position: Cursor, viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -89,14 +89,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/advanced/widget/text/trait.Catalog.html b/iced/advanced/widget/text/trait.Catalog.html index 034139fede..e94fea6ec1 100644 --- a/iced/advanced/widget/text/trait.Catalog.html +++ b/iced/advanced/widget/text/trait.Catalog.html @@ -1,11 +1,11 @@ -Catalog in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Trait Catalog

    pub trait Catalog: Sized {
    +Catalog in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Trait Catalog

    source
    pub trait Catalog: Sized {
         type Class<'a>;
     
         // Required methods
         fn default<'a>() -> Self::Class<'a>;
         fn style(&self, item: &Self::Class<'_>) -> Style;
     }
    Available on crate feature advanced only.
    Expand description

    The theme catalog of a Text.

    -

    Required Associated Types§

    type Class<'a>

    The item class of this Catalog.

    -

    Required Methods§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by this Catalog.

    -

    fn style(&self, item: &Self::Class<'_>) -> Style

    The Style of a class with the given status.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    \ No newline at end of file +

    Required Associated Types§

    source

    type Class<'a>

    The item class of this Catalog.

    +

    Required Methods§

    source

    fn default<'a>() -> Self::Class<'a>

    The default class produced by this Catalog.

    +
    source

    fn style(&self, item: &Self::Class<'_>) -> Style

    The Style of a class with the given status.

    +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    \ No newline at end of file diff --git a/iced/advanced/widget/text/type.StyleFn.html b/iced/advanced/widget/text/type.StyleFn.html index f642eaba7c..265e533422 100644 --- a/iced/advanced/widget/text/type.StyleFn.html +++ b/iced/advanced/widget/text/type.StyleFn.html @@ -1,3 +1,3 @@ -StyleFn in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Type Alias StyleFn

    pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme) -> Style + 'a>;
    Available on crate feature advanced only.
    Expand description

    A styling function for a Text.

    +StyleFn in iced::advanced::widget::text - Rust
    iced::advanced::widget::text

    Type Alias StyleFn

    source
    pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme) -> Style + 'a>;
    Available on crate feature advanced only.
    Expand description

    A styling function for a Text.

    This is just a boxed closure: Fn(&Theme, Status) -> Style.

    Aliased Type§

    struct StyleFn<'a, Theme>(/* private fields */);
    \ No newline at end of file diff --git a/iced/advanced/widget/trait.Operation.html b/iced/advanced/widget/trait.Operation.html index 2da097f4f4..1f0f1d3ef4 100644 --- a/iced/advanced/widget/trait.Operation.html +++ b/iced/advanced/widget/trait.Operation.html @@ -1,4 +1,4 @@ -Operation in iced::advanced::widget - Rust
    iced::advanced::widget

    Trait Operation

    pub trait Operation<T = ()>: Send {
    +Operation in iced::advanced::widget - Rust
    iced::advanced::widget

    Trait Operation

    source
    pub trait Operation<T = ()>: Send {
         // Required method
         fn container(
             &mut self,
    @@ -22,7 +22,7 @@
         fn finish(&self) -> Outcome<T> { ... }
     }
    Available on crate feature advanced only.
    Expand description

    A piece of logic that can traverse the widget tree of an application in order to query or update some widget state.

    -

    Required Methods§

    fn container( +

    Required Methods§

    source

    fn container( &mut self, id: Option<&Id>, bounds: Rectangle, @@ -30,8 +30,8 @@ )

    Operates on a widget that contains other widgets.

    The operate_on_children function can be called to return control to the widget tree and keep traversing it.

    -

    Provided Methods§

    fn focusable(&mut self, _state: &mut dyn Focusable, _id: Option<&Id>)

    Operates on a widget that can be focused.

    -

    fn scrollable( +

    Provided Methods§

    source

    fn focusable(&mut self, _state: &mut dyn Focusable, _id: Option<&Id>)

    Operates on a widget that can be focused.

    +
    source

    fn scrollable( &mut self, _state: &mut dyn Scrollable, _id: Option<&Id>, @@ -39,20 +39,20 @@ _content_bounds: Rectangle, _translation: Vector, )

    Operates on a widget that can be scrolled.

    -

    fn text_input(&mut self, _state: &mut dyn TextInput, _id: Option<&Id>)

    Operates on a widget that has text input.

    -

    fn custom(&mut self, _state: &mut (dyn Any + 'static), _id: Option<&Id>)

    Operates on a custom widget with some state.

    -

    fn finish(&self) -> Outcome<T>

    Finishes the Operation and returns its Outcome.

    -

    Implementations on Foreign Types§

    §

    impl<T, O> Operation<O> for Box<T>
    where - T: Operation<O> + ?Sized,

    source

    fn text_input(&mut self, _state: &mut dyn TextInput, _id: Option<&Id>)

    Operates on a widget that has text input.

    +
    source

    fn custom(&mut self, _state: &mut (dyn Any + 'static), _id: Option<&Id>)

    Operates on a custom widget with some state.

    +
    source

    fn finish(&self) -> Outcome<T>

    Finishes the Operation and returns its Outcome.

    +

    Implementations on Foreign Types§

    source§

    impl<T, O> Operation<O> for Box<T>
    where + T: Operation<O> + ?Sized,

    source§

    fn container( &mut self, id: Option<&Id>, bounds: Rectangle, operate_on_children: &mut dyn FnMut(&mut dyn Operation<O>), -)

    §

    fn focusable(&mut self, state: &mut dyn Focusable, id: Option<&Id>)

    §

    fn scrollable( +)

    source§

    fn focusable(&mut self, state: &mut dyn Focusable, id: Option<&Id>)

    source§

    fn scrollable( &mut self, state: &mut dyn Scrollable, id: Option<&Id>, bounds: Rectangle, content_bounds: Rectangle, translation: Vector, -)

    §

    fn text_input(&mut self, state: &mut dyn TextInput, id: Option<&Id>)

    §

    fn custom(&mut self, state: &mut (dyn Any + 'static), id: Option<&Id>)

    §

    fn finish(&self) -> Outcome<O>

    Implementors§

    \ No newline at end of file +)
    source§

    fn text_input(&mut self, state: &mut dyn TextInput, id: Option<&Id>)

    source§

    fn custom(&mut self, state: &mut (dyn Any + 'static), id: Option<&Id>)

    source§

    fn finish(&self) -> Outcome<O>

    Implementors§

    \ No newline at end of file diff --git a/iced/advanced/widget/trait.Widget.html b/iced/advanced/widget/trait.Widget.html index ce0c3080e0..eb6b39cbe4 100644 --- a/iced/advanced/widget/trait.Widget.html +++ b/iced/advanced/widget/trait.Widget.html @@ -1,4 +1,4 @@ -Widget in iced::advanced::widget - Rust
    iced::advanced::widget

    Trait Widget

    pub trait Widget<Message, Theme, Renderer>
    where +Widget in iced::advanced::widget - Rust
    iced::advanced::widget

    Trait Widget

    source
    pub trait Widget<Message, Theme, Renderer>
    where Renderer: Renderer,
    { // Required methods fn size(&self) -> Size<Length>; @@ -72,11 +72,11 @@

    §Examples

  • geometry, a custom widget showcasing how to draw geometry with the Mesh2D primitive in iced_wgpu.
  • -

    Required Methods§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.

    -

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget.

    +

    Required Methods§

    source

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.

    +
    source

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget.

    This layout::Node is used by the runtime to compute the Layout of the user interface.

    -

    fn draw( +

    source

    fn draw( &self, tree: &Tree, renderer: &mut Renderer, @@ -86,21 +86,21 @@

    §Examples

    cursor: Cursor, viewport: &Rectangle, )

    Draws the Widget using the associated Renderer.

    -

    Provided Methods§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget.

    +

    Provided Methods§

    source

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget.

    This hint may be used by some widget containers to adjust their sizing strategy during construction.

    -

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.

    -

    fn state(&self) -> State

    Returns the State of the Widget.

    -

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.

    -

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.

    -

    fn operate( +

    source

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.

    +
    source

    fn state(&self) -> State

    Returns the State of the Widget.

    +
    source

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.

    +
    source

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.

    +
    source

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, )

    Applies an Operation to the Widget.

    -

    fn on_event( +

    source

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -112,7 +112,7 @@

    §Examples

    _viewport: &Rectangle, ) -> Status

    Processes a runtime Event.

    By default, it does nothing.

    -

    fn mouse_interaction( +

    source

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, @@ -121,14 +121,14 @@

    §Examples

    _renderer: &Renderer, ) -> Interaction

    Returns the current mouse::Interaction of the Widget.

    By default, it returns mouse::Interaction::Idle.

    -

    fn overlay<'a>( +

    source

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _translation: Vector, ) -> Option<Element<'a, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.

    -

    Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Borrow<dyn Widget<Message, Theme, Renderer> + 'a> for &Element<'a, Message, Theme, Renderer>

    §

    fn borrow(&self) -> &(dyn Widget<Message, Theme, Renderer> + 'a)

    Immutably borrows from an owned value. Read more
    §

    impl<'a, Message, Theme, Renderer> Borrow<dyn Widget<Message, Theme, Renderer> + 'a> for Element<'a, Message, Theme, Renderer>

    §

    fn borrow(&self) -> &(dyn Widget<Message, Theme, Renderer> + 'a)

    Immutably borrows from an owned value. Read more

    Implementors§

    source§

    impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Borrow<dyn Widget<Message, Theme, Renderer> + 'a> for &Element<'a, Message, Theme, Renderer>

    source§

    fn borrow(&self) -> &(dyn Widget<Message, Theme, Renderer> + 'a)

    Immutably borrows from an owned value. Read more
    source§

    impl<'a, Message, Theme, Renderer> Borrow<dyn Widget<Message, Theme, Renderer> + 'a> for Element<'a, Message, Theme, Renderer>

    source§

    fn borrow(&self) -> &(dyn Widget<Message, Theme, Renderer> + 'a)

    Immutably borrows from an owned value. Read more

    Implementors§

    source§

    impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where Highlighter: Highlighter, Theme: Catalog, Renderer: Renderer,

    source§

    impl<'a, Key, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for iced::widget::keyed::Column<'a, Key, Message, Theme, Renderer>
    where @@ -172,10 +172,10 @@

    §Examples

    Theme: Catalog, Renderer: Renderer,

    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Tooltip<'a, Message, Theme, Renderer>
    where Theme: Catalog, - Renderer: Renderer,

    §

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Text<'a, Theme, Renderer>
    where + Renderer: Renderer,

    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Text<'a, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    impl<'a, Message, Theme, Renderer, Dependency, View> Widget<Message, Theme, Renderer> for Lazy<'a, Message, Theme, Renderer, Dependency, View>
    where - View: Into<Element<'static, Message, Theme, Renderer>> + 'static, + View: Into<Element<'static, Message, Theme, Renderer>> + 'static, Dependency: Hash + 'a, Message: 'static, Theme: 'static, diff --git a/iced/advanced/widget/tree/enum.State.html b/iced/advanced/widget/tree/enum.State.html index 8b2c2d4608..f9eb2ce66e 100644 --- a/iced/advanced/widget/tree/enum.State.html +++ b/iced/advanced/widget/tree/enum.State.html @@ -1,20 +1,20 @@ -State in iced::advanced::widget::tree - Rust
    iced::advanced::widget::tree

    Enum State

    pub enum State {
    +State in iced::advanced::widget::tree - Rust
    iced::advanced::widget::tree

    Enum State

    source
    pub enum State {
         None,
         Some(Box<dyn Any>),
     }
    Available on crate feature advanced only.
    Expand description

    The internal State of a widget.

    Variants§

    §

    None

    No meaningful internal state.

    §

    Some(Box<dyn Any>)

    Some meaningful internal state.

    -

    Implementations§

    §

    impl State

    pub fn new<T>(state: T) -> State
    where +

    Implementations§

    source§

    impl State

    source

    pub fn new<T>(state: T) -> State
    where T: 'static,

    Creates a new State.

    -

    pub fn downcast_ref<T>(&self) -> &T
    where +

    source

    pub fn downcast_ref<T>(&self) -> &T
    where T: 'static,

    Downcasts the State to T and returns a reference to it.

    §Panics

    This method will panic if the downcast fails or the State is State::None.

    -

    pub fn downcast_mut<T>(&mut self) -> &mut T
    where +

    source

    pub fn downcast_mut<T>(&mut self) -> &mut T
    where T: 'static,

    Downcasts the State to T and returns a mutable reference to it.

    §Panics

    This method will panic if the downcast fails or the State is State::None.

    -

    Trait Implementations§

    §

    impl Debug for State

    §

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for State

    §

    impl !RefUnwindSafe for State

    §

    impl !Send for State

    §

    impl !Sync for State

    §

    impl Unpin for State

    §

    impl !UnwindSafe for State

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Debug for State

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for State

    §

    impl !RefUnwindSafe for State

    §

    impl !Send for State

    §

    impl !Sync for State

    §

    impl Unpin for State

    §

    impl !UnwindSafe for State

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/widget/tree/fn.diff_children_custom_with_search.html b/iced/advanced/widget/tree/fn.diff_children_custom_with_search.html index de9a7a3eb8..5ba427ae6f 100644 --- a/iced/advanced/widget/tree/fn.diff_children_custom_with_search.html +++ b/iced/advanced/widget/tree/fn.diff_children_custom_with_search.html @@ -1,4 +1,4 @@ -diff_children_custom_with_search in iced::advanced::widget::tree - Rust
    iced::advanced::widget::tree

    Function diff_children_custom_with_search

    pub fn diff_children_custom_with_search<T>(
    +diff_children_custom_with_search in iced::advanced::widget::tree - Rust
    iced::advanced::widget::tree

    Function diff_children_custom_with_search

    source
    pub fn diff_children_custom_with_search<T>(
         current_children: &mut Vec<Tree>,
         new_children: &[T],
         diff: impl Fn(&mut Tree, &T),
    diff --git a/iced/advanced/widget/tree/index.html b/iced/advanced/widget/tree/index.html
    index 33be310f1d..41c23bc136 100644
    --- a/iced/advanced/widget/tree/index.html
    +++ b/iced/advanced/widget/tree/index.html
    @@ -1,3 +1,3 @@
    -iced::advanced::widget::tree - Rust
    iced::advanced::widget

    Module tree

    Available on crate feature advanced only.
    Expand description

    Store internal widget state in a state tree to ensure continuity.

    +iced::advanced::widget::tree - Rust
    iced::advanced::widget

    Module tree

    source
    Available on crate feature advanced only.
    Expand description

    Store internal widget state in a state tree to ensure continuity.

    Structs§

    • The identifier of some widget state.
    • A persistent state widget tree.

    Enums§

    Functions§

    • Reconciles the current_children with the provided list of widgets using custom logic both for diffing and creating new widget state.
    \ No newline at end of file diff --git a/iced/advanced/widget/tree/struct.Tag.html b/iced/advanced/widget/tree/struct.Tag.html index d7c376af2f..0af5f4a655 100644 --- a/iced/advanced/widget/tree/struct.Tag.html +++ b/iced/advanced/widget/tree/struct.Tag.html @@ -1,18 +1,18 @@ -Tag in iced::advanced::widget::tree - Rust
    iced::advanced::widget::tree

    Struct Tag

    pub struct Tag(/* private fields */);
    Available on crate feature advanced only.
    Expand description

    The identifier of some widget state.

    -

    Implementations§

    §

    impl Tag

    pub fn of<T>() -> Tag
    where +Tag in iced::advanced::widget::tree - Rust
    iced::advanced::widget::tree

    Struct Tag

    source
    pub struct Tag(/* private fields */);
    Available on crate feature advanced only.
    Expand description

    The identifier of some widget state.

    +

    Implementations§

    source§

    impl Tag

    source

    pub fn of<T>() -> Tag
    where T: 'static,

    Creates a Tag for a state of type T.

    -

    pub fn stateless() -> Tag

    Creates a Tag for a stateless widget.

    -

    Trait Implementations§

    §

    impl Clone for Tag

    §

    fn clone(&self) -> Tag

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Tag

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Hash for Tag

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    source

    pub fn stateless() -> Tag

    Creates a Tag for a stateless widget.

    +

    Trait Implementations§

    source§

    impl Clone for Tag

    source§

    fn clone(&self) -> Tag

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Tag

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Tag

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for Tag

    §

    fn cmp(&self, other: &Tag) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Tag

    source§

    fn cmp(&self, other: &Tag) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for Tag

    §

    fn eq(&self, other: &Tag) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for Tag

    §

    fn partial_cmp(&self, other: &Tag) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Tag

    source§

    fn eq(&self, other: &Tag) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Tag

    source§

    fn partial_cmp(&self, other: &Tag) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for Tag

    §

    impl Eq for Tag

    §

    impl StructuralPartialEq for Tag

    Auto Trait Implementations§

    §

    impl Freeze for Tag

    §

    impl RefUnwindSafe for Tag

    §

    impl Send for Tag

    §

    impl Sync for Tag

    §

    impl Unpin for Tag

    §

    impl UnwindSafe for Tag

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for Tag

    source§

    impl Eq for Tag

    source§

    impl StructuralPartialEq for Tag

    Auto Trait Implementations§

    §

    impl Freeze for Tag

    §

    impl RefUnwindSafe for Tag

    §

    impl Send for Tag

    §

    impl Sync for Tag

    §

    impl Unpin for Tag

    §

    impl UnwindSafe for Tag

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/advanced/widget/tree/struct.Tree.html b/iced/advanced/widget/tree/struct.Tree.html index 6deb4826a1..3bc6f8bb00 100644 --- a/iced/advanced/widget/tree/struct.Tree.html +++ b/iced/advanced/widget/tree/struct.Tree.html @@ -1,4 +1,4 @@ -Tree in iced::advanced::widget::tree - Rust
    iced::advanced::widget::tree

    Struct Tree

    pub struct Tree {
    +Tree in iced::advanced::widget::tree - Rust
    iced::advanced::widget::tree

    Struct Tree

    source
    pub struct Tree {
         pub tag: Tag,
         pub state: State,
         pub children: Vec<Tree>,
    @@ -7,12 +7,12 @@
     

    Fields§

    §tag: Tag

    The tag of the Tree.

    §state: State

    The State of the Tree.

    §children: Vec<Tree>

    The children of the root widget of the Tree.

    -

    Implementations§

    §

    impl Tree

    pub fn empty() -> Tree

    Creates an empty, stateless Tree with no children.

    -

    pub fn new<'a, Message, Theme, Renderer>( +

    Implementations§

    source§

    impl Tree

    source

    pub fn empty() -> Tree

    Creates an empty, stateless Tree with no children.

    +
    source

    pub fn new<'a, Message, Theme, Renderer>( widget: impl Borrow<dyn Widget<Message, Theme, Renderer> + 'a>, ) -> Tree
    where Renderer: Renderer,

    Creates a new Tree for the provided Widget.

    -

    pub fn diff<'a, Message, Theme, Renderer>( +

    source

    pub fn diff<'a, Message, Theme, Renderer>( &mut self, new: impl Borrow<dyn Widget<Message, Theme, Renderer> + 'a>, )
    where @@ -20,19 +20,19 @@

    If the tag of the Widget matches the tag of the Tree, then the Widget proceeds with the reconciliation (i.e. Widget::diff is called).

    Otherwise, the whole Tree is recreated.

    -

    pub fn diff_children<'a, Message, Theme, Renderer>( +

    source

    pub fn diff_children<'a, Message, Theme, Renderer>( &mut self, new_children: &[impl Borrow<dyn Widget<Message, Theme, Renderer> + 'a>], )
    where Renderer: Renderer,

    Reconciles the children of the tree with the provided list of widgets.

    -

    pub fn diff_children_custom<T>( +

    source

    pub fn diff_children_custom<T>( &mut self, new_children: &[T], diff: impl Fn(&mut Tree, &T), new_state: impl Fn(&T) -> Tree, )

    Reconciles the children of the tree with the provided list of widgets using custom logic both for diffing and creating new widget state.

    -

    Trait Implementations§

    §

    impl Debug for Tree

    §

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Tree

    §

    impl !RefUnwindSafe for Tree

    §

    impl !Send for Tree

    §

    impl !Sync for Tree

    §

    impl Unpin for Tree

    §

    impl !UnwindSafe for Tree

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Debug for Tree

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Tree

    §

    impl !RefUnwindSafe for Tree

    §

    impl !Send for Tree

    §

    impl !Sync for Tree

    §

    impl Unpin for Tree

    §

    impl !UnwindSafe for Tree

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/alignment/enum.Alignment.html b/iced/alignment/enum.Alignment.html index d915f658a3..700c725ad1 100644 --- a/iced/alignment/enum.Alignment.html +++ b/iced/alignment/enum.Alignment.html @@ -1,4 +1,4 @@ -Alignment in iced::alignment - Rust
    iced::alignment

    Enum Alignment

    pub enum Alignment {
    +Alignment in iced::alignment - Rust
    iced::alignment

    Enum Alignment

    source
    pub enum Alignment {
         Start,
         Center,
         End,
    @@ -6,11 +6,11 @@
     

    Variants§

    §

    Start

    Align at the start of the axis.

    §

    Center

    Align at the center of the axis.

    §

    End

    Align at the end of the axis.

    -

    Trait Implementations§

    §

    impl Clone for Alignment

    §

    fn clone(&self) -> Alignment

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Alignment

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Alignment> for Horizontal

    §

    fn from(alignment: Alignment) -> Horizontal

    Converts to this type from the input type.
    §

    impl From<Alignment> for Vertical

    §

    fn from(alignment: Alignment) -> Vertical

    Converts to this type from the input type.
    §

    impl From<Horizontal> for Alignment

    §

    fn from(horizontal: Horizontal) -> Alignment

    Converts to this type from the input type.
    §

    impl From<Vertical> for Alignment

    §

    fn from(vertical: Vertical) -> Alignment

    Converts to this type from the input type.
    §

    impl Hash for Alignment

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Alignment

    source§

    fn clone(&self) -> Alignment

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Alignment

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Alignment> for Horizontal

    source§

    fn from(alignment: Alignment) -> Horizontal

    Converts to this type from the input type.
    source§

    impl From<Alignment> for Vertical

    source§

    fn from(alignment: Alignment) -> Vertical

    Converts to this type from the input type.
    source§

    impl From<Horizontal> for Alignment

    source§

    fn from(horizontal: Horizontal) -> Alignment

    Converts to this type from the input type.
    source§

    impl From<Vertical> for Alignment

    source§

    fn from(vertical: Vertical) -> Alignment

    Converts to this type from the input type.
    source§

    impl Hash for Alignment

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Alignment

    §

    fn eq(&self, other: &Alignment) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Alignment

    §

    impl Eq for Alignment

    §

    impl StructuralPartialEq for Alignment

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Alignment

    source§

    fn eq(&self, other: &Alignment) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Alignment

    source§

    impl Eq for Alignment

    source§

    impl StructuralPartialEq for Alignment

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/alignment/enum.Horizontal.html b/iced/alignment/enum.Horizontal.html index f0741d329f..95476c0dde 100644 --- a/iced/alignment/enum.Horizontal.html +++ b/iced/alignment/enum.Horizontal.html @@ -1,4 +1,4 @@ -Horizontal in iced::alignment - Rust
    iced::alignment

    Enum Horizontal

    pub enum Horizontal {
    +Horizontal in iced::alignment - Rust
    iced::alignment

    Enum Horizontal

    source
    pub enum Horizontal {
         Left,
         Center,
         Right,
    @@ -6,11 +6,11 @@
     

    Variants§

    §

    Left

    Align left

    §

    Center

    Horizontally centered

    §

    Right

    Align right

    -

    Trait Implementations§

    §

    impl Clone for Horizontal

    §

    fn clone(&self) -> Horizontal

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Horizontal

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Alignment> for Horizontal

    §

    fn from(alignment: Alignment) -> Horizontal

    Converts to this type from the input type.
    §

    impl From<Horizontal> for Alignment

    §

    fn from(horizontal: Horizontal) -> Alignment

    Converts to this type from the input type.
    §

    impl Hash for Horizontal

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Horizontal

    source§

    fn clone(&self) -> Horizontal

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Horizontal

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Alignment> for Horizontal

    source§

    fn from(alignment: Alignment) -> Horizontal

    Converts to this type from the input type.
    source§

    impl From<Horizontal> for Alignment

    source§

    fn from(horizontal: Horizontal) -> Alignment

    Converts to this type from the input type.
    source§

    impl Hash for Horizontal

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Horizontal

    §

    fn eq(&self, other: &Horizontal) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Horizontal

    §

    impl Eq for Horizontal

    §

    impl StructuralPartialEq for Horizontal

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Horizontal

    source§

    fn eq(&self, other: &Horizontal) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Horizontal

    source§

    impl Eq for Horizontal

    source§

    impl StructuralPartialEq for Horizontal

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/alignment/enum.Vertical.html b/iced/alignment/enum.Vertical.html index 91f1818971..22b89a6166 100644 --- a/iced/alignment/enum.Vertical.html +++ b/iced/alignment/enum.Vertical.html @@ -1,4 +1,4 @@ -Vertical in iced::alignment - Rust
    iced::alignment

    Enum Vertical

    pub enum Vertical {
    +Vertical in iced::alignment - Rust
    iced::alignment

    Enum Vertical

    source
    pub enum Vertical {
         Top,
         Center,
         Bottom,
    @@ -6,11 +6,11 @@
     

    Variants§

    §

    Top

    Align top

    §

    Center

    Vertically centered

    §

    Bottom

    Align bottom

    -

    Trait Implementations§

    §

    impl Clone for Vertical

    §

    fn clone(&self) -> Vertical

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Vertical

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Alignment> for Vertical

    §

    fn from(alignment: Alignment) -> Vertical

    Converts to this type from the input type.
    §

    impl From<Vertical> for Alignment

    §

    fn from(vertical: Vertical) -> Alignment

    Converts to this type from the input type.
    §

    impl Hash for Vertical

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Vertical

    source§

    fn clone(&self) -> Vertical

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Vertical

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Alignment> for Vertical

    source§

    fn from(alignment: Alignment) -> Vertical

    Converts to this type from the input type.
    source§

    impl From<Vertical> for Alignment

    source§

    fn from(vertical: Vertical) -> Alignment

    Converts to this type from the input type.
    source§

    impl Hash for Vertical

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Vertical

    §

    fn eq(&self, other: &Vertical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Vertical

    §

    impl Eq for Vertical

    §

    impl StructuralPartialEq for Vertical

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Vertical

    source§

    fn eq(&self, other: &Vertical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Vertical

    source§

    impl Eq for Vertical

    source§

    impl StructuralPartialEq for Vertical

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/alignment/index.html b/iced/alignment/index.html index 91ea033632..1da1c4cc51 100644 --- a/iced/alignment/index.html +++ b/iced/alignment/index.html @@ -1,2 +1,2 @@ -iced::alignment - Rust
    iced

    Module alignment

    Expand description

    Align and position widgets.

    +iced::alignment - Rust
    iced

    Module alignment

    source
    Expand description

    Align and position widgets.

    Enums§

    \ No newline at end of file diff --git a/iced/border/fn.bottom.html b/iced/border/fn.bottom.html index 75eb8ce326..4f7a9ecc04 100644 --- a/iced/border/fn.bottom.html +++ b/iced/border/fn.bottom.html @@ -1,2 +1,2 @@ -bottom in iced::border - Rust
    iced::border

    Function bottom

    pub fn bottom(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given value as bottom left and bottom right.

    +bottom in iced::border - Rust
    iced::border

    Function bottom

    source
    pub fn bottom(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given value as bottom left and bottom right.

    \ No newline at end of file diff --git a/iced/border/fn.bottom_left.html b/iced/border/fn.bottom_left.html index 8d6927f9b0..2cfe748775 100644 --- a/iced/border/fn.bottom_left.html +++ b/iced/border/fn.bottom_left.html @@ -1,2 +1,2 @@ -bottom_left in iced::border - Rust
    iced::border

    Function bottom_left

    pub fn bottom_left(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given bottom left value.

    +bottom_left in iced::border - Rust
    iced::border

    Function bottom_left

    source
    pub fn bottom_left(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given bottom left value.

    \ No newline at end of file diff --git a/iced/border/fn.bottom_right.html b/iced/border/fn.bottom_right.html index ea47f3035d..ad93bdb49a 100644 --- a/iced/border/fn.bottom_right.html +++ b/iced/border/fn.bottom_right.html @@ -1,2 +1,2 @@ -bottom_right in iced::border - Rust
    iced::border

    Function bottom_right

    pub fn bottom_right(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given bottom right value.

    +bottom_right in iced::border - Rust
    iced::border

    Function bottom_right

    source
    pub fn bottom_right(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given bottom right value.

    \ No newline at end of file diff --git a/iced/border/fn.color.html b/iced/border/fn.color.html index 192a792c1c..4e5912e571 100644 --- a/iced/border/fn.color.html +++ b/iced/border/fn.color.html @@ -1,4 +1,4 @@ -color in iced::border - Rust
    iced::border

    Function color

    pub fn color(color: impl Into<Color>) -> Border
    Expand description

    Creates a new Border with the given Color.

    +color in iced::border - Rust
    iced::border

    Function color

    source
    pub fn color(color: impl Into<Color>) -> Border
    Expand description

    Creates a new Border with the given Color.

    assert_eq!(border::color(Color::BLACK), Border::default().color(Color::BLACK));
    \ No newline at end of file diff --git a/iced/border/fn.left.html b/iced/border/fn.left.html index 06a045d5c3..d3918be7c5 100644 --- a/iced/border/fn.left.html +++ b/iced/border/fn.left.html @@ -1,2 +1,2 @@ -left in iced::border - Rust
    iced::border

    Function left

    pub fn left(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given value as top left and bottom left.

    +left in iced::border - Rust
    iced::border

    Function left

    source
    pub fn left(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given value as top left and bottom left.

    \ No newline at end of file diff --git a/iced/border/fn.radius.html b/iced/border/fn.radius.html index f8cdd4147a..c7944d1346 100644 --- a/iced/border/fn.radius.html +++ b/iced/border/fn.radius.html @@ -1,2 +1,2 @@ -radius in iced::border - Rust
    iced::border

    Function radius

    pub fn radius(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the same value for each corner.

    +radius in iced::border - Rust
    iced::border

    Function radius

    source
    pub fn radius(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the same value for each corner.

    \ No newline at end of file diff --git a/iced/border/fn.right.html b/iced/border/fn.right.html index 7dba7c5e5c..6c826b787d 100644 --- a/iced/border/fn.right.html +++ b/iced/border/fn.right.html @@ -1,2 +1,2 @@ -right in iced::border - Rust
    iced::border

    Function right

    pub fn right(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given value as top right and bottom right.

    +right in iced::border - Rust
    iced::border

    Function right

    source
    pub fn right(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given value as top right and bottom right.

    \ No newline at end of file diff --git a/iced/border/fn.rounded.html b/iced/border/fn.rounded.html index 92f065ccf8..5677fb4fc4 100644 --- a/iced/border/fn.rounded.html +++ b/iced/border/fn.rounded.html @@ -1,4 +1,4 @@ -rounded in iced::border - Rust
    iced::border

    Function rounded

    pub fn rounded(radius: impl Into<Radius>) -> Border
    Expand description

    Creates a new Border with the given Radius.

    +rounded in iced::border - Rust
    iced::border

    Function rounded

    source
    pub fn rounded(radius: impl Into<Radius>) -> Border
    Expand description

    Creates a new Border with the given Radius.

    assert_eq!(border::rounded(10), Border::default().rounded(10));
    \ No newline at end of file diff --git a/iced/border/fn.top.html b/iced/border/fn.top.html index 869f6f1704..840799a020 100644 --- a/iced/border/fn.top.html +++ b/iced/border/fn.top.html @@ -1,2 +1,2 @@ -top in iced::border - Rust
    iced::border

    Function top

    pub fn top(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given value as top left and top right.

    +top in iced::border - Rust
    iced::border

    Function top

    source
    pub fn top(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given value as top left and top right.

    \ No newline at end of file diff --git a/iced/border/fn.top_left.html b/iced/border/fn.top_left.html index e05e96da21..9e0c15003f 100644 --- a/iced/border/fn.top_left.html +++ b/iced/border/fn.top_left.html @@ -1,2 +1,2 @@ -top_left in iced::border - Rust
    iced::border

    Function top_left

    pub fn top_left(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given top left value.

    +top_left in iced::border - Rust
    iced::border

    Function top_left

    source
    pub fn top_left(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given top left value.

    \ No newline at end of file diff --git a/iced/border/fn.top_right.html b/iced/border/fn.top_right.html index 649482efcb..a05fce5810 100644 --- a/iced/border/fn.top_right.html +++ b/iced/border/fn.top_right.html @@ -1,2 +1,2 @@ -top_right in iced::border - Rust
    iced::border

    Function top_right

    pub fn top_right(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given top right value.

    +top_right in iced::border - Rust
    iced::border

    Function top_right

    source
    pub fn top_right(value: impl Into<Pixels>) -> Radius
    Expand description

    Creates a new Radius with the given top right value.

    \ No newline at end of file diff --git a/iced/border/fn.width.html b/iced/border/fn.width.html index b468282643..13355227f6 100644 --- a/iced/border/fn.width.html +++ b/iced/border/fn.width.html @@ -1,4 +1,4 @@ -width in iced::border - Rust
    iced::border

    Function width

    pub fn width(width: impl Into<Pixels>) -> Border
    Expand description

    Creates a new Border with the given width.

    +width in iced::border - Rust
    iced::border

    Function width

    source
    pub fn width(width: impl Into<Pixels>) -> Border
    Expand description

    Creates a new Border with the given width.

    assert_eq!(border::width(10), Border::default().width(10));
    \ No newline at end of file diff --git a/iced/border/index.html b/iced/border/index.html index c266410348..2e7403c9d8 100644 --- a/iced/border/index.html +++ b/iced/border/index.html @@ -1,3 +1,3 @@ -iced::border - Rust
    iced

    Module border

    Expand description

    Draw lines around containers.

    +iced::border - Rust
    iced

    Module border

    source
    Expand description

    Draw lines around containers.

    Structs§

    • A border.
    • The border radii for the corners of a graphics primitive in the order: top-left, top-right, bottom-right, bottom-left.

    Functions§

    \ No newline at end of file diff --git a/iced/border/struct.Border.html b/iced/border/struct.Border.html index ebfbee927e..8a4598d436 100644 --- a/iced/border/struct.Border.html +++ b/iced/border/struct.Border.html @@ -1,4 +1,4 @@ -Border in iced::border - Rust
    iced::border

    Struct Border

    pub struct Border {
    +Border in iced::border - Rust
    iced::border

    Struct Border

    source
    pub struct Border {
         pub color: Color,
         pub width: f32,
         pub radius: Radius,
    @@ -6,11 +6,11 @@
     

    Fields§

    §color: Color

    The color of the border.

    §width: f32

    The width of the border.

    §radius: Radius

    The Radius of the border.

    -

    Implementations§

    §

    impl Border

    pub fn color(self, color: impl Into<Color>) -> Border

    Sets the Color of the Border.

    -

    pub fn rounded(self, radius: impl Into<Radius>) -> Border

    Sets the Radius of the Border.

    -

    pub fn width(self, width: impl Into<Pixels>) -> Border

    Sets the width of the Border.

    -

    Trait Implementations§

    §

    impl Clone for Border

    §

    fn clone(&self) -> Border

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Border

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Border

    §

    fn default() -> Border

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for Border

    §

    fn eq(&self, other: &Border) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Border

    §

    impl StructuralPartialEq for Border

    Auto Trait Implementations§

    §

    impl Freeze for Border

    §

    impl RefUnwindSafe for Border

    §

    impl Send for Border

    §

    impl Sync for Border

    §

    impl Unpin for Border

    §

    impl UnwindSafe for Border

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Border

    source

    pub fn color(self, color: impl Into<Color>) -> Border

    Sets the Color of the Border.

    +
    source

    pub fn rounded(self, radius: impl Into<Radius>) -> Border

    Sets the Radius of the Border.

    +
    source

    pub fn width(self, width: impl Into<Pixels>) -> Border

    Sets the width of the Border.

    +

    Trait Implementations§

    source§

    impl Clone for Border

    source§

    fn clone(&self) -> Border

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Border

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Border

    source§

    fn default() -> Border

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for Border

    source§

    fn eq(&self, other: &Border) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Border

    source§

    impl StructuralPartialEq for Border

    Auto Trait Implementations§

    §

    impl Freeze for Border

    §

    impl RefUnwindSafe for Border

    §

    impl Send for Border

    §

    impl Sync for Border

    §

    impl Unpin for Border

    §

    impl UnwindSafe for Border

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/border/struct.Radius.html b/iced/border/struct.Radius.html index 2ab64be5e9..a5837bb463 100644 --- a/iced/border/struct.Radius.html +++ b/iced/border/struct.Radius.html @@ -1,4 +1,4 @@ -Radius in iced::border - Rust
    iced::border

    Struct Radius

    pub struct Radius {
    +Radius in iced::border - Rust
    iced::border

    Struct Radius

    source
    pub struct Radius {
         pub top_left: f32,
         pub top_right: f32,
         pub bottom_right: f32,
    @@ -9,17 +9,17 @@
     
    §top_right: f32

    Top right radius

    §bottom_right: f32

    Bottom right radius

    §bottom_left: f32

    Bottom left radius

    -

    Implementations§

    §

    impl Radius

    pub fn new(value: impl Into<Pixels>) -> Radius

    Creates a new Radius with the same value for each corner.

    -

    pub fn top_left(self, value: impl Into<Pixels>) -> Radius

    Sets the top left value of the Radius.

    -

    pub fn top_right(self, value: impl Into<Pixels>) -> Radius

    Sets the top right value of the Radius.

    -

    pub fn bottom_right(self, value: impl Into<Pixels>) -> Radius

    Sets the bottom right value of the Radius.

    -

    pub fn bottom_left(self, value: impl Into<Pixels>) -> Radius

    Sets the bottom left value of the Radius.

    -

    pub fn top(self, value: impl Into<Pixels>) -> Radius

    Sets the top left and top right values of the Radius.

    -

    pub fn bottom(self, value: impl Into<Pixels>) -> Radius

    Sets the bottom left and bottom right values of the Radius.

    -

    pub fn left(self, value: impl Into<Pixels>) -> Radius

    Sets the top left and bottom left values of the Radius.

    -

    pub fn right(self, value: impl Into<Pixels>) -> Radius

    Sets the top right and bottom right values of the Radius.

    -

    Trait Implementations§

    §

    impl Clone for Radius

    §

    fn clone(&self) -> Radius

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Radius

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Radius

    §

    fn default() -> Radius

    Returns the “default value” for a type. Read more
    §

    impl From<f32> for Radius

    §

    fn from(radius: f32) -> Radius

    Converts to this type from the input type.
    §

    impl From<i32> for Radius

    §

    fn from(w: i32) -> Radius

    Converts to this type from the input type.
    §

    impl From<u16> for Radius

    §

    fn from(w: u16) -> Radius

    Converts to this type from the input type.
    §

    impl From<u8> for Radius

    §

    fn from(w: u8) -> Radius

    Converts to this type from the input type.
    §

    impl PartialEq for Radius

    §

    fn eq(&self, other: &Radius) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Radius

    §

    impl StructuralPartialEq for Radius

    Auto Trait Implementations§

    §

    impl Freeze for Radius

    §

    impl RefUnwindSafe for Radius

    §

    impl Send for Radius

    §

    impl Sync for Radius

    §

    impl Unpin for Radius

    §

    impl UnwindSafe for Radius

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Radius

    source

    pub fn new(value: impl Into<Pixels>) -> Radius

    Creates a new Radius with the same value for each corner.

    +
    source

    pub fn top_left(self, value: impl Into<Pixels>) -> Radius

    Sets the top left value of the Radius.

    +
    source

    pub fn top_right(self, value: impl Into<Pixels>) -> Radius

    Sets the top right value of the Radius.

    +
    source

    pub fn bottom_right(self, value: impl Into<Pixels>) -> Radius

    Sets the bottom right value of the Radius.

    +
    source

    pub fn bottom_left(self, value: impl Into<Pixels>) -> Radius

    Sets the bottom left value of the Radius.

    +
    source

    pub fn top(self, value: impl Into<Pixels>) -> Radius

    Sets the top left and top right values of the Radius.

    +
    source

    pub fn bottom(self, value: impl Into<Pixels>) -> Radius

    Sets the bottom left and bottom right values of the Radius.

    +
    source

    pub fn left(self, value: impl Into<Pixels>) -> Radius

    Sets the top left and bottom left values of the Radius.

    +
    source

    pub fn right(self, value: impl Into<Pixels>) -> Radius

    Sets the top right and bottom right values of the Radius.

    +

    Trait Implementations§

    source§

    impl Clone for Radius

    source§

    fn clone(&self) -> Radius

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Radius

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Radius

    source§

    fn default() -> Radius

    Returns the “default value” for a type. Read more
    source§

    impl From<f32> for Radius

    source§

    fn from(radius: f32) -> Radius

    Converts to this type from the input type.
    source§

    impl From<i32> for Radius

    source§

    fn from(w: i32) -> Radius

    Converts to this type from the input type.
    source§

    impl From<u16> for Radius

    source§

    fn from(w: u16) -> Radius

    Converts to this type from the input type.
    source§

    impl From<u8> for Radius

    source§

    fn from(w: u8) -> Radius

    Converts to this type from the input type.
    source§

    impl PartialEq for Radius

    source§

    fn eq(&self, other: &Radius) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Radius

    source§

    impl StructuralPartialEq for Radius

    Auto Trait Implementations§

    §

    impl Freeze for Radius

    §

    impl RefUnwindSafe for Radius

    §

    impl Send for Radius

    §

    impl Sync for Radius

    §

    impl Unpin for Radius

    §

    impl UnwindSafe for Radius

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/enum.Alignment.html b/iced/enum.Alignment.html index 30c558e878..0ea29e1b4c 100644 --- a/iced/enum.Alignment.html +++ b/iced/enum.Alignment.html @@ -1,4 +1,4 @@ -Alignment in iced - Rust
    iced

    Enum Alignment

    pub enum Alignment {
    +Alignment in iced - Rust
    iced

    Enum Alignment

    source
    pub enum Alignment {
         Start,
         Center,
         End,
    @@ -6,11 +6,11 @@
     

    Variants§

    §

    Start

    Align at the start of the axis.

    §

    Center

    Align at the center of the axis.

    §

    End

    Align at the end of the axis.

    -

    Trait Implementations§

    §

    impl Clone for Alignment

    §

    fn clone(&self) -> Alignment

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Alignment

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Alignment> for Horizontal

    §

    fn from(alignment: Alignment) -> Horizontal

    Converts to this type from the input type.
    §

    impl From<Alignment> for Vertical

    §

    fn from(alignment: Alignment) -> Vertical

    Converts to this type from the input type.
    §

    impl From<Horizontal> for Alignment

    §

    fn from(horizontal: Horizontal) -> Alignment

    Converts to this type from the input type.
    §

    impl From<Vertical> for Alignment

    §

    fn from(vertical: Vertical) -> Alignment

    Converts to this type from the input type.
    §

    impl Hash for Alignment

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Alignment

    source§

    fn clone(&self) -> Alignment

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Alignment

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Alignment> for Horizontal

    source§

    fn from(alignment: Alignment) -> Horizontal

    Converts to this type from the input type.
    source§

    impl From<Alignment> for Vertical

    source§

    fn from(alignment: Alignment) -> Vertical

    Converts to this type from the input type.
    source§

    impl From<Horizontal> for Alignment

    source§

    fn from(horizontal: Horizontal) -> Alignment

    Converts to this type from the input type.
    source§

    impl From<Vertical> for Alignment

    source§

    fn from(vertical: Vertical) -> Alignment

    Converts to this type from the input type.
    source§

    impl Hash for Alignment

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Alignment

    §

    fn eq(&self, other: &Alignment) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Alignment

    §

    impl Eq for Alignment

    §

    impl StructuralPartialEq for Alignment

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Alignment

    source§

    fn eq(&self, other: &Alignment) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Alignment

    source§

    impl Eq for Alignment

    source§

    impl StructuralPartialEq for Alignment

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/enum.Background.html b/iced/enum.Background.html index 0f210329b1..bbc7d785c9 100644 --- a/iced/enum.Background.html +++ b/iced/enum.Background.html @@ -1,13 +1,13 @@ -Background in iced - Rust
    iced

    Enum Background

    pub enum Background {
    +Background in iced - Rust
    iced

    Enum Background

    source
    pub enum Background {
         Color(Color),
         Gradient(Gradient),
     }
    Expand description

    The background of some element.

    Variants§

    §

    Color(Color)

    A solid color.

    §

    Gradient(Gradient)

    Linearly interpolate between several colors.

    -

    Implementations§

    §

    impl Background

    pub fn scale_alpha(self, factor: f32) -> Background

    Scales the alpha channel of the Background by the given +

    Implementations§

    source§

    impl Background

    source

    pub fn scale_alpha(self, factor: f32) -> Background

    Scales the alpha channel of the Background by the given factor.

    -

    Trait Implementations§

    §

    impl Clone for Background

    §

    fn clone(&self) -> Background

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Background

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Color> for Background

    §

    fn from(color: Color) -> Background

    Converts to this type from the input type.
    §

    impl From<Gradient> for Background

    §

    fn from(gradient: Gradient) -> Background

    Converts to this type from the input type.
    §

    impl From<Linear> for Background

    §

    fn from(gradient: Linear) -> Background

    Converts to this type from the input type.
    §

    impl PartialEq for Background

    §

    fn eq(&self, other: &Background) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Background

    §

    impl StructuralPartialEq for Background

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Background

    source§

    fn clone(&self) -> Background

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Background

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Color> for Background

    source§

    fn from(color: Color) -> Background

    Converts to this type from the input type.
    source§

    impl From<Gradient> for Background

    source§

    fn from(gradient: Gradient) -> Background

    Converts to this type from the input type.
    source§

    impl From<Linear> for Background

    source§

    fn from(gradient: Linear) -> Background

    Converts to this type from the input type.
    source§

    impl PartialEq for Background

    source§

    fn eq(&self, other: &Background) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Background

    source§

    impl StructuralPartialEq for Background

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/enum.ContentFit.html b/iced/enum.ContentFit.html index 1d5fb61b0f..bfcd6989b8 100644 --- a/iced/enum.ContentFit.html +++ b/iced/enum.ContentFit.html @@ -1,4 +1,4 @@ -ContentFit in iced - Rust
    iced

    Enum ContentFit

    pub enum ContentFit {
    +ContentFit in iced - Rust
    iced

    Enum ContentFit

    source
    pub enum ContentFit {
         Contain,
         Cover,
         Fill,
    @@ -40,13 +40,13 @@
     

    This works much like Contain, except that if the image would have been scaled up, it keeps its original resolution to avoid the bluring that accompanies upscaling images.

    -

    Implementations§

    §

    impl ContentFit

    pub fn fit(&self, content: Size, bounds: Size) -> Size

    Attempt to apply the given fit for a content size within some bounds.

    +

    Implementations§

    source§

    impl ContentFit

    source

    pub fn fit(&self, content: Size, bounds: Size) -> Size

    Attempt to apply the given fit for a content size within some bounds.

    The returned value is the recommended scaled size of the content.

    -

    Trait Implementations§

    §

    impl Clone for ContentFit

    §

    fn clone(&self) -> ContentFit

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for ContentFit

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for ContentFit

    §

    fn default() -> ContentFit

    Returns the “default value” for a type. Read more
    §

    impl Display for ContentFit

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Hash for ContentFit

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for ContentFit

    source§

    fn clone(&self) -> ContentFit

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ContentFit

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for ContentFit

    source§

    fn default() -> ContentFit

    Returns the “default value” for a type. Read more
    source§

    impl Display for ContentFit

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Hash for ContentFit

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for ContentFit

    §

    fn eq(&self, other: &ContentFit) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for ContentFit

    §

    impl Eq for ContentFit

    §

    impl StructuralPartialEq for ContentFit

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for ContentFit

    source§

    fn eq(&self, other: &ContentFit) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for ContentFit

    source§

    impl Eq for ContentFit

    source§

    impl StructuralPartialEq for ContentFit

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/enum.Event.html b/iced/enum.Event.html index c0139bf2dd..560f9efdac 100644 --- a/iced/enum.Event.html +++ b/iced/enum.Event.html @@ -1,4 +1,4 @@ -Event in iced - Rust
    iced

    Enum Event

    pub enum Event {
    +Event in iced - Rust
    iced

    Enum Event

    source
    pub enum Event {
         Keyboard(Event),
         Mouse(Event),
         Window(Event),
    @@ -10,8 +10,8 @@
     
    §

    Mouse(Event)

    A mouse event

    §

    Window(Event)

    A window event

    §

    Touch(Event)

    A touch event

    -

    Trait Implementations§

    §

    impl Clone for Event

    §

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Event

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Event

    §

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Event

    source§

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Event

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Event

    source§

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/enum.Gradient.html b/iced/enum.Gradient.html index e99685c957..a9d2e4959d 100644 --- a/iced/enum.Gradient.html +++ b/iced/enum.Gradient.html @@ -1,11 +1,11 @@ -Gradient in iced - Rust
    iced

    Enum Gradient

    pub enum Gradient {
    +Gradient in iced - Rust
    iced

    Enum Gradient

    source
    pub enum Gradient {
         Linear(Linear),
     }
    Expand description

    A fill which transitions colors progressively along a direction, either linearly, radially (TBD), or conically (TBD).

    Variants§

    §

    Linear(Linear)

    A linear gradient interpolates colors along a direction at a specific angle.

    -

    Implementations§

    §

    impl Gradient

    pub fn scale_alpha(self, factor: f32) -> Gradient

    Scales the alpha channel of the Gradient by the given factor.

    -

    Trait Implementations§

    §

    impl Clone for Gradient

    §

    fn clone(&self) -> Gradient

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Gradient

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Gradient> for Background

    §

    fn from(gradient: Gradient) -> Background

    Converts to this type from the input type.
    source§

    impl From<Gradient> for Style

    source§

    fn from(gradient: Gradient) -> Style

    Converts to this type from the input type.
    §

    impl From<Linear> for Gradient

    §

    fn from(gradient: Linear) -> Gradient

    Converts to this type from the input type.
    §

    impl PartialEq for Gradient

    §

    fn eq(&self, other: &Gradient) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Gradient

    §

    impl StructuralPartialEq for Gradient

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Gradient

    source

    pub fn scale_alpha(self, factor: f32) -> Gradient

    Scales the alpha channel of the Gradient by the given factor.

    +

    Trait Implementations§

    source§

    impl Clone for Gradient

    source§

    fn clone(&self) -> Gradient

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Gradient

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Gradient> for Background

    source§

    fn from(gradient: Gradient) -> Background

    Converts to this type from the input type.
    source§

    impl From<Gradient> for Style

    source§

    fn from(gradient: Gradient) -> Style

    Converts to this type from the input type.
    source§

    impl From<Linear> for Gradient

    source§

    fn from(gradient: Linear) -> Gradient

    Converts to this type from the input type.
    source§

    impl PartialEq for Gradient

    source§

    fn eq(&self, other: &Gradient) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Gradient

    source§

    impl StructuralPartialEq for Gradient

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/enum.Length.html b/iced/enum.Length.html index 7ae4aa61dd..f823582116 100644 --- a/iced/enum.Length.html +++ b/iced/enum.Length.html @@ -1,4 +1,4 @@ -Length in iced - Rust
    iced

    Enum Length

    pub enum Length {
    +Length in iced - Rust
    iced

    Enum Length

    source
    pub enum Length {
         Fill,
         FillPortion(u16),
         Shrink,
    @@ -12,21 +12,21 @@
     

    Length::Fill is equivalent to Length::FillPortion(1).

    §

    Shrink

    Fill the least amount of space

    §

    Fixed(f32)

    Fill a fixed amount of space

    -

    Implementations§

    §

    impl Length

    pub fn fill_factor(&self) -> u16

    Returns the fill factor of the Length.

    +

    Implementations§

    source§

    impl Length

    source

    pub fn fill_factor(&self) -> u16

    Returns the fill factor of the Length.

    The fill factor is a relative unit describing how much of the remaining space should be filled when compared to other elements. It is only meant to be used by layout engines.

    -

    pub fn is_fill(&self) -> bool

    Returns true iff the Length is either Length::Fill or

    -

    pub fn fluid(&self) -> Length

    Returns the “fluid” variant of the Length.

    +
    source

    pub fn is_fill(&self) -> bool

    Returns true iff the Length is either Length::Fill or

    +
    source

    pub fn fluid(&self) -> Length

    Returns the “fluid” variant of the Length.

    Specifically:

    -

    pub fn enclose(self, other: Length) -> Length

    Adapts the Length so it can contain the other Length and +

    source

    pub fn enclose(self, other: Length) -> Length

    Adapts the Length so it can contain the other Length and match its fluidity.

    -

    Trait Implementations§

    §

    impl Clone for Length

    §

    fn clone(&self) -> Length

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Length

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Pixels> for Length

    §

    fn from(amount: Pixels) -> Length

    Converts to this type from the input type.
    §

    impl From<f32> for Length

    §

    fn from(amount: f32) -> Length

    Converts to this type from the input type.
    §

    impl From<u16> for Length

    §

    fn from(units: u16) -> Length

    Converts to this type from the input type.
    §

    impl PartialEq for Length

    §

    fn eq(&self, other: &Length) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Length

    §

    impl StructuralPartialEq for Length

    Auto Trait Implementations§

    §

    impl Freeze for Length

    §

    impl RefUnwindSafe for Length

    §

    impl Send for Length

    §

    impl Sync for Length

    §

    impl Unpin for Length

    §

    impl UnwindSafe for Length

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Length

    source§

    fn clone(&self) -> Length

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Length

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Pixels> for Length

    source§

    fn from(amount: Pixels) -> Length

    Converts to this type from the input type.
    source§

    impl From<f32> for Length

    source§

    fn from(amount: f32) -> Length

    Converts to this type from the input type.
    source§

    impl From<u16> for Length

    source§

    fn from(units: u16) -> Length

    Converts to this type from the input type.
    source§

    impl PartialEq for Length

    source§

    fn eq(&self, other: &Length) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Length

    source§

    impl StructuralPartialEq for Length

    Auto Trait Implementations§

    §

    impl Freeze for Length

    §

    impl RefUnwindSafe for Length

    §

    impl Send for Length

    §

    impl Sync for Length

    §

    impl Unpin for Length

    §

    impl UnwindSafe for Length

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/enum.Rotation.html b/iced/enum.Rotation.html index b064772cc4..29b21f9747 100644 --- a/iced/enum.Rotation.html +++ b/iced/enum.Rotation.html @@ -1,4 +1,4 @@ -Rotation in iced - Rust
    iced

    Enum Rotation

    pub enum Rotation {
    +Rotation in iced - Rust
    iced

    Enum Rotation

    source
    pub enum Rotation {
         Floating(Radians),
         Solid(Radians),
     }
    Expand description

    The strategy used to rotate the content.

    @@ -13,13 +13,13 @@ the rotated content.

    This allows you to rotate an image and have the layout adjust to fit the new size of the image.

    -

    Implementations§

    §

    impl Rotation

    pub fn radians(self) -> Radians

    Returns the angle of the Rotation in Radians.

    -

    pub fn radians_mut(&mut self) -> &mut Radians

    Returns a mutable reference to the angle of the Rotation in Radians.

    -

    pub fn degrees(self) -> Degrees

    Returns the angle of the Rotation in Degrees.

    -

    pub fn apply(self, size: Size) -> Size

    Applies the Rotation to the given Size, returning +

    Implementations§

    source§

    impl Rotation

    source

    pub fn radians(self) -> Radians

    Returns the angle of the Rotation in Radians.

    +
    source

    pub fn radians_mut(&mut self) -> &mut Radians

    Returns a mutable reference to the angle of the Rotation in Radians.

    +
    source

    pub fn degrees(self) -> Degrees

    Returns the angle of the Rotation in Degrees.

    +
    source

    pub fn apply(self, size: Size) -> Size

    Applies the Rotation to the given Size, returning the minimum Size containing the rotated one.

    -

    Trait Implementations§

    §

    impl Clone for Rotation

    §

    fn clone(&self) -> Rotation

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Rotation

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Rotation

    §

    fn default() -> Rotation

    Returns the “default value” for a type. Read more
    §

    impl From<Radians> for Rotation

    §

    fn from(radians: Radians) -> Rotation

    Converts to this type from the input type.
    §

    impl From<f32> for Rotation

    §

    fn from(radians: f32) -> Rotation

    Converts to this type from the input type.
    §

    impl PartialEq for Rotation

    §

    fn eq(&self, other: &Rotation) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Rotation

    §

    impl StructuralPartialEq for Rotation

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Rotation

    source§

    fn clone(&self) -> Rotation

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Rotation

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Rotation

    source§

    fn default() -> Rotation

    Returns the “default value” for a type. Read more
    source§

    impl From<Radians> for Rotation

    source§

    fn from(radians: Radians) -> Rotation

    Converts to this type from the input type.
    source§

    impl From<f32> for Rotation

    source§

    fn from(radians: f32) -> Rotation

    Converts to this type from the input type.
    source§

    impl PartialEq for Rotation

    source§

    fn eq(&self, other: &Rotation) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Rotation

    source§

    impl StructuralPartialEq for Rotation

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/enum.Theme.html b/iced/enum.Theme.html index d0bd69aa50..2b5f90e9c9 100644 --- a/iced/enum.Theme.html +++ b/iced/enum.Theme.html @@ -1,4 +1,4 @@ -Theme in iced - Rust
    iced

    Enum Theme

    pub enum Theme {
    +Theme in iced - Rust
    iced

    Enum Theme

    source
    pub enum Theme {
     
    Show 23 variants Light, Dark, Dracula, @@ -46,22 +46,22 @@
    §

    Oxocarbon

    The built-in Oxocarbon variant.

    §

    Ferra

    The built-in Ferra variant:

    §

    Custom(Arc<Custom>)

    A Theme that uses a Custom palette.

    -

    Implementations§

    §

    impl Theme

    pub const ALL: &'static [Theme] = _

    A list with all the defined themes.

    -

    pub fn custom(name: String, palette: Palette) -> Theme

    Creates a new custom Theme from the given Palette.

    -

    pub fn custom_with_fn( +

    Implementations§

    source§

    impl Theme

    source

    pub const ALL: &'static [Theme] = _

    A list with all the defined themes.

    +
    source

    pub fn custom(name: String, palette: Palette) -> Theme

    Creates a new custom Theme from the given Palette.

    +
    source

    pub fn custom_with_fn( name: String, palette: Palette, generate: impl FnOnce(Palette) -> Extended, ) -> Theme

    Creates a new custom Theme from the given Palette, with a custom generator of a palette::Extended.

    -

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    -

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    -

    Trait Implementations§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn code_block<'a>() -> <Theme as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    §

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    §

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> Self::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> Self::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style( +

    source

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    +
    source

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    +

    Trait Implementations§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn code_block<'a>() -> <Theme as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> Self::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> Self::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style( &self, class: &Box<dyn Fn(&Theme, Status) -> Style + '_>, status: Status, -) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the PickList.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    §

    impl Clone for Theme

    §

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Theme

    §

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    source§

    impl DefaultStyle for Theme

    source§

    fn default_style(&self) -> Appearance

    Returns the default style of a Program.
    §

    impl Display for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Theme

    §

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the PickList.

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Clone for Theme

    source§

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Theme

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Theme

    source§

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    source§

    impl DefaultStyle for Theme

    source§

    fn default_style(&self) -> Appearance

    Returns the default style of a Program.
    source§

    impl Display for Theme

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Theme

    source§

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/event/enum.Event.html b/iced/event/enum.Event.html index eafae03894..9ee129ea22 100644 --- a/iced/event/enum.Event.html +++ b/iced/event/enum.Event.html @@ -1,4 +1,4 @@ -Event in iced::event - Rust
    iced::event

    Enum Event

    pub enum Event {
    +Event in iced::event - Rust
    iced::event

    Enum Event

    source
    pub enum Event {
         Keyboard(Event),
         Mouse(Event),
         Window(Event),
    @@ -10,8 +10,8 @@
     
    §

    Mouse(Event)

    A mouse event

    §

    Window(Event)

    A window event

    §

    Touch(Event)

    A touch event

    -

    Trait Implementations§

    §

    impl Clone for Event

    §

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Event

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Event

    §

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Event

    source§

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Event

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Event

    source§

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/event/enum.Status.html b/iced/event/enum.Status.html index 11ef0b0436..52347dba90 100644 --- a/iced/event/enum.Status.html +++ b/iced/event/enum.Status.html @@ -1,10 +1,10 @@ -Status in iced::event - Rust
    iced::event

    Enum Status

    pub enum Status {
    +Status in iced::event - Rust
    iced::event

    Enum Status

    source
    pub enum Status {
         Ignored,
         Captured,
     }
    Expand description

    The status of an Event after being processed.

    Variants§

    §

    Ignored

    The Event was NOT handled by any widget.

    §

    Captured

    The Event was handled and processed by a widget.

    -

    Implementations§

    §

    impl Status

    pub fn merge(self, b: Status) -> Status

    Merges two Status into one.

    +

    Implementations§

    source§

    impl Status

    source

    pub fn merge(self, b: Status) -> Status

    Merges two Status into one.

    Captured takes precedence over Ignored:

    use iced_core::event::Status;
    @@ -13,8 +13,8 @@
     assert_eq!(Status::Ignored.merge(Status::Captured), Status::Captured);
     assert_eq!(Status::Captured.merge(Status::Ignored), Status::Captured);
     assert_eq!(Status::Captured.merge(Status::Captured), Status::Captured);
    -

    Trait Implementations§

    §

    impl Clone for Status

    §

    fn clone(&self) -> Status

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Status

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Status

    §

    fn eq(&self, other: &Status) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Status

    §

    impl Eq for Status

    §

    impl StructuralPartialEq for Status

    Auto Trait Implementations§

    §

    impl Freeze for Status

    §

    impl RefUnwindSafe for Status

    §

    impl Send for Status

    §

    impl Sync for Status

    §

    impl Unpin for Status

    §

    impl UnwindSafe for Status

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Status

    source§

    fn clone(&self) -> Status

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Status

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Status

    source§

    fn eq(&self, other: &Status) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Status

    source§

    impl Eq for Status

    source§

    impl StructuralPartialEq for Status

    Auto Trait Implementations§

    §

    impl Freeze for Status

    §

    impl RefUnwindSafe for Status

    §

    impl Send for Status

    §

    impl Sync for Status

    §

    impl Unpin for Status

    §

    impl UnwindSafe for Status

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/font/enum.Family.html b/iced/font/enum.Family.html index 815dc44774..095c1215f8 100644 --- a/iced/font/enum.Family.html +++ b/iced/font/enum.Family.html @@ -1,4 +1,4 @@ -Family in iced::font - Rust
    iced::font

    Enum Family

    pub enum Family {
    +Family in iced::font - Rust
    iced::font

    Enum Family

    source
    pub enum Family {
         Name(&'static str),
         Serif,
         SansSerif,
    @@ -18,11 +18,11 @@
     decorative or expressive representations of characters.

    §

    Monospace

    The sole criterion of a monospace font is that all glyphs have the same fixed width.

    -

    Trait Implementations§

    §

    impl Clone for Family

    §

    fn clone(&self) -> Family

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Family

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Family

    §

    fn default() -> Family

    Returns the “default value” for a type. Read more
    §

    impl Hash for Family

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Family

    source§

    fn clone(&self) -> Family

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Family

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Family

    source§

    fn default() -> Family

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Family

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Family

    §

    fn eq(&self, other: &Family) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Family

    §

    impl Eq for Family

    §

    impl StructuralPartialEq for Family

    Auto Trait Implementations§

    §

    impl Freeze for Family

    §

    impl RefUnwindSafe for Family

    §

    impl Send for Family

    §

    impl Sync for Family

    §

    impl Unpin for Family

    §

    impl UnwindSafe for Family

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Family

    source§

    fn eq(&self, other: &Family) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Family

    source§

    impl Eq for Family

    source§

    impl StructuralPartialEq for Family

    Auto Trait Implementations§

    §

    impl Freeze for Family

    §

    impl RefUnwindSafe for Family

    §

    impl Send for Family

    §

    impl Sync for Family

    §

    impl Unpin for Family

    §

    impl UnwindSafe for Family

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/font/enum.Stretch.html b/iced/font/enum.Stretch.html index 80fdf37377..76ab4ae767 100644 --- a/iced/font/enum.Stretch.html +++ b/iced/font/enum.Stretch.html @@ -1,4 +1,4 @@ -Stretch in iced::font - Rust
    iced::font

    Enum Stretch

    pub enum Stretch {
    +Stretch in iced::font - Rust
    iced::font

    Enum Stretch

    source
    pub enum Stretch {
         UltraCondensed,
         ExtraCondensed,
         Condensed,
    @@ -9,11 +9,11 @@
         ExtraExpanded,
         UltraExpanded,
     }
    Expand description

    The width of some text.

    -

    Variants§

    §

    UltraCondensed

    §

    ExtraCondensed

    §

    Condensed

    §

    SemiCondensed

    §

    Normal

    §

    SemiExpanded

    §

    Expanded

    §

    ExtraExpanded

    §

    UltraExpanded

    Trait Implementations§

    §

    impl Clone for Stretch

    §

    fn clone(&self) -> Stretch

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Stretch

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Stretch

    §

    fn default() -> Stretch

    Returns the “default value” for a type. Read more
    §

    impl Hash for Stretch

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Variants§

    §

    UltraCondensed

    §

    ExtraCondensed

    §

    Condensed

    §

    SemiCondensed

    §

    Normal

    §

    SemiExpanded

    §

    Expanded

    §

    ExtraExpanded

    §

    UltraExpanded

    Trait Implementations§

    source§

    impl Clone for Stretch

    source§

    fn clone(&self) -> Stretch

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Stretch

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Stretch

    source§

    fn default() -> Stretch

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Stretch

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Stretch

    §

    fn eq(&self, other: &Stretch) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Stretch

    §

    impl Eq for Stretch

    §

    impl StructuralPartialEq for Stretch

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Stretch

    source§

    fn eq(&self, other: &Stretch) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Stretch

    source§

    impl Eq for Stretch

    source§

    impl StructuralPartialEq for Stretch

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/font/enum.Style.html b/iced/font/enum.Style.html index cbe5a723c7..76f8a6e63c 100644 --- a/iced/font/enum.Style.html +++ b/iced/font/enum.Style.html @@ -1,13 +1,13 @@ -Style in iced::font - Rust
    iced::font

    Enum Style

    pub enum Style {
    +Style in iced::font - Rust
    iced::font

    Enum Style

    source
    pub enum Style {
         Normal,
         Italic,
         Oblique,
     }
    Expand description

    The style of some text.

    -

    Variants§

    §

    Normal

    §

    Italic

    §

    Oblique

    Trait Implementations§

    §

    impl Clone for Style

    §

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Style

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Style

    §

    fn default() -> Style

    Returns the “default value” for a type. Read more
    §

    impl Hash for Style

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Variants§

    §

    Normal

    §

    Italic

    §

    Oblique

    Trait Implementations§

    source§

    impl Clone for Style

    source§

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Style

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Style

    source§

    fn default() -> Style

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Style

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Style

    §

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Style

    §

    impl Eq for Style

    §

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Style

    source§

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Style

    source§

    impl Eq for Style

    source§

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/font/enum.Weight.html b/iced/font/enum.Weight.html index 6b54473806..6a7d58f9e3 100644 --- a/iced/font/enum.Weight.html +++ b/iced/font/enum.Weight.html @@ -1,4 +1,4 @@ -Weight in iced::font - Rust
    iced::font

    Enum Weight

    pub enum Weight {
    +Weight in iced::font - Rust
    iced::font

    Enum Weight

    source
    pub enum Weight {
         Thin,
         ExtraLight,
         Light,
    @@ -9,11 +9,11 @@
         ExtraBold,
         Black,
     }
    Expand description

    The weight of some text.

    -

    Variants§

    §

    Thin

    §

    ExtraLight

    §

    Light

    §

    Normal

    §

    Medium

    §

    Semibold

    §

    Bold

    §

    ExtraBold

    §

    Black

    Trait Implementations§

    §

    impl Clone for Weight

    §

    fn clone(&self) -> Weight

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Weight

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Weight

    §

    fn default() -> Weight

    Returns the “default value” for a type. Read more
    §

    impl Hash for Weight

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Variants§

    §

    Thin

    §

    ExtraLight

    §

    Light

    §

    Normal

    §

    Medium

    §

    Semibold

    §

    Bold

    §

    ExtraBold

    §

    Black

    Trait Implementations§

    source§

    impl Clone for Weight

    source§

    fn clone(&self) -> Weight

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Weight

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Weight

    source§

    fn default() -> Weight

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Weight

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Weight

    §

    fn eq(&self, other: &Weight) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Weight

    §

    impl Eq for Weight

    §

    impl StructuralPartialEq for Weight

    Auto Trait Implementations§

    §

    impl Freeze for Weight

    §

    impl RefUnwindSafe for Weight

    §

    impl Send for Weight

    §

    impl Sync for Weight

    §

    impl Unpin for Weight

    §

    impl UnwindSafe for Weight

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Weight

    source§

    fn eq(&self, other: &Weight) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Weight

    source§

    impl Eq for Weight

    source§

    impl StructuralPartialEq for Weight

    Auto Trait Implementations§

    §

    impl Freeze for Weight

    §

    impl RefUnwindSafe for Weight

    §

    impl Send for Weight

    §

    impl Sync for Weight

    §

    impl Unpin for Weight

    §

    impl UnwindSafe for Weight

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/font/struct.Font.html b/iced/font/struct.Font.html index 39f7a45ba4..f5306e6740 100644 --- a/iced/font/struct.Font.html +++ b/iced/font/struct.Font.html @@ -1,4 +1,4 @@ -Font in iced::font - Rust
    iced::font

    Struct Font

    pub struct Font {
    +Font in iced::font - Rust
    iced::font

    Struct Font

    source
    pub struct Font {
         pub family: Family,
         pub weight: Weight,
         pub stretch: Stretch,
    @@ -8,15 +8,15 @@
     
    §weight: Weight

    The Weight of the Font.

    §stretch: Stretch

    The Stretch of the Font.

    §style: Style

    The Style of the Font.

    -

    Implementations§

    §

    impl Font

    pub const DEFAULT: Font = _

    A non-monospaced sans-serif font with normal Weight.

    -

    pub const MONOSPACE: Font = _

    A monospaced font with normal Weight.

    -

    pub const fn with_name(name: &'static str) -> Font

    Creates a non-monospaced Font with the given Family::Name and +

    Implementations§

    source§

    impl Font

    source

    pub const DEFAULT: Font = _

    A non-monospaced sans-serif font with normal Weight.

    +
    source

    pub const MONOSPACE: Font = _

    A monospaced font with normal Weight.

    +
    source

    pub const fn with_name(name: &'static str) -> Font

    Creates a non-monospaced Font with the given Family::Name and normal Weight.

    -

    Trait Implementations§

    §

    impl Clone for Font

    §

    fn clone(&self) -> Font

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Font

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Font

    §

    fn default() -> Font

    Returns the “default value” for a type. Read more
    §

    impl Hash for Font

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Font

    source§

    fn clone(&self) -> Font

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Font

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Font

    source§

    fn default() -> Font

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Font

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Font

    §

    fn eq(&self, other: &Font) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Font

    §

    impl Eq for Font

    §

    impl StructuralPartialEq for Font

    Auto Trait Implementations§

    §

    impl Freeze for Font

    §

    impl RefUnwindSafe for Font

    §

    impl Send for Font

    §

    impl Sync for Font

    §

    impl Unpin for Font

    §

    impl UnwindSafe for Font

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Font

    source§

    fn eq(&self, other: &Font) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Font

    source§

    impl Eq for Font

    source§

    impl StructuralPartialEq for Font

    Auto Trait Implementations§

    §

    impl Freeze for Font

    §

    impl RefUnwindSafe for Font

    §

    impl Send for Font

    §

    impl Sync for Font

    §

    impl Unpin for Font

    §

    impl UnwindSafe for Font

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/gradient/enum.Gradient.html b/iced/gradient/enum.Gradient.html index 767aebf9d9..fff5572edc 100644 --- a/iced/gradient/enum.Gradient.html +++ b/iced/gradient/enum.Gradient.html @@ -1,11 +1,11 @@ -Gradient in iced::gradient - Rust
    iced::gradient

    Enum Gradient

    pub enum Gradient {
    +Gradient in iced::gradient - Rust
    iced::gradient

    Enum Gradient

    source
    pub enum Gradient {
         Linear(Linear),
     }
    Expand description

    A fill which transitions colors progressively along a direction, either linearly, radially (TBD), or conically (TBD).

    Variants§

    §

    Linear(Linear)

    A linear gradient interpolates colors along a direction at a specific angle.

    -

    Implementations§

    §

    impl Gradient

    pub fn scale_alpha(self, factor: f32) -> Gradient

    Scales the alpha channel of the Gradient by the given factor.

    -

    Trait Implementations§

    §

    impl Clone for Gradient

    §

    fn clone(&self) -> Gradient

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Gradient

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Gradient> for Background

    §

    fn from(gradient: Gradient) -> Background

    Converts to this type from the input type.
    source§

    impl From<Gradient> for Style

    source§

    fn from(gradient: Gradient) -> Style

    Converts to this type from the input type.
    §

    impl From<Linear> for Gradient

    §

    fn from(gradient: Linear) -> Gradient

    Converts to this type from the input type.
    §

    impl PartialEq for Gradient

    §

    fn eq(&self, other: &Gradient) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Gradient

    §

    impl StructuralPartialEq for Gradient

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Gradient

    source

    pub fn scale_alpha(self, factor: f32) -> Gradient

    Scales the alpha channel of the Gradient by the given factor.

    +

    Trait Implementations§

    source§

    impl Clone for Gradient

    source§

    fn clone(&self) -> Gradient

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Gradient

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Gradient> for Background

    source§

    fn from(gradient: Gradient) -> Background

    Converts to this type from the input type.
    source§

    impl From<Gradient> for Style

    source§

    fn from(gradient: Gradient) -> Style

    Converts to this type from the input type.
    source§

    impl From<Linear> for Gradient

    source§

    fn from(gradient: Linear) -> Gradient

    Converts to this type from the input type.
    source§

    impl PartialEq for Gradient

    source§

    fn eq(&self, other: &Gradient) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Gradient

    source§

    impl StructuralPartialEq for Gradient

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/gradient/index.html b/iced/gradient/index.html index 3c1c87a73f..e69a3ea359 100644 --- a/iced/gradient/index.html +++ b/iced/gradient/index.html @@ -1,3 +1,3 @@ -iced::gradient - Rust
    iced

    Module gradient

    Expand description

    Colors that transition progressively.

    +iced::gradient - Rust
    iced

    Module gradient

    source
    Expand description

    Colors that transition progressively.

    Structs§

    • A point along the gradient vector where the specified color is unmixed.
    • A linear gradient.

    Enums§

    • A fill which transitions colors progressively along a direction, either linearly, radially (TBD), or conically (TBD).
    \ No newline at end of file diff --git a/iced/gradient/struct.ColorStop.html b/iced/gradient/struct.ColorStop.html index 391fe65b70..40b185b8a0 100644 --- a/iced/gradient/struct.ColorStop.html +++ b/iced/gradient/struct.ColorStop.html @@ -1,11 +1,11 @@ -ColorStop in iced::gradient - Rust
    iced::gradient

    Struct ColorStop

    pub struct ColorStop {
    +ColorStop in iced::gradient - Rust
    iced::gradient

    Struct ColorStop

    source
    pub struct ColorStop {
         pub offset: f32,
         pub color: Color,
     }
    Expand description

    A point along the gradient vector where the specified color is unmixed.

    Fields§

    §offset: f32

    Offset along the gradient vector.

    §color: Color

    The color of the gradient at the specified offset.

    -

    Trait Implementations§

    §

    impl Clone for ColorStop

    §

    fn clone(&self) -> ColorStop

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for ColorStop

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for ColorStop

    §

    fn default() -> ColorStop

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for ColorStop

    §

    fn eq(&self, other: &ColorStop) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for ColorStop

    §

    impl StructuralPartialEq for ColorStop

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for ColorStop

    source§

    fn clone(&self) -> ColorStop

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ColorStop

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for ColorStop

    source§

    fn default() -> ColorStop

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for ColorStop

    source§

    fn eq(&self, other: &ColorStop) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for ColorStop

    source§

    impl StructuralPartialEq for ColorStop

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/gradient/struct.Linear.html b/iced/gradient/struct.Linear.html index 1f57b8217f..44d6514337 100644 --- a/iced/gradient/struct.Linear.html +++ b/iced/gradient/struct.Linear.html @@ -1,19 +1,19 @@ -Linear in iced::gradient - Rust
    iced::gradient

    Struct Linear

    pub struct Linear {
    +Linear in iced::gradient - Rust
    iced::gradient

    Struct Linear

    source
    pub struct Linear {
         pub angle: Radians,
         pub stops: [Option<ColorStop>; 8],
     }
    Expand description

    A linear gradient.

    Fields§

    §angle: Radians

    How the Gradient is angled within its bounds.

    §stops: [Option<ColorStop>; 8]

    ColorStops along the linear gradient path.

    -

    Implementations§

    §

    impl Linear

    pub fn new(angle: impl Into<Radians>) -> Linear

    Creates a new Linear gradient with the given angle in Radians.

    -

    pub fn add_stop(self, offset: f32, color: Color) -> Linear

    Adds a new ColorStop, defined by an offset and a color, to the gradient.

    +

    Implementations§

    source§

    impl Linear

    source

    pub fn new(angle: impl Into<Radians>) -> Linear

    Creates a new Linear gradient with the given angle in Radians.

    +
    source

    pub fn add_stop(self, offset: f32, color: Color) -> Linear

    Adds a new ColorStop, defined by an offset and a color, to the gradient.

    Any offset that is not within 0.0..=1.0 will be silently ignored.

    Any stop added after the 8th will be silently ignored.

    -

    pub fn add_stops(self, stops: impl IntoIterator<Item = ColorStop>) -> Linear

    Adds multiple ColorStops to the gradient.

    +
    source

    pub fn add_stops(self, stops: impl IntoIterator<Item = ColorStop>) -> Linear

    Adds multiple ColorStops to the gradient.

    Any stop added after the 8th will be silently ignored.

    -

    pub fn scale_alpha(self, factor: f32) -> Linear

    Scales the alpha channel of the Linear gradient by the given +

    source

    pub fn scale_alpha(self, factor: f32) -> Linear

    Scales the alpha channel of the Linear gradient by the given factor.

    -

    Trait Implementations§

    §

    impl Clone for Linear

    §

    fn clone(&self) -> Linear

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Linear

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Linear> for Background

    §

    fn from(gradient: Linear) -> Background

    Converts to this type from the input type.
    §

    impl From<Linear> for Gradient

    §

    fn from(gradient: Linear) -> Gradient

    Converts to this type from the input type.
    source§

    impl From<Linear> for Style

    source§

    fn from(gradient: Linear) -> Style

    Converts to this type from the input type.
    §

    impl PartialEq for Linear

    §

    fn eq(&self, other: &Linear) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Linear

    §

    impl StructuralPartialEq for Linear

    Auto Trait Implementations§

    §

    impl Freeze for Linear

    §

    impl RefUnwindSafe for Linear

    §

    impl Send for Linear

    §

    impl Sync for Linear

    §

    impl Unpin for Linear

    §

    impl UnwindSafe for Linear

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Linear

    source§

    fn clone(&self) -> Linear

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Linear

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Linear> for Background

    source§

    fn from(gradient: Linear) -> Background

    Converts to this type from the input type.
    source§

    impl From<Linear> for Gradient

    source§

    fn from(gradient: Linear) -> Gradient

    Converts to this type from the input type.
    source§

    impl From<Linear> for Style

    source§

    fn from(gradient: Linear) -> Style

    Converts to this type from the input type.
    source§

    impl PartialEq for Linear

    source§

    fn eq(&self, other: &Linear) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Linear

    source§

    impl StructuralPartialEq for Linear

    Auto Trait Implementations§

    §

    impl Freeze for Linear

    §

    impl RefUnwindSafe for Linear

    §

    impl Send for Linear

    §

    impl Sync for Linear

    §

    impl Unpin for Linear

    §

    impl UnwindSafe for Linear

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/index.html b/iced/index.html index 6a1f815716..61a4495a0c 100644 --- a/iced/index.html +++ b/iced/index.html @@ -316,7 +316,7 @@

    Contacts::update returns an Action::Chat with the selected contact.

    Effectively, this approach lets you “tell a story” to connect different screens together in a type safe way.

    -

    Furthermore, functor methods like Task::map, [Element::map], and Subscription::map make composition +

    Furthermore, functor methods like Task::map, Element::map, and Subscription::map make composition seamless.

    Re-exports§

    • pub use application::Application;
    • pub use daemon::Daemon;
    • pub use settings::Settings;
    • pub use iced_futures::futures;
    • pub use iced_highlighter as highlighter;
      highlighter
    • pub use iced_renderer::wgpu::wgpu;
      wgpu
    • pub use alignment::Horizontal::Left;
    • pub use alignment::Horizontal::Right;
    • pub use alignment::Vertical::Bottom;
    • pub use alignment::Vertical::Top;
    • pub use Alignment::Center;
    • pub use Length::Fill;
    • pub use Length::FillPortion;
    • pub use Length::Shrink;

    Modules§

    • advancedadvanced
      Leverage advanced concepts like custom widgets.
    • Align and position widgets.
    • Create and run iced applications step by step.
    • Draw lines around containers.
    • Access the clipboard.
    • Create and run daemons that run in the background.
    • Handle events of a user interface.
    • Choose your preferred executor to power your application.
    • Load and use fonts.
    • Colors that transition progressively.
    • Listen and react to keyboard events.
    • Listen and react to mouse events.
    • Display interactive elements on top of other widgets.
    • Space stuff around the perimeter.
    • Configure your application.
    • Create asynchronous streams of data.
    • systemsystem
      Retrieve system information.
    • Create runtime tasks.
    • Use the built-in theme and styles.
    • Listen and react to time.
    • Listen and react to touch events.
    • Use the built-in widgets or create your own.
    • Configure the window of your application in native platforms.

    Macros§

    • Creates a Color with shorter and cleaner syntax.

    Structs§

    Enums§

    • Alignment on the axis of a container.
    • The background of some element.
    • The strategy used to fit the contents of a widget to its bounding box.
    • An error that occurred while running an application.
    • A user interface event.
    • A fill which transitions colors progressively along a direction, either linearly, radially (TBD), or conically (TBD).
    • The strategy used to fill space in a specific dimension.
    • The strategy used to rotate the content.
    • A built-in theme.

    Traits§

    Functions§

    Trait Implementations§

    §

    impl Clone for Event

    §

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Event

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Event

    §

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Eq for Event

    §

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Event

    source§

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Event

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Event

    source§

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Eq for Event

    source§

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/keyboard/enum.Key.html b/iced/keyboard/enum.Key.html index 06979720e5..807ca7d003 100644 --- a/iced/keyboard/enum.Key.html +++ b/iced/keyboard/enum.Key.html @@ -1,4 +1,4 @@ -Key in iced::keyboard - Rust
    iced::keyboard

    Enum Key

    pub enum Key<C = SmolStr> {
    +Key in iced::keyboard - Rust
    iced::keyboard

    Enum Key

    source
    pub enum Key<C = SmolStr> {
         Named(Named),
         Character(C),
         Unidentified,
    @@ -9,26 +9,26 @@
     user’s current locale setting, and any system-level keyboard mapping overrides that are in
     effect.

    §

    Unidentified

    An unidentified key.

    -

    Implementations§

    §

    impl Key

    pub fn as_ref(&self) -> Key<&str>

    Convert Key::Character(SmolStr) to Key::Character(&str) so you can more easily match on +

    Implementations§

    source§

    impl Key

    source

    pub fn as_ref(&self) -> Key<&str>

    Convert Key::Character(SmolStr) to Key::Character(&str) so you can more easily match on Key. All other variants remain unchanged.

    -

    Trait Implementations§

    §

    impl<C> Clone for Key<C>
    where - C: Clone,

    §

    fn clone(&self) -> Key<C>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<C> Debug for Key<C>
    where - C: Debug,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<C> Hash for Key<C>
    where - C: Hash,

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl<C> Clone for Key<C>
    where + C: Clone,

    source§

    fn clone(&self) -> Key<C>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<C> Debug for Key<C>
    where + C: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<C> Hash for Key<C>
    where + C: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl<C> Ord for Key<C>
    where - C: Ord,

    §

    fn cmp(&self, other: &Key<C>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<C> Ord for Key<C>
    where + C: Ord,

    source§

    fn cmp(&self, other: &Key<C>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl<C> PartialEq for Key<C>
    where - C: PartialEq,

    §

    fn eq(&self, other: &Key<C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl<C> PartialOrd for Key<C>
    where - C: PartialOrd,

    §

    fn partial_cmp(&self, other: &Key<C>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl<C> PartialEq for Key<C>
    where + C: PartialEq,

    source§

    fn eq(&self, other: &Key<C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<C> PartialOrd for Key<C>
    where + C: PartialOrd,

    source§

    fn partial_cmp(&self, other: &Key<C>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl<C> Eq for Key<C>
    where - C: Eq,

    §

    impl<C> StructuralPartialEq for Key<C>

    Auto Trait Implementations§

    §

    impl<C> Freeze for Key<C>
    where +the >= operator. Read more

    source§

    impl<C> Eq for Key<C>
    where + C: Eq,

    source§

    impl<C> StructuralPartialEq for Key<C>

    Auto Trait Implementations§

    §

    impl<C> Freeze for Key<C>
    where C: Freeze,

    §

    impl<C> RefUnwindSafe for Key<C>
    where C: RefUnwindSafe,

    §

    impl<C> Send for Key<C>
    where C: Send,

    §

    impl<C> Sync for Key<C>
    where diff --git a/iced/keyboard/enum.Location.html b/iced/keyboard/enum.Location.html index 3539e28b00..73131cd735 100644 --- a/iced/keyboard/enum.Location.html +++ b/iced/keyboard/enum.Location.html @@ -1,4 +1,4 @@ -Location in iced::keyboard - Rust
    iced::keyboard

    Enum Location

    pub enum Location {
    +Location in iced::keyboard - Rust
    iced::keyboard

    Enum Location

    source
    pub enum Location {
         Standard,
         Left,
         Right,
    @@ -8,8 +8,8 @@
     
    §

    Left

    The left side of the keyboard.

    §

    Right

    The right side of the keyboard.

    §

    Numpad

    The numpad of the keyboard.

    -

    Trait Implementations§

    §

    impl Clone for Location

    §

    fn clone(&self) -> Location

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Location

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Location

    §

    fn eq(&self, other: &Location) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Location

    §

    impl Eq for Location

    §

    impl StructuralPartialEq for Location

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Location

    source§

    fn clone(&self) -> Location

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Location

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Location

    source§

    fn eq(&self, other: &Location) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Location

    source§

    impl Eq for Location

    source§

    impl StructuralPartialEq for Location

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/keyboard/key/enum.Code.html b/iced/keyboard/key/enum.Code.html index 0d680ce44e..d779ba73d0 100644 --- a/iced/keyboard/key/enum.Code.html +++ b/iced/keyboard/key/enum.Code.html @@ -1,4 +1,4 @@ -Code in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum Code

    #[non_exhaustive]
    pub enum Code { +Code in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum Code

    source
    #[non_exhaustive]
    pub enum Code {
    Show 194 variants Backquote, Backslash, BracketLeft, @@ -438,19 +438,19 @@
    §

    F33

    General-purpose function key.

    §

    F34

    General-purpose function key.

    §

    F35

    General-purpose function key.

    -

    Trait Implementations§

    §

    impl Clone for Code

    §

    fn clone(&self) -> Code

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Code

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Hash for Code

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Code

    source§

    fn clone(&self) -> Code

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Code

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Code

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for Code

    §

    fn cmp(&self, other: &Code) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Code

    source§

    fn cmp(&self, other: &Code) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq<Code> for Physical

    §

    fn eq(&self, rhs: &Code) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq<Physical> for Code

    §

    fn eq(&self, rhs: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq for Code

    §

    fn eq(&self, other: &Code) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for Code

    §

    fn partial_cmp(&self, other: &Code) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq<Code> for Physical

    source§

    fn eq(&self, rhs: &Code) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq<Physical> for Code

    source§

    fn eq(&self, rhs: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq for Code

    source§

    fn eq(&self, other: &Code) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Code

    source§

    fn partial_cmp(&self, other: &Code) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for Code

    §

    impl Eq for Code

    §

    impl StructuralPartialEq for Code

    Auto Trait Implementations§

    §

    impl Freeze for Code

    §

    impl RefUnwindSafe for Code

    §

    impl Send for Code

    §

    impl Sync for Code

    §

    impl Unpin for Code

    §

    impl UnwindSafe for Code

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for Code

    source§

    impl Eq for Code

    source§

    impl StructuralPartialEq for Code

    Auto Trait Implementations§

    §

    impl Freeze for Code

    §

    impl RefUnwindSafe for Code

    §

    impl Send for Code

    §

    impl Sync for Code

    §

    impl Unpin for Code

    §

    impl UnwindSafe for Code

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/keyboard/key/enum.Key.html b/iced/keyboard/key/enum.Key.html index f3e5c73f25..fe9e6eaaf5 100644 --- a/iced/keyboard/key/enum.Key.html +++ b/iced/keyboard/key/enum.Key.html @@ -1,4 +1,4 @@ -Key in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum Key

    pub enum Key<C = SmolStr> {
    +Key in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum Key

    source
    pub enum Key<C = SmolStr> {
         Named(Named),
         Character(C),
         Unidentified,
    @@ -9,26 +9,26 @@
     user’s current locale setting, and any system-level keyboard mapping overrides that are in
     effect.

    §

    Unidentified

    An unidentified key.

    -

    Implementations§

    §

    impl Key

    pub fn as_ref(&self) -> Key<&str>

    Convert Key::Character(SmolStr) to Key::Character(&str) so you can more easily match on +

    Implementations§

    source§

    impl Key

    source

    pub fn as_ref(&self) -> Key<&str>

    Convert Key::Character(SmolStr) to Key::Character(&str) so you can more easily match on Key. All other variants remain unchanged.

    -

    Trait Implementations§

    §

    impl<C> Clone for Key<C>
    where - C: Clone,

    §

    fn clone(&self) -> Key<C>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<C> Debug for Key<C>
    where - C: Debug,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<C> Hash for Key<C>
    where - C: Hash,

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl<C> Clone for Key<C>
    where + C: Clone,

    source§

    fn clone(&self) -> Key<C>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<C> Debug for Key<C>
    where + C: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<C> Hash for Key<C>
    where + C: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl<C> Ord for Key<C>
    where - C: Ord,

    §

    fn cmp(&self, other: &Key<C>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<C> Ord for Key<C>
    where + C: Ord,

    source§

    fn cmp(&self, other: &Key<C>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl<C> PartialEq for Key<C>
    where - C: PartialEq,

    §

    fn eq(&self, other: &Key<C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl<C> PartialOrd for Key<C>
    where - C: PartialOrd,

    §

    fn partial_cmp(&self, other: &Key<C>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl<C> PartialEq for Key<C>
    where + C: PartialEq,

    source§

    fn eq(&self, other: &Key<C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<C> PartialOrd for Key<C>
    where + C: PartialOrd,

    source§

    fn partial_cmp(&self, other: &Key<C>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl<C> Eq for Key<C>
    where - C: Eq,

    §

    impl<C> StructuralPartialEq for Key<C>

    Auto Trait Implementations§

    §

    impl<C> Freeze for Key<C>
    where +the >= operator. Read more

    source§

    impl<C> Eq for Key<C>
    where + C: Eq,

    source§

    impl<C> StructuralPartialEq for Key<C>

    Auto Trait Implementations§

    §

    impl<C> Freeze for Key<C>
    where C: Freeze,

    §

    impl<C> RefUnwindSafe for Key<C>
    where C: RefUnwindSafe,

    §

    impl<C> Send for Key<C>
    where C: Send,

    §

    impl<C> Sync for Key<C>
    where diff --git a/iced/keyboard/key/enum.Named.html b/iced/keyboard/key/enum.Named.html index 9b4f182482..b435edef76 100644 --- a/iced/keyboard/key/enum.Named.html +++ b/iced/keyboard/key/enum.Named.html @@ -1,4 +1,4 @@ -Named in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum Named

    pub enum Named {
    +Named in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum Named

    source
    pub enum Named {
     
    Show 306 variants Alt, AltGraph, CapsLock, @@ -689,17 +689,17 @@
    §

    F33

    General-purpose function key.

    §

    F34

    General-purpose function key.

    §

    F35

    General-purpose function key.

    -

    Trait Implementations§

    §

    impl Clone for Named

    §

    fn clone(&self) -> Named

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Named

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Hash for Named

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Named

    source§

    fn clone(&self) -> Named

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Named

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Named

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for Named

    §

    fn cmp(&self, other: &Named) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Named

    source§

    fn cmp(&self, other: &Named) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for Named

    §

    fn eq(&self, other: &Named) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for Named

    §

    fn partial_cmp(&self, other: &Named) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for Named

    source§

    fn eq(&self, other: &Named) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Named

    source§

    fn partial_cmp(&self, other: &Named) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for Named

    §

    impl Eq for Named

    §

    impl StructuralPartialEq for Named

    Auto Trait Implementations§

    §

    impl Freeze for Named

    §

    impl RefUnwindSafe for Named

    §

    impl Send for Named

    §

    impl Sync for Named

    §

    impl Unpin for Named

    §

    impl UnwindSafe for Named

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for Named

    source§

    impl Eq for Named

    source§

    impl StructuralPartialEq for Named

    Auto Trait Implementations§

    §

    impl Freeze for Named

    §

    impl RefUnwindSafe for Named

    §

    impl Send for Named

    §

    impl Sync for Named

    §

    impl Unpin for Named

    §

    impl UnwindSafe for Named

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/keyboard/key/enum.NativeCode.html b/iced/keyboard/key/enum.NativeCode.html index c5ff5c090b..b2156faa47 100644 --- a/iced/keyboard/key/enum.NativeCode.html +++ b/iced/keyboard/key/enum.NativeCode.html @@ -1,4 +1,4 @@ -NativeCode in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum NativeCode

    pub enum NativeCode {
    +NativeCode in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum NativeCode

    source
    pub enum NativeCode {
         Unidentified,
         Android(u32),
         MacOS(u16),
    @@ -19,19 +19,19 @@
     
    §

    MacOS(u16)

    A macOS “scancode”.

    §

    Windows(u16)

    A Windows “scancode”.

    §

    Xkb(u32)

    An XKB “keycode”.

    -

    Trait Implementations§

    §

    impl Clone for NativeCode

    §

    fn clone(&self) -> NativeCode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for NativeCode

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Hash for NativeCode

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for NativeCode

    source§

    fn clone(&self) -> NativeCode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for NativeCode

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Hash for NativeCode

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for NativeCode

    §

    fn cmp(&self, other: &NativeCode) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for NativeCode

    source§

    fn cmp(&self, other: &NativeCode) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq<NativeCode> for Physical

    §

    fn eq(&self, rhs: &NativeCode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq<Physical> for NativeCode

    §

    fn eq(&self, rhs: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq for NativeCode

    §

    fn eq(&self, other: &NativeCode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for NativeCode

    §

    fn partial_cmp(&self, other: &NativeCode) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq<NativeCode> for Physical

    source§

    fn eq(&self, rhs: &NativeCode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq<Physical> for NativeCode

    source§

    fn eq(&self, rhs: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq for NativeCode

    source§

    fn eq(&self, other: &NativeCode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for NativeCode

    source§

    fn partial_cmp(&self, other: &NativeCode) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for NativeCode

    §

    impl Eq for NativeCode

    §

    impl StructuralPartialEq for NativeCode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for NativeCode

    source§

    impl Eq for NativeCode

    source§

    impl StructuralPartialEq for NativeCode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/keyboard/key/enum.Physical.html b/iced/keyboard/key/enum.Physical.html index be2dc16057..7afa2d085d 100644 --- a/iced/keyboard/key/enum.Physical.html +++ b/iced/keyboard/key/enum.Physical.html @@ -1,4 +1,4 @@ -Physical in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum Physical

    pub enum Physical {
    +Physical in iced::keyboard::key - Rust
    iced::keyboard::key

    Enum Physical

    source
    pub enum Physical {
         Code(Code),
         Unidentified(NativeCode),
     }
    Expand description

    Represents the location of a physical key.

    @@ -9,21 +9,21 @@

    The native keycode is provided (if available) so you’re able to more reliably match key-press and key-release events by hashing the Physical key. It is also possible to use this for keybinds for non-standard keys, but such keybinds are tied to a given platform.

    -

    Trait Implementations§

    §

    impl Clone for Physical

    §

    fn clone(&self) -> Physical

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Physical

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Hash for Physical

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Physical

    source§

    fn clone(&self) -> Physical

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Physical

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Physical

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for Physical

    §

    fn cmp(&self, other: &Physical) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Physical

    source§

    fn cmp(&self, other: &Physical) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq<Code> for Physical

    §

    fn eq(&self, rhs: &Code) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq<NativeCode> for Physical

    §

    fn eq(&self, rhs: &NativeCode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq<Physical> for Code

    §

    fn eq(&self, rhs: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq<Physical> for NativeCode

    §

    fn eq(&self, rhs: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq for Physical

    §

    fn eq(&self, other: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for Physical

    §

    fn partial_cmp(&self, other: &Physical) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq<Code> for Physical

    source§

    fn eq(&self, rhs: &Code) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq<NativeCode> for Physical

    source§

    fn eq(&self, rhs: &NativeCode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq<Physical> for Code

    source§

    fn eq(&self, rhs: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq<Physical> for NativeCode

    source§

    fn eq(&self, rhs: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq for Physical

    source§

    fn eq(&self, other: &Physical) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Physical

    source§

    fn partial_cmp(&self, other: &Physical) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for Physical

    §

    impl Eq for Physical

    §

    impl StructuralPartialEq for Physical

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for Physical

    source§

    impl Eq for Physical

    source§

    impl StructuralPartialEq for Physical

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/keyboard/key/index.html b/iced/keyboard/key/index.html index 4f7b0acdd3..073f0d60a4 100644 --- a/iced/keyboard/key/index.html +++ b/iced/keyboard/key/index.html @@ -1,2 +1,2 @@ -iced::keyboard::key - Rust
    iced::keyboard

    Module key

    Expand description

    Identify keyboard keys.

    +iced::keyboard::key - Rust
    iced::keyboard

    Module key

    source
    Expand description

    Identify keyboard keys.

    Enums§

    • Code representing the location of a physical key.
    • A key on the keyboard.
    • A named key.
    • Contains the platform-native physical key identifier.
    • Represents the location of a physical key.
    \ No newline at end of file diff --git a/iced/keyboard/struct.Modifiers.html b/iced/keyboard/struct.Modifiers.html index 1b2c23df58..403a9b5066 100644 --- a/iced/keyboard/struct.Modifiers.html +++ b/iced/keyboard/struct.Modifiers.html @@ -1,98 +1,98 @@ -Modifiers in iced::keyboard - Rust
    iced::keyboard

    Struct Modifiers

    pub struct Modifiers(/* private fields */);
    Expand description

    The current state of the keyboard modifiers.

    -

    Implementations§

    §

    impl Modifiers

    pub const SHIFT: Modifiers = _

    The “shift” key.

    -

    pub const CTRL: Modifiers = _

    The “control” key.

    -

    pub const ALT: Modifiers = _

    The “alt” key.

    -

    The “windows” key on Windows, “command” key on Mac, and +Modifiers in iced::keyboard - Rust

    iced::keyboard

    Struct Modifiers

    source
    pub struct Modifiers(/* private fields */);
    Expand description

    The current state of the keyboard modifiers.

    +

    Implementations§

    source§

    impl Modifiers

    source

    pub const SHIFT: Modifiers = _

    The “shift” key.

    +
    source

    pub const CTRL: Modifiers = _

    The “control” key.

    +
    source

    pub const ALT: Modifiers = _

    The “alt” key.

    +

    The “windows” key on Windows, “command” key on Mac, and “super” key on Linux.

    -
    §

    impl Modifiers

    pub const fn empty() -> Modifiers

    Get a flags value with all bits unset.

    -

    pub const fn all() -> Modifiers

    Get a flags value with all known bits set.

    -

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source§

    impl Modifiers

    source

    pub const fn empty() -> Modifiers

    Get a flags value with all bits unset.

    +
    source

    pub const fn all() -> Modifiers

    Get a flags value with all known bits set.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -

    pub const fn from_bits(bits: u32) -> Option<Modifiers>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Modifiers>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -

    pub const fn from_bits_truncate(bits: u32) -> Modifiers

    Convert from a bits value, unsetting any unknown bits.

    -

    pub const fn from_bits_retain(bits: u32) -> Modifiers

    Convert from a bits value exactly.

    -

    pub fn from_name(name: &str) -> Option<Modifiers>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Modifiers

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Modifiers

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Modifiers>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -

    pub const fn intersects(&self, other: Modifiers) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -

    pub const fn contains(&self, other: Modifiers) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    -

    pub fn insert(&mut self, other: Modifiers)

    The bitwise or (|) of the bits in two flags values.

    -

    pub fn remove(&mut self, other: Modifiers)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Modifiers) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Modifiers) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub fn insert(&mut self, other: Modifiers)

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub fn remove(&mut self, other: Modifiers)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    -

    pub fn toggle(&mut self, other: Modifiers)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -

    pub fn set(&mut self, other: Modifiers, value: bool)

    Call insert when value is true or remove when value is false.

    -

    pub const fn intersection(self, other: Modifiers) -> Modifiers

    The bitwise and (&) of the bits in two flags values.

    -

    pub const fn union(self, other: Modifiers) -> Modifiers

    The bitwise or (|) of the bits in two flags values.

    -

    pub const fn difference(self, other: Modifiers) -> Modifiers

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source

    pub fn toggle(&mut self, other: Modifiers)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub fn set(&mut self, other: Modifiers, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub const fn intersection(self, other: Modifiers) -> Modifiers

    The bitwise and (&) of the bits in two flags values.

    +
    source

    pub const fn union(self, other: Modifiers) -> Modifiers

    The bitwise or (|) of the bits in two flags values.

    +
    source

    pub const fn difference(self, other: Modifiers) -> Modifiers

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -

    pub const fn symmetric_difference(self, other: Modifiers) -> Modifiers

    The bitwise exclusive-or (^) of the bits in two flags values.

    -

    pub const fn complement(self) -> Modifiers

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    §

    impl Modifiers

    pub const fn iter(&self) -> Iter<Modifiers>

    Yield a set of contained flags values.

    +
    source

    pub const fn symmetric_difference(self, other: Modifiers) -> Modifiers

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source

    pub const fn complement(self) -> Modifiers

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    impl Modifiers

    source

    pub const fn iter(&self) -> Iter<Modifiers>

    Yield a set of contained flags values.

    Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.

    -

    pub const fn iter_names(&self) -> IterNames<Modifiers>

    Yield a set of contained named flags values.

    +
    source

    pub const fn iter_names(&self) -> IterNames<Modifiers>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -
    §

    impl Modifiers

    pub const COMMAND: Modifiers = _

    The “command” key.

    +
    source§

    impl Modifiers

    source

    pub const COMMAND: Modifiers = _

    The “command” key.

    This is normally the main modifier to be used for hotkeys.

    On macOS, this is equivalent to Self::LOGO. Otherwise, this is equivalent to Self::CTRL.

    -

    pub fn shift(self) -> bool

    Returns true if the SHIFT key is pressed in the Modifiers.

    -

    pub fn control(self) -> bool

    Returns true if the CTRL key is pressed in the Modifiers.

    -

    pub fn alt(self) -> bool

    Returns true if the ALT key is pressed in the Modifiers.

    -

    Returns true if the LOGO key is pressed in the Modifiers.

    -

    pub fn command(self) -> bool

    Returns true if a “command key” is pressed in the Modifiers.

    +
    source

    pub fn shift(self) -> bool

    Returns true if the SHIFT key is pressed in the Modifiers.

    +
    source

    pub fn control(self) -> bool

    Returns true if the CTRL key is pressed in the Modifiers.

    +
    source

    pub fn alt(self) -> bool

    Returns true if the ALT key is pressed in the Modifiers.

    +

    Returns true if the LOGO key is pressed in the Modifiers.

    +
    source

    pub fn command(self) -> bool

    Returns true if a “command key” is pressed in the Modifiers.

    The “command key” is the main modifier key used to issue commands in the current platform. Specifically:

    • It is the logo or command key (⌘) on macOS
    • It is the control key on other platforms
    -

    pub fn jump(self) -> bool

    Returns true if the “jump key” is pressed in the Modifiers.

    +
    source

    pub fn jump(self) -> bool

    Returns true if the “jump key” is pressed in the Modifiers.

    The “jump key” is the modifier key used to widen text motions. It is the Alt key in macOS and the Ctrl key in other platforms.

    -

    pub fn macos_command(self) -> bool

    Returns true if the “command key” is pressed on a macOS device.

    +
    source

    pub fn macos_command(self) -> bool

    Returns true if the “command key” is pressed on a macOS device.

    This is relevant for macOS-specific actions (e.g. ⌘ + ArrowLeft moves the cursor to the beginning of the line).

    -

    Trait Implementations§

    §

    impl Binary for Modifiers

    §

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

    Formats the value using the given formatter. Read more
    §

    impl BitAnd for Modifiers

    §

    fn bitand(self, other: Modifiers) -> Modifiers

    The bitwise and (&) of the bits in two flags values.

    -
    §

    type Output = Modifiers

    The resulting type after applying the & operator.
    §

    impl BitAndAssign for Modifiers

    §

    fn bitand_assign(&mut self, other: Modifiers)

    The bitwise and (&) of the bits in two flags values.

    -
    §

    impl BitOr for Modifiers

    §

    fn bitor(self, other: Modifiers) -> Modifiers

    The bitwise or (|) of the bits in two flags values.

    -
    §

    type Output = Modifiers

    The resulting type after applying the | operator.
    §

    impl BitOrAssign for Modifiers

    §

    fn bitor_assign(&mut self, other: Modifiers)

    The bitwise or (|) of the bits in two flags values.

    -
    §

    impl BitXor for Modifiers

    §

    fn bitxor(self, other: Modifiers) -> Modifiers

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    §

    type Output = Modifiers

    The resulting type after applying the ^ operator.
    §

    impl BitXorAssign for Modifiers

    §

    fn bitxor_assign(&mut self, other: Modifiers)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    §

    impl Clone for Modifiers

    §

    fn clone(&self) -> Modifiers

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Modifiers

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Modifiers

    §

    fn default() -> Modifiers

    Returns the “default value” for a type. Read more
    §

    impl Extend<Modifiers> for Modifiers

    §

    fn extend<T>(&mut self, iterator: T)
    where +

    Trait Implementations§

    source§

    impl Binary for Modifiers

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for Modifiers

    source§

    fn bitand(self, other: Modifiers) -> Modifiers

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = Modifiers

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for Modifiers

    source§

    fn bitand_assign(&mut self, other: Modifiers)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for Modifiers

    source§

    fn bitor(self, other: Modifiers) -> Modifiers

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = Modifiers

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for Modifiers

    source§

    fn bitor_assign(&mut self, other: Modifiers)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for Modifiers

    source§

    fn bitxor(self, other: Modifiers) -> Modifiers

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = Modifiers

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for Modifiers

    source§

    fn bitxor_assign(&mut self, other: Modifiers)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for Modifiers

    source§

    fn clone(&self) -> Modifiers

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Modifiers

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Modifiers

    source§

    fn default() -> Modifiers

    Returns the “default value” for a type. Read more
    source§

    impl Extend<Modifiers> for Modifiers

    source§

    fn extend<T>(&mut self, iterator: T)
    where T: IntoIterator<Item = Modifiers>,

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    §

    impl Flags for Modifiers

    §

    const FLAGS: &'static [Flag<Modifiers>] = _

    The set of defined flags.
    §

    type Bits = u32

    The underlying bits type.
    §

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    §

    fn from_bits_retain(bits: u32) -> Modifiers

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where +

    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for Modifiers

    source§

    const FLAGS: &'static [Flag<Modifiers>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> Modifiers

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    §

    impl FromIterator<Modifiers> for Modifiers

    §

    fn from_iter<T>(iterator: T) -> Modifiers
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<Modifiers> for Modifiers

    source§

    fn from_iter<T>(iterator: T) -> Modifiers
    where T: IntoIterator<Item = Modifiers>,

    The bitwise or (|) of the bits in each flags value.

    -
    §

    impl Hash for Modifiers

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    source§

    impl Hash for Modifiers

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl IntoIterator for Modifiers

    §

    type Item = Modifiers

    The type of the elements being iterated over.
    §

    type IntoIter = Iter<Modifiers>

    Which kind of iterator are we turning this into?
    §

    fn into_iter(self) -> <Modifiers as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    §

    impl LowerHex for Modifiers

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Not for Modifiers

    §

    fn not(self) -> Modifiers

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    §

    type Output = Modifiers

    The resulting type after applying the ! operator.
    §

    impl Octal for Modifiers

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Ord for Modifiers

    §

    fn cmp(&self, other: &Modifiers) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for Modifiers

    source§

    type Item = Modifiers

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<Modifiers>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> <Modifiers as IntoIterator>::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for Modifiers

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Not for Modifiers

    source§

    fn not(self) -> Modifiers

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = Modifiers

    The resulting type after applying the ! operator.
    source§

    impl Octal for Modifiers

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Ord for Modifiers

    source§

    fn cmp(&self, other: &Modifiers) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for Modifiers

    §

    fn eq(&self, other: &Modifiers) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for Modifiers

    §

    fn partial_cmp(&self, other: &Modifiers) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for Modifiers

    source§

    fn eq(&self, other: &Modifiers) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Modifiers

    source§

    fn partial_cmp(&self, other: &Modifiers) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Sub for Modifiers

    §

    fn sub(self, other: Modifiers) -> Modifiers

    The intersection of a source flags value with the complement of a target flags value (&!).

    +the >= operator. Read more
    source§

    impl Sub for Modifiers

    source§

    fn sub(self, other: Modifiers) -> Modifiers

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    §

    type Output = Modifiers

    The resulting type after applying the - operator.
    §

    impl SubAssign for Modifiers

    §

    fn sub_assign(&mut self, other: Modifiers)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = Modifiers

    The resulting type after applying the - operator.
    source§

    impl SubAssign for Modifiers

    source§

    fn sub_assign(&mut self, other: Modifiers)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    §

    impl UpperHex for Modifiers

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Copy for Modifiers

    §

    impl Eq for Modifiers

    §

    impl StructuralPartialEq for Modifiers

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    source§

    impl UpperHex for Modifiers

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Copy for Modifiers

    source§

    impl Eq for Modifiers

    source§

    impl StructuralPartialEq for Modifiers

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/macro.color.html b/iced/macro.color.html index a5cf3636b7..7fea338fcc 100644 --- a/iced/macro.color.html +++ b/iced/macro.color.html @@ -1,4 +1,4 @@ -color in iced - Rust
    iced

    Macro color

    macro_rules! color {
    +color in iced - Rust
    iced

    Macro color

    source
    macro_rules! color {
         ($r:expr, $g:expr, $b:expr) => { ... };
         ($r:expr, $g:expr, $b:expr, $a:expr) => { ... };
         ($hex:expr) => { ... };
    diff --git a/iced/mouse/enum.Button.html b/iced/mouse/enum.Button.html
    index 5ac4202805..078c37b22f 100644
    --- a/iced/mouse/enum.Button.html
    +++ b/iced/mouse/enum.Button.html
    @@ -1,4 +1,4 @@
    -Button in iced::mouse - Rust
    iced::mouse

    Enum Button

    pub enum Button {
    +Button in iced::mouse - Rust
    iced::mouse

    Enum Button

    source
    pub enum Button {
         Left,
         Right,
         Middle,
    @@ -12,11 +12,11 @@
     
    §

    Back

    The back mouse button.

    §

    Forward

    The forward mouse button.

    §

    Other(u16)

    Some other button.

    -

    Trait Implementations§

    §

    impl Clone for Button

    §

    fn clone(&self) -> Button

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Button

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Hash for Button

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Button

    source§

    fn clone(&self) -> Button

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Button

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Button

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Button

    §

    fn eq(&self, other: &Button) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Button

    §

    impl Eq for Button

    §

    impl StructuralPartialEq for Button

    Auto Trait Implementations§

    §

    impl Freeze for Button

    §

    impl RefUnwindSafe for Button

    §

    impl Send for Button

    §

    impl Sync for Button

    §

    impl Unpin for Button

    §

    impl UnwindSafe for Button

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Button

    source§

    fn eq(&self, other: &Button) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Button

    source§

    impl Eq for Button

    source§

    impl StructuralPartialEq for Button

    Auto Trait Implementations§

    §

    impl Freeze for Button

    §

    impl RefUnwindSafe for Button

    §

    impl Send for Button

    §

    impl Sync for Button

    §

    impl Unpin for Button

    §

    impl UnwindSafe for Button

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/mouse/enum.Cursor.html b/iced/mouse/enum.Cursor.html index a535c67334..f584230a10 100644 --- a/iced/mouse/enum.Cursor.html +++ b/iced/mouse/enum.Cursor.html @@ -1,23 +1,23 @@ -Cursor in iced::mouse - Rust
    iced::mouse

    Enum Cursor

    pub enum Cursor {
    +Cursor in iced::mouse - Rust
    iced::mouse

    Enum Cursor

    source
    pub enum Cursor {
         Available(Point),
         Unavailable,
     }
    Expand description

    The mouse cursor state.

    Variants§

    §

    Available(Point)

    The cursor has a defined position.

    §

    Unavailable

    The cursor is currently unavailable (i.e. out of bounds or busy).

    -

    Implementations§

    §

    impl Cursor

    pub fn position(self) -> Option<Point>

    Available on crate feature advanced only.

    Returns the absolute position of the Cursor, if available.

    -

    pub fn position_over(self, bounds: Rectangle) -> Option<Point>

    Available on crate feature advanced only.

    Returns the absolute position of the Cursor, if available and inside +

    Implementations§

    source§

    impl Cursor

    source

    pub fn position(self) -> Option<Point>

    Available on crate feature advanced only.

    Returns the absolute position of the Cursor, if available.

    +
    source

    pub fn position_over(self, bounds: Rectangle) -> Option<Point>

    Available on crate feature advanced only.

    Returns the absolute position of the Cursor, if available and inside the given bounds.

    If the Cursor is not over the provided bounds, this method will return None.

    -

    pub fn position_in(self, bounds: Rectangle) -> Option<Point>

    Available on crate feature advanced only.

    Returns the relative position of the Cursor inside the given bounds, +

    source

    pub fn position_in(self, bounds: Rectangle) -> Option<Point>

    Available on crate feature advanced only.

    Returns the relative position of the Cursor inside the given bounds, if available.

    If the Cursor is not over the provided bounds, this method will return None.

    -

    pub fn position_from(self, origin: Point) -> Option<Point>

    Available on crate feature advanced only.

    Returns the relative position of the Cursor from the given origin, +

    source

    pub fn position_from(self, origin: Point) -> Option<Point>

    Available on crate feature advanced only.

    Returns the relative position of the Cursor from the given origin, if available.

    -

    pub fn is_over(self, bounds: Rectangle) -> bool

    Available on crate feature advanced only.

    Returns true if the Cursor is over the given bounds.

    -

    Trait Implementations§

    §

    impl Clone for Cursor

    §

    fn clone(&self) -> Cursor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Cursor

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Cursor

    §

    fn default() -> Cursor

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for Cursor

    §

    fn eq(&self, other: &Cursor) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Cursor

    §

    impl StructuralPartialEq for Cursor

    Auto Trait Implementations§

    §

    impl Freeze for Cursor

    §

    impl RefUnwindSafe for Cursor

    §

    impl Send for Cursor

    §

    impl Sync for Cursor

    §

    impl Unpin for Cursor

    §

    impl UnwindSafe for Cursor

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    source

    pub fn is_over(self, bounds: Rectangle) -> bool

    Available on crate feature advanced only.

    Returns true if the Cursor is over the given bounds.

    +

    Trait Implementations§

    source§

    impl Clone for Cursor

    source§

    fn clone(&self) -> Cursor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Cursor

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Cursor

    source§

    fn default() -> Cursor

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for Cursor

    source§

    fn eq(&self, other: &Cursor) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Cursor

    source§

    impl StructuralPartialEq for Cursor

    Auto Trait Implementations§

    §

    impl Freeze for Cursor

    §

    impl RefUnwindSafe for Cursor

    §

    impl Send for Cursor

    §

    impl Sync for Cursor

    §

    impl Unpin for Cursor

    §

    impl UnwindSafe for Cursor

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/mouse/enum.Event.html b/iced/mouse/enum.Event.html index 8a99ab5ba8..533a642532 100644 --- a/iced/mouse/enum.Event.html +++ b/iced/mouse/enum.Event.html @@ -1,4 +1,4 @@ -Event in iced::mouse - Rust
    iced::mouse

    Enum Event

    pub enum Event {
    +Event in iced::mouse - Rust
    iced::mouse

    Enum Event

    source
    pub enum Event {
         CursorEntered,
         CursorLeft,
         CursorMoved {
    @@ -20,8 +20,8 @@
     
    §

    ButtonReleased(Button)

    A mouse button was released.

    §

    WheelScrolled

    The mouse wheel was scrolled.

    Fields

    §delta: ScrollDelta

    The scroll movement.

    -

    Trait Implementations§

    §

    impl Clone for Event

    §

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Event

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Event

    §

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Event

    §

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Event

    source§

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Event

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Event

    source§

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Event

    source§

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/mouse/enum.Interaction.html b/iced/mouse/enum.Interaction.html index e5754a6ca1..ec27df8492 100644 --- a/iced/mouse/enum.Interaction.html +++ b/iced/mouse/enum.Interaction.html @@ -1,4 +1,4 @@ -Interaction in iced::mouse - Rust
    iced::mouse

    Enum Interaction

    pub enum Interaction {
    +Interaction in iced::mouse - Rust
    iced::mouse

    Enum Interaction

    source
    pub enum Interaction {
     
    Show 19 variants None, Idle, Pointer, @@ -19,14 +19,14 @@ Copy, Help,
    }
    Expand description

    The interaction of a mouse cursor.

    -

    Variants§

    §

    None

    §

    Idle

    §

    Pointer

    §

    Grab

    §

    Text

    §

    Crosshair

    §

    Working

    §

    Grabbing

    §

    ResizingHorizontally

    §

    ResizingVertically

    §

    ResizingDiagonallyUp

    §

    ResizingDiagonallyDown

    §

    NotAllowed

    §

    ZoomIn

    §

    ZoomOut

    §

    Cell

    §

    Move

    §

    Copy

    §

    Help

    Trait Implementations§

    §

    impl Clone for Interaction

    §

    fn clone(&self) -> Interaction

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Interaction

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Interaction

    §

    fn default() -> Interaction

    Returns the “default value” for a type. Read more
    §

    impl Ord for Interaction

    §

    fn cmp(&self, other: &Interaction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +

    Variants§

    §

    None

    §

    Idle

    §

    Pointer

    §

    Grab

    §

    Text

    §

    Crosshair

    §

    Working

    §

    Grabbing

    §

    ResizingHorizontally

    §

    ResizingVertically

    §

    ResizingDiagonallyUp

    §

    ResizingDiagonallyDown

    §

    NotAllowed

    §

    ZoomIn

    §

    ZoomOut

    §

    Cell

    §

    Move

    §

    Copy

    §

    Help

    Trait Implementations§

    source§

    impl Clone for Interaction

    source§

    fn clone(&self) -> Interaction

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Interaction

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Interaction

    source§

    fn default() -> Interaction

    Returns the “default value” for a type. Read more
    source§

    impl Ord for Interaction

    source§

    fn cmp(&self, other: &Interaction) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for Interaction

    §

    fn eq(&self, other: &Interaction) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for Interaction

    §

    fn partial_cmp(&self, other: &Interaction) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for Interaction

    source§

    fn eq(&self, other: &Interaction) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Interaction

    source§

    fn partial_cmp(&self, other: &Interaction) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for Interaction

    §

    impl Eq for Interaction

    §

    impl StructuralPartialEq for Interaction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for Interaction

    source§

    impl Eq for Interaction

    source§

    impl StructuralPartialEq for Interaction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/mouse/enum.ScrollDelta.html b/iced/mouse/enum.ScrollDelta.html index fa5045da5c..1dd441eb6c 100644 --- a/iced/mouse/enum.ScrollDelta.html +++ b/iced/mouse/enum.ScrollDelta.html @@ -1,4 +1,4 @@ -ScrollDelta in iced::mouse - Rust
    iced::mouse

    Enum ScrollDelta

    pub enum ScrollDelta {
    +ScrollDelta in iced::mouse - Rust
    iced::mouse

    Enum ScrollDelta

    source
    pub enum ScrollDelta {
         Lines {
             x: f32,
             y: f32,
    @@ -14,8 +14,8 @@
     
    §

    Pixels

    A pixel-based scroll movement

    Fields

    §x: f32

    The number of horizontal pixels scrolled

    §y: f32

    The number of vertical pixels scrolled

    -

    Trait Implementations§

    §

    impl Clone for ScrollDelta

    §

    fn clone(&self) -> ScrollDelta

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for ScrollDelta

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for ScrollDelta

    §

    fn eq(&self, other: &ScrollDelta) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for ScrollDelta

    §

    impl StructuralPartialEq for ScrollDelta

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for ScrollDelta

    source§

    fn clone(&self) -> ScrollDelta

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ScrollDelta

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for ScrollDelta

    source§

    fn eq(&self, other: &ScrollDelta) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for ScrollDelta

    source§

    impl StructuralPartialEq for ScrollDelta

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/overlay/menu/struct.Menu.html b/iced/overlay/menu/struct.Menu.html index 3a3af6d01e..0436b75a9b 100644 --- a/iced/overlay/menu/struct.Menu.html +++ b/iced/overlay/menu/struct.Menu.html @@ -39,7 +39,7 @@ self, position: Point, target_height: f32, -) -> Element<'a, Message, Theme, Renderer>

    Turns the Menu into an overlay [Element] at the given target +) -> Element<'a, Message, Theme, Renderer>

    Turns the Menu into an overlay Element at the given target position.

    The target_height will be used to display the menu either on top of the target or under it, depending on the screen position and the diff --git a/iced/padding/fn.all.html b/iced/padding/fn.all.html index 9bad0a105d..d782b82398 100644 --- a/iced/padding/fn.all.html +++ b/iced/padding/fn.all.html @@ -1,2 +1,2 @@ -all in iced::padding - Rust

    iced::padding

    Function all

    pub fn all(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create a Padding that is equal on all sides.

    +all in iced::padding - Rust
    iced::padding

    Function all

    source
    pub fn all(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create a Padding that is equal on all sides.

    \ No newline at end of file diff --git a/iced/padding/fn.bottom.html b/iced/padding/fn.bottom.html index 9af0fc6226..7d2781e3e8 100644 --- a/iced/padding/fn.bottom.html +++ b/iced/padding/fn.bottom.html @@ -1,2 +1,2 @@ -bottom in iced::padding - Rust
    iced::padding

    Function bottom

    pub fn bottom(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create some bottom Padding.

    +bottom in iced::padding - Rust
    iced::padding

    Function bottom

    source
    pub fn bottom(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create some bottom Padding.

    \ No newline at end of file diff --git a/iced/padding/fn.left.html b/iced/padding/fn.left.html index b3bf281a34..d7d4f0a4bf 100644 --- a/iced/padding/fn.left.html +++ b/iced/padding/fn.left.html @@ -1,2 +1,2 @@ -left in iced::padding - Rust
    iced::padding

    Function left

    pub fn left(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create some left Padding.

    +left in iced::padding - Rust
    iced::padding

    Function left

    source
    pub fn left(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create some left Padding.

    \ No newline at end of file diff --git a/iced/padding/fn.right.html b/iced/padding/fn.right.html index c29e5ccc67..1462fe635c 100644 --- a/iced/padding/fn.right.html +++ b/iced/padding/fn.right.html @@ -1,2 +1,2 @@ -right in iced::padding - Rust
    iced::padding

    Function right

    pub fn right(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create some right Padding.

    +right in iced::padding - Rust
    iced::padding

    Function right

    source
    pub fn right(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create some right Padding.

    \ No newline at end of file diff --git a/iced/padding/fn.top.html b/iced/padding/fn.top.html index f6a5e24d59..f397ebe76d 100644 --- a/iced/padding/fn.top.html +++ b/iced/padding/fn.top.html @@ -1,2 +1,2 @@ -top in iced::padding - Rust
    iced::padding

    Function top

    pub fn top(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create some top Padding.

    +top in iced::padding - Rust
    iced::padding

    Function top

    source
    pub fn top(padding: impl Into<Pixels>) -> Padding
    Expand description

    Create some top Padding.

    \ No newline at end of file diff --git a/iced/padding/index.html b/iced/padding/index.html index 0cadef6e20..b0c658c2f4 100644 --- a/iced/padding/index.html +++ b/iced/padding/index.html @@ -1,2 +1,2 @@ -iced::padding - Rust
    iced

    Module padding

    Expand description

    Space stuff around the perimeter.

    +iced::padding - Rust
    iced

    Module padding

    source
    Expand description

    Space stuff around the perimeter.

    Structs§

    • An amount of space to pad for each side of a box

    Functions§

    \ No newline at end of file diff --git a/iced/padding/struct.Padding.html b/iced/padding/struct.Padding.html index 9eb842b847..1230af6851 100644 --- a/iced/padding/struct.Padding.html +++ b/iced/padding/struct.Padding.html @@ -1,4 +1,4 @@ -Padding in iced::padding - Rust
    iced::padding

    Struct Padding

    pub struct Padding {
    +Padding in iced::padding - Rust
    iced::padding

    Struct Padding

    source
    pub struct Padding {
         pub top: f32,
         pub right: f32,
         pub bottom: f32,
    @@ -24,17 +24,17 @@
     
    §right: f32

    Right padding

    §bottom: f32

    Bottom padding

    §left: f32

    Left padding

    -

    Implementations§

    §

    impl Padding

    pub const ZERO: Padding = _

    Padding of zero

    -

    pub const fn new(padding: f32) -> Padding

    Create a Padding that is equal on all sides.

    -

    pub fn top(self, top: impl Into<Pixels>) -> Padding

    Sets the top of the Padding.

    -

    pub fn bottom(self, bottom: impl Into<Pixels>) -> Padding

    Sets the bottom of the Padding.

    -

    pub fn left(self, left: impl Into<Pixels>) -> Padding

    Sets the left of the Padding.

    -

    pub fn right(self, right: impl Into<Pixels>) -> Padding

    Sets the right of the Padding.

    -

    pub fn vertical(self) -> f32

    Returns the total amount of vertical Padding.

    -

    pub fn horizontal(self) -> f32

    Returns the total amount of horizontal Padding.

    -

    pub fn fit(self, inner: Size, outer: Size) -> Padding

    Fits the Padding between the provided inner and outer Size.

    -

    Trait Implementations§

    §

    impl Clone for Padding

    §

    fn clone(&self) -> Padding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Padding

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Padding

    §

    fn default() -> Padding

    Returns the “default value” for a type. Read more
    §

    impl From<[f32; 2]> for Padding

    §

    fn from(p: [f32; 2]) -> Padding

    Converts to this type from the input type.
    §

    impl From<[u16; 2]> for Padding

    §

    fn from(p: [u16; 2]) -> Padding

    Converts to this type from the input type.
    §

    impl From<Padding> for Size

    §

    fn from(padding: Padding) -> Size

    Converts to this type from the input type.
    §

    impl From<f32> for Padding

    §

    fn from(p: f32) -> Padding

    Converts to this type from the input type.
    §

    impl From<u16> for Padding

    §

    fn from(p: u16) -> Padding

    Converts to this type from the input type.
    §

    impl PartialEq for Padding

    §

    fn eq(&self, other: &Padding) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Padding

    §

    impl StructuralPartialEq for Padding

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Padding

    source

    pub const ZERO: Padding = _

    Padding of zero

    +
    source

    pub const fn new(padding: f32) -> Padding

    Create a Padding that is equal on all sides.

    +
    source

    pub fn top(self, top: impl Into<Pixels>) -> Padding

    Sets the top of the Padding.

    +
    source

    pub fn bottom(self, bottom: impl Into<Pixels>) -> Padding

    Sets the bottom of the Padding.

    +
    source

    pub fn left(self, left: impl Into<Pixels>) -> Padding

    Sets the left of the Padding.

    +
    source

    pub fn right(self, right: impl Into<Pixels>) -> Padding

    Sets the right of the Padding.

    +
    source

    pub fn vertical(self) -> f32

    Returns the total amount of vertical Padding.

    +
    source

    pub fn horizontal(self) -> f32

    Returns the total amount of horizontal Padding.

    +
    source

    pub fn fit(self, inner: Size, outer: Size) -> Padding

    Fits the Padding between the provided inner and outer Size.

    +

    Trait Implementations§

    source§

    impl Clone for Padding

    source§

    fn clone(&self) -> Padding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Padding

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Padding

    source§

    fn default() -> Padding

    Returns the “default value” for a type. Read more
    source§

    impl From<[f32; 2]> for Padding

    source§

    fn from(p: [f32; 2]) -> Padding

    Converts to this type from the input type.
    source§

    impl From<[u16; 2]> for Padding

    source§

    fn from(p: [u16; 2]) -> Padding

    Converts to this type from the input type.
    source§

    impl From<Padding> for Size

    source§

    fn from(padding: Padding) -> Size

    Converts to this type from the input type.
    source§

    impl From<f32> for Padding

    source§

    fn from(p: f32) -> Padding

    Converts to this type from the input type.
    source§

    impl From<u16> for Padding

    source§

    fn from(p: u16) -> Padding

    Converts to this type from the input type.
    source§

    impl PartialEq for Padding

    source§

    fn eq(&self, other: &Padding) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Padding

    source§

    impl StructuralPartialEq for Padding

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Border.html b/iced/struct.Border.html index 6452175091..4fc0ac3173 100644 --- a/iced/struct.Border.html +++ b/iced/struct.Border.html @@ -1,4 +1,4 @@ -Border in iced - Rust
    iced

    Struct Border

    pub struct Border {
    +Border in iced - Rust
    iced

    Struct Border

    source
    pub struct Border {
         pub color: Color,
         pub width: f32,
         pub radius: Radius,
    @@ -6,11 +6,11 @@
     

    Fields§

    §color: Color

    The color of the border.

    §width: f32

    The width of the border.

    §radius: Radius

    The Radius of the border.

    -

    Implementations§

    §

    impl Border

    pub fn color(self, color: impl Into<Color>) -> Border

    Sets the Color of the Border.

    -

    pub fn rounded(self, radius: impl Into<Radius>) -> Border

    Sets the Radius of the Border.

    -

    pub fn width(self, width: impl Into<Pixels>) -> Border

    Sets the width of the Border.

    -

    Trait Implementations§

    §

    impl Clone for Border

    §

    fn clone(&self) -> Border

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Border

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Border

    §

    fn default() -> Border

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for Border

    §

    fn eq(&self, other: &Border) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Border

    §

    impl StructuralPartialEq for Border

    Auto Trait Implementations§

    §

    impl Freeze for Border

    §

    impl RefUnwindSafe for Border

    §

    impl Send for Border

    §

    impl Sync for Border

    §

    impl Unpin for Border

    §

    impl UnwindSafe for Border

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Border

    source

    pub fn color(self, color: impl Into<Color>) -> Border

    Sets the Color of the Border.

    +
    source

    pub fn rounded(self, radius: impl Into<Radius>) -> Border

    Sets the Radius of the Border.

    +
    source

    pub fn width(self, width: impl Into<Pixels>) -> Border

    Sets the width of the Border.

    +

    Trait Implementations§

    source§

    impl Clone for Border

    source§

    fn clone(&self) -> Border

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Border

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Border

    source§

    fn default() -> Border

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for Border

    source§

    fn eq(&self, other: &Border) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Border

    source§

    impl StructuralPartialEq for Border

    Auto Trait Implementations§

    §

    impl Freeze for Border

    §

    impl RefUnwindSafe for Border

    §

    impl Send for Border

    §

    impl Sync for Border

    §

    impl Unpin for Border

    §

    impl UnwindSafe for Border

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Color.html b/iced/struct.Color.html index 5c6307adea..38253de58e 100644 --- a/iced/struct.Color.html +++ b/iced/struct.Color.html @@ -1,4 +1,4 @@ -Color in iced - Rust
    iced

    Struct Color

    pub struct Color {
    +Color in iced - Rust
    iced

    Struct Color

    source
    pub struct Color {
         pub r: f32,
         pub g: f32,
         pub b: f32,
    @@ -8,31 +8,31 @@
     
    §g: f32

    Green component, 0.0 - 1.0

    §b: f32

    Blue component, 0.0 - 1.0

    §a: f32

    Transparency, 0.0 - 1.0

    -

    Implementations§

    §

    impl Color

    pub const BLACK: Color = _

    The black color.

    -

    pub const WHITE: Color = _

    The white color.

    -

    pub const TRANSPARENT: Color = _

    A color with no opacity.

    -

    pub fn new(r: f32, g: f32, b: f32, a: f32) -> Color

    Creates a new Color.

    +

    Implementations§

    source§

    impl Color

    source

    pub const BLACK: Color = _

    The black color.

    +
    source

    pub const WHITE: Color = _

    The white color.

    +
    source

    pub const TRANSPARENT: Color = _

    A color with no opacity.

    +
    source

    pub fn new(r: f32, g: f32, b: f32, a: f32) -> Color

    Creates a new Color.

    In debug mode, it will panic if the values are not in the correct range: 0.0 - 1.0

    -

    pub const fn from_rgb(r: f32, g: f32, b: f32) -> Color

    Creates a Color from its RGB components.

    -

    pub const fn from_rgba(r: f32, g: f32, b: f32, a: f32) -> Color

    Creates a Color from its RGBA components.

    -

    pub fn from_rgb8(r: u8, g: u8, b: u8) -> Color

    Creates a Color from its RGB8 components.

    -

    pub fn from_rgba8(r: u8, g: u8, b: u8, a: f32) -> Color

    Creates a Color from its RGB8 components and an alpha value.

    -

    pub fn from_linear_rgba(r: f32, g: f32, b: f32, a: f32) -> Color

    Creates a Color from its linear RGBA components.

    -

    pub fn parse(s: &str) -> Option<Color>

    Parses a Color from a hex string.

    +
    source

    pub const fn from_rgb(r: f32, g: f32, b: f32) -> Color

    Creates a Color from its RGB components.

    +
    source

    pub const fn from_rgba(r: f32, g: f32, b: f32, a: f32) -> Color

    Creates a Color from its RGBA components.

    +
    source

    pub fn from_rgb8(r: u8, g: u8, b: u8) -> Color

    Creates a Color from its RGB8 components.

    +
    source

    pub fn from_rgba8(r: u8, g: u8, b: u8, a: f32) -> Color

    Creates a Color from its RGB8 components and an alpha value.

    +
    source

    pub fn from_linear_rgba(r: f32, g: f32, b: f32, a: f32) -> Color

    Creates a Color from its linear RGBA components.

    +
    source

    pub fn parse(s: &str) -> Option<Color>

    Parses a Color from a hex string.

    Supported formats are #rrggbb, #rrggbbaa, #rgb, and #rgba. The starting “#” is optional. Both uppercase and lowercase are supported.

    If you have a static color string, using the color! macro should be preferred since it leverages hexadecimal literal notation and arithmetic directly.

    -

    pub fn into_rgba8(self) -> [u8; 4]

    Converts the Color into its RGBA8 equivalent.

    -

    pub fn into_linear(self) -> [f32; 4]

    Converts the Color into its linear values.

    -

    pub fn invert(&mut self)

    Inverts the Color in-place.

    -

    pub fn inverse(self) -> Color

    Returns the inverted Color.

    -

    pub fn scale_alpha(self, factor: f32) -> Color

    Scales the alpha channel of the Color by the given factor.

    -

    Trait Implementations§

    §

    impl Clone for Color

    §

    fn clone(&self) -> Color

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Color

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Color

    §

    fn default() -> Color

    Returns the “default value” for a type. Read more
    §

    impl From<[f32; 3]> for Color

    §

    fn from(_: [f32; 3]) -> Color

    Converts to this type from the input type.
    §

    impl From<[f32; 4]> for Color

    §

    fn from(_: [f32; 4]) -> Color

    Converts to this type from the input type.
    §

    impl From<Alpha<Rgb, f32>> for Color

    Converts from palette’s Rgba type to a Color.

    -
    §

    fn from(rgba: Alpha<Rgb, f32>) -> Color

    Converts to this type from the input type.
    §

    impl From<Color> for Background

    §

    fn from(color: Color) -> Background

    Converts to this type from the input type.
    source§

    impl From<Color> for Fill

    source§

    fn from(color: Color) -> Fill

    Converts to this type from the input type.
    source§

    impl From<Color> for Style

    source§

    fn from(color: Color) -> Style

    Converts to this type from the input type.
    source§

    impl From<Color> for Style

    source§

    fn from(color: Color) -> Style

    Converts to this type from the input type.
    §

    impl From<Rgb> for Color

    Converts from palette’s Rgb type to a Color.

    -
    §

    fn from(rgb: Rgb) -> Color

    Converts to this type from the input type.
    §

    impl PartialEq for Color

    §

    fn eq(&self, other: &Color) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Color

    §

    impl StructuralPartialEq for Color

    Auto Trait Implementations§

    §

    impl Freeze for Color

    §

    impl RefUnwindSafe for Color

    §

    impl Send for Color

    §

    impl Sync for Color

    §

    impl Unpin for Color

    §

    impl UnwindSafe for Color

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    source

    pub fn into_rgba8(self) -> [u8; 4]

    Converts the Color into its RGBA8 equivalent.

    +
    source

    pub fn into_linear(self) -> [f32; 4]

    Converts the Color into its linear values.

    +
    source

    pub fn invert(&mut self)

    Inverts the Color in-place.

    +
    source

    pub fn inverse(self) -> Color

    Returns the inverted Color.

    +
    source

    pub fn scale_alpha(self, factor: f32) -> Color

    Scales the alpha channel of the Color by the given factor.

    +

    Trait Implementations§

    source§

    impl Clone for Color

    source§

    fn clone(&self) -> Color

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Color

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Color

    source§

    fn default() -> Color

    Returns the “default value” for a type. Read more
    source§

    impl From<[f32; 3]> for Color

    source§

    fn from(_: [f32; 3]) -> Color

    Converts to this type from the input type.
    source§

    impl From<[f32; 4]> for Color

    source§

    fn from(_: [f32; 4]) -> Color

    Converts to this type from the input type.
    source§

    impl From<Alpha<Rgb, f32>> for Color

    Converts from palette’s Rgba type to a Color.

    +
    source§

    fn from(rgba: Alpha<Rgb, f32>) -> Color

    Converts to this type from the input type.
    source§

    impl From<Color> for Background

    source§

    fn from(color: Color) -> Background

    Converts to this type from the input type.
    source§

    impl From<Color> for Fill

    source§

    fn from(color: Color) -> Fill

    Converts to this type from the input type.
    source§

    impl From<Color> for Style

    source§

    fn from(color: Color) -> Style

    Converts to this type from the input type.
    source§

    impl From<Color> for Style

    source§

    fn from(color: Color) -> Style

    Converts to this type from the input type.
    source§

    impl From<Rgb> for Color

    Converts from palette’s Rgb type to a Color.

    +
    source§

    fn from(rgb: Rgb) -> Color

    Converts to this type from the input type.
    source§

    impl PartialEq for Color

    source§

    fn eq(&self, other: &Color) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Color

    source§

    impl StructuralPartialEq for Color

    Auto Trait Implementations§

    §

    impl Freeze for Color

    §

    impl RefUnwindSafe for Color

    §

    impl Send for Color

    §

    impl Sync for Color

    §

    impl Unpin for Color

    §

    impl UnwindSafe for Color

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Degrees.html b/iced/struct.Degrees.html index 4b471f5662..8076603e54 100644 --- a/iced/struct.Degrees.html +++ b/iced/struct.Degrees.html @@ -1,8 +1,8 @@ -Degrees in iced - Rust
    iced

    Struct Degrees

    pub struct Degrees(pub f32);
    Expand description

    Degrees

    -

    Tuple Fields§

    §0: f32

    Implementations§

    §

    impl Degrees

    pub const RANGE: RangeInclusive<Degrees> = _

    The range of degrees of a circle.

    -

    Trait Implementations§

    §

    impl Add<Degrees> for Radians

    §

    type Output = Radians

    The resulting type after applying the + operator.
    §

    fn add(self, rhs: Degrees) -> <Radians as Add<Degrees>>::Output

    Performs the + operation. Read more
    §

    impl Clone for Degrees

    §

    fn clone(&self) -> Degrees

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Degrees

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<Degrees> for Radians

    §

    fn from(degrees: Degrees) -> Radians

    Converts to this type from the input type.
    §

    impl From<f32> for Degrees

    §

    fn from(degrees: f32) -> Degrees

    Converts to this type from the input type.
    §

    impl From<u8> for Degrees

    §

    fn from(degrees: u8) -> Degrees

    Converts to this type from the input type.
    §

    impl FromPrimitive for Degrees

    §

    fn from_i64(n: i64) -> Option<Degrees>

    Converts an i64 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    fn from_u64(n: u64) -> Option<Degrees>

    Converts an u64 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    fn from_f64(n: f64) -> Option<Degrees>

    Converts a f64 to return an optional value of this type. If the +Degrees in iced - Rust
    iced

    Struct Degrees

    source
    pub struct Degrees(pub f32);
    Expand description

    Degrees

    +

    Tuple Fields§

    §0: f32

    Implementations§

    source§

    impl Degrees

    source

    pub const RANGE: RangeInclusive<Degrees> = _

    The range of degrees of a circle.

    +

    Trait Implementations§

    source§

    impl Add<Degrees> for Radians

    source§

    type Output = Radians

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Degrees) -> <Radians as Add<Degrees>>::Output

    Performs the + operation. Read more
    source§

    impl Clone for Degrees

    source§

    fn clone(&self) -> Degrees

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Degrees

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<Degrees> for Radians

    source§

    fn from(degrees: Degrees) -> Radians

    Converts to this type from the input type.
    source§

    impl From<f32> for Degrees

    source§

    fn from(degrees: f32) -> Degrees

    Converts to this type from the input type.
    source§

    impl From<u8> for Degrees

    source§

    fn from(degrees: u8) -> Degrees

    Converts to this type from the input type.
    source§

    impl FromPrimitive for Degrees

    source§

    fn from_i64(n: i64) -> Option<Degrees>

    Converts an i64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    source§

    fn from_u64(n: u64) -> Option<Degrees>

    Converts an u64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    source§

    fn from_f64(n: f64) -> Option<Degrees>

    Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
    source§

    fn from_isize(n: isize) -> Option<Self>

    Converts an isize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
    source§

    fn from_i8(n: i8) -> Option<Self>

    Converts an i8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
    source§

    fn from_i16(n: i16) -> Option<Self>

    Converts an i16 to return an optional value of this type. If the @@ -14,15 +14,15 @@ value cannot be represented by this type, then None is returned.
    source§

    fn from_u32(n: u32) -> Option<Self>

    Converts an u32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
    source§

    fn from_u128(n: u128) -> Option<Self>

    Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
    source§

    fn from_f32(n: f32) -> Option<Self>

    Converts a f32 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    impl Mul<f32> for Degrees

    §

    type Output = Degrees

    The resulting type after applying the * operator.
    §

    fn mul(self, rhs: f32) -> <Degrees as Mul<f32>>::Output

    Performs the * operation. Read more
    §

    impl PartialEq<f32> for Degrees

    §

    fn eq(&self, other: &f32) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq for Degrees

    §

    fn eq(&self, other: &Degrees) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd<f32> for Degrees

    §

    fn partial_cmp(&self, other: &f32) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +value cannot be represented by this type, then None is returned.
    source§

    impl Mul<f32> for Degrees

    source§

    type Output = Degrees

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: f32) -> <Degrees as Mul<f32>>::Output

    Performs the * operation. Read more
    source§

    impl PartialEq<f32> for Degrees

    source§

    fn eq(&self, other: &f32) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq for Degrees

    source§

    fn eq(&self, other: &Degrees) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd<f32> for Degrees

    source§

    fn partial_cmp(&self, other: &f32) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl PartialOrd for Degrees

    §

    fn partial_cmp(&self, other: &Degrees) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl PartialOrd for Degrees

    source§

    fn partial_cmp(&self, other: &Degrees) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for Degrees

    §

    impl StructuralPartialEq for Degrees

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for Degrees

    source§

    impl StructuralPartialEq for Degrees

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Font.html b/iced/struct.Font.html index d342bbc93b..c7c5361764 100644 --- a/iced/struct.Font.html +++ b/iced/struct.Font.html @@ -1,4 +1,4 @@ -Font in iced - Rust
    iced

    Struct Font

    pub struct Font {
    +Font in iced - Rust
    iced

    Struct Font

    source
    pub struct Font {
         pub family: Family,
         pub weight: Weight,
         pub stretch: Stretch,
    @@ -8,15 +8,15 @@
     
    §weight: Weight

    The Weight of the Font.

    §stretch: Stretch

    The Stretch of the Font.

    §style: Style

    The Style of the Font.

    -

    Implementations§

    §

    impl Font

    pub const DEFAULT: Font = _

    A non-monospaced sans-serif font with normal Weight.

    -

    pub const MONOSPACE: Font = _

    A monospaced font with normal Weight.

    -

    pub const fn with_name(name: &'static str) -> Font

    Creates a non-monospaced Font with the given Family::Name and +

    Implementations§

    source§

    impl Font

    source

    pub const DEFAULT: Font = _

    A non-monospaced sans-serif font with normal Weight.

    +
    source

    pub const MONOSPACE: Font = _

    A monospaced font with normal Weight.

    +
    source

    pub const fn with_name(name: &'static str) -> Font

    Creates a non-monospaced Font with the given Family::Name and normal Weight.

    -

    Trait Implementations§

    §

    impl Clone for Font

    §

    fn clone(&self) -> Font

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Font

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Font

    §

    fn default() -> Font

    Returns the “default value” for a type. Read more
    §

    impl Hash for Font

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Font

    source§

    fn clone(&self) -> Font

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Font

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Font

    source§

    fn default() -> Font

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Font

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Font

    §

    fn eq(&self, other: &Font) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Font

    §

    impl Eq for Font

    §

    impl StructuralPartialEq for Font

    Auto Trait Implementations§

    §

    impl Freeze for Font

    §

    impl RefUnwindSafe for Font

    §

    impl Send for Font

    §

    impl Sync for Font

    §

    impl Unpin for Font

    §

    impl UnwindSafe for Font

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Font

    source§

    fn eq(&self, other: &Font) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Font

    source§

    impl Eq for Font

    source§

    impl StructuralPartialEq for Font

    Auto Trait Implementations§

    §

    impl Freeze for Font

    §

    impl RefUnwindSafe for Font

    §

    impl Send for Font

    §

    impl Sync for Font

    §

    impl Unpin for Font

    §

    impl UnwindSafe for Font

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Padding.html b/iced/struct.Padding.html index a0b70cca7b..24982437a9 100644 --- a/iced/struct.Padding.html +++ b/iced/struct.Padding.html @@ -1,4 +1,4 @@ -Padding in iced - Rust
    iced

    Struct Padding

    pub struct Padding {
    +Padding in iced - Rust
    iced

    Struct Padding

    source
    pub struct Padding {
         pub top: f32,
         pub right: f32,
         pub bottom: f32,
    @@ -24,17 +24,17 @@
     
    §right: f32

    Right padding

    §bottom: f32

    Bottom padding

    §left: f32

    Left padding

    -

    Implementations§

    §

    impl Padding

    pub const ZERO: Padding = _

    Padding of zero

    -

    pub const fn new(padding: f32) -> Padding

    Create a Padding that is equal on all sides.

    -

    pub fn top(self, top: impl Into<Pixels>) -> Padding

    Sets the top of the Padding.

    -

    pub fn bottom(self, bottom: impl Into<Pixels>) -> Padding

    Sets the bottom of the Padding.

    -

    pub fn left(self, left: impl Into<Pixels>) -> Padding

    Sets the left of the Padding.

    -

    pub fn right(self, right: impl Into<Pixels>) -> Padding

    Sets the right of the Padding.

    -

    pub fn vertical(self) -> f32

    Returns the total amount of vertical Padding.

    -

    pub fn horizontal(self) -> f32

    Returns the total amount of horizontal Padding.

    -

    pub fn fit(self, inner: Size, outer: Size) -> Padding

    Fits the Padding between the provided inner and outer Size.

    -

    Trait Implementations§

    §

    impl Clone for Padding

    §

    fn clone(&self) -> Padding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Padding

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Padding

    §

    fn default() -> Padding

    Returns the “default value” for a type. Read more
    §

    impl From<[f32; 2]> for Padding

    §

    fn from(p: [f32; 2]) -> Padding

    Converts to this type from the input type.
    §

    impl From<[u16; 2]> for Padding

    §

    fn from(p: [u16; 2]) -> Padding

    Converts to this type from the input type.
    §

    impl From<Padding> for Size

    §

    fn from(padding: Padding) -> Size

    Converts to this type from the input type.
    §

    impl From<f32> for Padding

    §

    fn from(p: f32) -> Padding

    Converts to this type from the input type.
    §

    impl From<u16> for Padding

    §

    fn from(p: u16) -> Padding

    Converts to this type from the input type.
    §

    impl PartialEq for Padding

    §

    fn eq(&self, other: &Padding) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Padding

    §

    impl StructuralPartialEq for Padding

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Padding

    source

    pub const ZERO: Padding = _

    Padding of zero

    +
    source

    pub const fn new(padding: f32) -> Padding

    Create a Padding that is equal on all sides.

    +
    source

    pub fn top(self, top: impl Into<Pixels>) -> Padding

    Sets the top of the Padding.

    +
    source

    pub fn bottom(self, bottom: impl Into<Pixels>) -> Padding

    Sets the bottom of the Padding.

    +
    source

    pub fn left(self, left: impl Into<Pixels>) -> Padding

    Sets the left of the Padding.

    +
    source

    pub fn right(self, right: impl Into<Pixels>) -> Padding

    Sets the right of the Padding.

    +
    source

    pub fn vertical(self) -> f32

    Returns the total amount of vertical Padding.

    +
    source

    pub fn horizontal(self) -> f32

    Returns the total amount of horizontal Padding.

    +
    source

    pub fn fit(self, inner: Size, outer: Size) -> Padding

    Fits the Padding between the provided inner and outer Size.

    +

    Trait Implementations§

    source§

    impl Clone for Padding

    source§

    fn clone(&self) -> Padding

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Padding

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Padding

    source§

    fn default() -> Padding

    Returns the “default value” for a type. Read more
    source§

    impl From<[f32; 2]> for Padding

    source§

    fn from(p: [f32; 2]) -> Padding

    Converts to this type from the input type.
    source§

    impl From<[u16; 2]> for Padding

    source§

    fn from(p: [u16; 2]) -> Padding

    Converts to this type from the input type.
    source§

    impl From<Padding> for Size

    source§

    fn from(padding: Padding) -> Size

    Converts to this type from the input type.
    source§

    impl From<f32> for Padding

    source§

    fn from(p: f32) -> Padding

    Converts to this type from the input type.
    source§

    impl From<u16> for Padding

    source§

    fn from(p: u16) -> Padding

    Converts to this type from the input type.
    source§

    impl PartialEq for Padding

    source§

    fn eq(&self, other: &Padding) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Padding

    source§

    impl StructuralPartialEq for Padding

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Pixels.html b/iced/struct.Pixels.html index fa28f3ed1d..343b2fa38e 100644 --- a/iced/struct.Pixels.html +++ b/iced/struct.Pixels.html @@ -1,15 +1,15 @@ -Pixels in iced - Rust
    iced

    Struct Pixels

    pub struct Pixels(pub f32);
    Expand description

    An amount of logical pixels.

    +Pixels in iced - Rust
    iced

    Struct Pixels

    source
    pub struct Pixels(pub f32);
    Expand description

    An amount of logical pixels.

    Normally used to represent an amount of space, or the size of something.

    This type is normally asked as an argument in a generic way (e.g. impl Into<Pixels>) and, since Pixels implements From both for f32 and u16, you should be able to provide both integers and float literals as needed.

    -

    Tuple Fields§

    §0: f32

    Implementations§

    §

    impl Pixels

    pub const ZERO: Pixels = _

    Zero pixels.

    -

    Trait Implementations§

    §

    impl Add<f32> for Pixels

    §

    type Output = Pixels

    The resulting type after applying the + operator.
    §

    fn add(self, rhs: f32) -> Pixels

    Performs the + operation. Read more
    §

    impl Add for Pixels

    §

    type Output = Pixels

    The resulting type after applying the + operator.
    §

    fn add(self, rhs: Pixels) -> Pixels

    Performs the + operation. Read more
    §

    impl Clone for Pixels

    §

    fn clone(&self) -> Pixels

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Pixels

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Pixels

    §

    fn default() -> Pixels

    Returns the “default value” for a type. Read more
    §

    impl Div<f32> for Pixels

    §

    type Output = Pixels

    The resulting type after applying the / operator.
    §

    fn div(self, rhs: f32) -> Pixels

    Performs the / operation. Read more
    §

    impl Div for Pixels

    §

    type Output = Pixels

    The resulting type after applying the / operator.
    §

    fn div(self, rhs: Pixels) -> Pixels

    Performs the / operation. Read more
    §

    impl From<Pixels> for Length

    §

    fn from(amount: Pixels) -> Length

    Converts to this type from the input type.
    §

    impl From<Pixels> for LineHeight

    §

    fn from(pixels: Pixels) -> LineHeight

    Converts to this type from the input type.
    §

    impl From<f32> for Pixels

    §

    fn from(amount: f32) -> Pixels

    Converts to this type from the input type.
    §

    impl From<u16> for Pixels

    §

    fn from(amount: u16) -> Pixels

    Converts to this type from the input type.
    §

    impl Mul<f32> for Pixels

    §

    type Output = Pixels

    The resulting type after applying the * operator.
    §

    fn mul(self, rhs: f32) -> Pixels

    Performs the * operation. Read more
    §

    impl Mul for Pixels

    §

    type Output = Pixels

    The resulting type after applying the * operator.
    §

    fn mul(self, rhs: Pixels) -> Pixels

    Performs the * operation. Read more
    §

    impl PartialEq for Pixels

    §

    fn eq(&self, other: &Pixels) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for Pixels

    §

    fn partial_cmp(&self, other: &Pixels) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +

    Tuple Fields§

    §0: f32

    Implementations§

    source§

    impl Pixels

    source

    pub const ZERO: Pixels = _

    Zero pixels.

    +

    Trait Implementations§

    source§

    impl Add<f32> for Pixels

    source§

    type Output = Pixels

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: f32) -> Pixels

    Performs the + operation. Read more
    source§

    impl Add for Pixels

    source§

    type Output = Pixels

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Pixels) -> Pixels

    Performs the + operation. Read more
    source§

    impl Clone for Pixels

    source§

    fn clone(&self) -> Pixels

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Pixels

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Pixels

    source§

    fn default() -> Pixels

    Returns the “default value” for a type. Read more
    source§

    impl Div<f32> for Pixels

    source§

    type Output = Pixels

    The resulting type after applying the / operator.
    source§

    fn div(self, rhs: f32) -> Pixels

    Performs the / operation. Read more
    source§

    impl Div for Pixels

    source§

    type Output = Pixels

    The resulting type after applying the / operator.
    source§

    fn div(self, rhs: Pixels) -> Pixels

    Performs the / operation. Read more
    source§

    impl From<Pixels> for Length

    source§

    fn from(amount: Pixels) -> Length

    Converts to this type from the input type.
    source§

    impl From<Pixels> for LineHeight

    source§

    fn from(pixels: Pixels) -> LineHeight

    Converts to this type from the input type.
    source§

    impl From<f32> for Pixels

    source§

    fn from(amount: f32) -> Pixels

    Converts to this type from the input type.
    source§

    impl From<u16> for Pixels

    source§

    fn from(amount: u16) -> Pixels

    Converts to this type from the input type.
    source§

    impl Mul<f32> for Pixels

    source§

    type Output = Pixels

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: f32) -> Pixels

    Performs the * operation. Read more
    source§

    impl Mul for Pixels

    source§

    type Output = Pixels

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: Pixels) -> Pixels

    Performs the * operation. Read more
    source§

    impl PartialEq for Pixels

    source§

    fn eq(&self, other: &Pixels) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Pixels

    source§

    fn partial_cmp(&self, other: &Pixels) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for Pixels

    §

    impl StructuralPartialEq for Pixels

    Auto Trait Implementations§

    §

    impl Freeze for Pixels

    §

    impl RefUnwindSafe for Pixels

    §

    impl Send for Pixels

    §

    impl Sync for Pixels

    §

    impl Unpin for Pixels

    §

    impl UnwindSafe for Pixels

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for Pixels

    source§

    impl StructuralPartialEq for Pixels

    Auto Trait Implementations§

    §

    impl Freeze for Pixels

    §

    impl RefUnwindSafe for Pixels

    §

    impl Send for Pixels

    §

    impl Sync for Pixels

    §

    impl Unpin for Pixels

    §

    impl UnwindSafe for Pixels

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Point.html b/iced/struct.Point.html index db3a7c9b33..2e78244bba 100644 --- a/iced/struct.Point.html +++ b/iced/struct.Point.html @@ -1,28 +1,28 @@ -Point in iced - Rust
    iced

    Struct Point

    pub struct Point<T = f32> {
    +Point in iced - Rust
    iced

    Struct Point

    source
    pub struct Point<T = f32> {
         pub x: T,
         pub y: T,
     }
    Expand description

    A 2D point.

    Fields§

    §x: T

    The X coordinate.

    §y: T

    The Y coordinate.

    -

    Implementations§

    §

    impl Point

    pub const ORIGIN: Point = _

    The origin (i.e. a Point at (0, 0)).

    -
    §

    impl<T> Point<T>
    where - T: Num,

    pub const fn new(x: T, y: T) -> Point<T>

    Creates a new Point with the given coordinates.

    -

    pub fn distance(&self, to: Point<T>) -> T
    where +

    Implementations§

    source§

    impl Point

    source

    pub const ORIGIN: Point = _

    The origin (i.e. a Point at (0, 0)).

    +
    source§

    impl<T> Point<T>
    where + T: Num,

    source

    pub const fn new(x: T, y: T) -> Point<T>

    Creates a new Point with the given coordinates.

    +
    source

    pub fn distance(&self, to: Point<T>) -> T
    where T: Float,

    Computes the distance to another Point.

    -

    Trait Implementations§

    §

    impl<T> Add<Vector<T>> for Point<T>
    where - T: Add<Output = T>,

    §

    type Output = Point<T>

    The resulting type after applying the + operator.
    §

    fn add(self, vector: Vector<T>) -> Point<T>

    Performs the + operation. Read more
    §

    impl<T> Clone for Point<T>
    where - T: Clone,

    §

    fn clone(&self) -> Point<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<T> Debug for Point<T>
    where - T: Debug,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<T> Default for Point<T>
    where - T: Default,

    §

    fn default() -> Point<T>

    Returns the “default value” for a type. Read more
    §

    impl<T> Display for Point<T>
    where - T: Display,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<T> From<[T; 2]> for Point<T>
    where - T: Num,

    §

    fn from(_: [T; 2]) -> Point<T>

    Converts to this type from the input type.
    §

    impl<T> From<(T, T)> for Point<T>
    where - T: Num,

    §

    fn from(_: (T, T)) -> Point<T>

    Converts to this type from the input type.
    §

    impl Mul<Transformation> for Point

    §

    type Output = Point

    The resulting type after applying the * operator.
    §

    fn mul(self, transformation: Transformation) -> Point

    Performs the * operation. Read more
    §

    impl<T> PartialEq for Point<T>
    where - T: PartialEq,

    §

    fn eq(&self, other: &Point<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl<T> Sub<Vector<T>> for Point<T>
    where - T: Sub<Output = T>,

    §

    type Output = Point<T>

    The resulting type after applying the - operator.
    §

    fn sub(self, vector: Vector<T>) -> Point<T>

    Performs the - operation. Read more
    §

    impl<T> Sub for Point<T>
    where - T: Sub<Output = T>,

    §

    type Output = Vector<T>

    The resulting type after applying the - operator.
    §

    fn sub(self, point: Point<T>) -> Vector<T>

    Performs the - operation. Read more
    §

    impl<T> Copy for Point<T>
    where - T: Copy,

    §

    impl<T> Eq for Point<T>
    where - T: Eq,

    §

    impl<T> StructuralPartialEq for Point<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Point<T>
    where +

    Trait Implementations§

    source§

    impl<T> Add<Vector<T>> for Point<T>
    where + T: Add<Output = T>,

    source§

    type Output = Point<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, vector: Vector<T>) -> Point<T>

    Performs the + operation. Read more
    source§

    impl<T> Clone for Point<T>
    where + T: Clone,

    source§

    fn clone(&self) -> Point<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Point<T>
    where + T: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T> Default for Point<T>
    where + T: Default,

    source§

    fn default() -> Point<T>

    Returns the “default value” for a type. Read more
    source§

    impl<T> Display for Point<T>
    where + T: Display,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T> From<[T; 2]> for Point<T>
    where + T: Num,

    source§

    fn from(_: [T; 2]) -> Point<T>

    Converts to this type from the input type.
    source§

    impl<T> From<(T, T)> for Point<T>
    where + T: Num,

    source§

    fn from(_: (T, T)) -> Point<T>

    Converts to this type from the input type.
    source§

    impl Mul<Transformation> for Point

    source§

    type Output = Point

    The resulting type after applying the * operator.
    source§

    fn mul(self, transformation: Transformation) -> Point

    Performs the * operation. Read more
    source§

    impl<T> PartialEq for Point<T>
    where + T: PartialEq,

    source§

    fn eq(&self, other: &Point<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<T> Sub<Vector<T>> for Point<T>
    where + T: Sub<Output = T>,

    source§

    type Output = Point<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, vector: Vector<T>) -> Point<T>

    Performs the - operation. Read more
    source§

    impl<T> Sub for Point<T>
    where + T: Sub<Output = T>,

    source§

    type Output = Vector<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, point: Point<T>) -> Vector<T>

    Performs the - operation. Read more
    source§

    impl<T> Copy for Point<T>
    where + T: Copy,

    source§

    impl<T> Eq for Point<T>
    where + T: Eq,

    source§

    impl<T> StructuralPartialEq for Point<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Point<T>
    where T: Freeze,

    §

    impl<T> RefUnwindSafe for Point<T>
    where T: RefUnwindSafe,

    §

    impl<T> Send for Point<T>
    where T: Send,

    §

    impl<T> Sync for Point<T>
    where diff --git a/iced/struct.Radians.html b/iced/struct.Radians.html index 811f05fc20..d4e4474231 100644 --- a/iced/struct.Radians.html +++ b/iced/struct.Radians.html @@ -1,10 +1,10 @@ -Radians in iced - Rust
    iced

    Struct Radians

    pub struct Radians(pub f32);
    Expand description

    Radians

    -

    Tuple Fields§

    §0: f32

    Implementations§

    §

    impl Radians

    pub const RANGE: RangeInclusive<Radians> = _

    The range of radians of a circle.

    -

    pub const PI: Radians = _

    The amount of radians in half a circle.

    -

    pub fn to_distance(&self, bounds: &Rectangle) -> (Point, Point)

    Calculates the line in which the angle intercepts the bounds.

    -

    Trait Implementations§

    §

    impl Add<Degrees> for Radians

    §

    type Output = Radians

    The resulting type after applying the + operator.
    §

    fn add(self, rhs: Degrees) -> <Radians as Add<Degrees>>::Output

    Performs the + operation. Read more
    §

    impl Add for Radians

    §

    type Output = Radians

    The resulting type after applying the + operator.
    §

    fn add(self, rhs: Radians) -> <Radians as Add>::Output

    Performs the + operation. Read more
    §

    impl AddAssign for Radians

    §

    fn add_assign(&mut self, rhs: Radians)

    Performs the += operation. Read more
    §

    impl Clone for Radians

    §

    fn clone(&self) -> Radians

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Radians

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Display for Radians

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Div<f32> for Radians

    §

    type Output = Radians

    The resulting type after applying the / operator.
    §

    fn div(self, rhs: f32) -> <Radians as Div<f32>>::Output

    Performs the / operation. Read more
    §

    impl Div for Radians

    §

    type Output = Radians

    The resulting type after applying the / operator.
    §

    fn div(self, rhs: Radians) -> <Radians as Div>::Output

    Performs the / operation. Read more
    §

    impl From<Degrees> for Radians

    §

    fn from(degrees: Degrees) -> Radians

    Converts to this type from the input type.
    §

    impl From<Radians> for Rotation

    §

    fn from(radians: Radians) -> Rotation

    Converts to this type from the input type.
    §

    impl From<f32> for Radians

    §

    fn from(radians: f32) -> Radians

    Converts to this type from the input type.
    §

    impl From<u8> for Radians

    §

    fn from(radians: u8) -> Radians

    Converts to this type from the input type.
    §

    impl FromPrimitive for Radians

    §

    fn from_i64(n: i64) -> Option<Radians>

    Converts an i64 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    fn from_u64(n: u64) -> Option<Radians>

    Converts an u64 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    fn from_f64(n: f64) -> Option<Radians>

    Converts a f64 to return an optional value of this type. If the +Radians in iced - Rust
    iced

    Struct Radians

    source
    pub struct Radians(pub f32);
    Expand description

    Radians

    +

    Tuple Fields§

    §0: f32

    Implementations§

    source§

    impl Radians

    source

    pub const RANGE: RangeInclusive<Radians> = _

    The range of radians of a circle.

    +
    source

    pub const PI: Radians = _

    The amount of radians in half a circle.

    +
    source

    pub fn to_distance(&self, bounds: &Rectangle) -> (Point, Point)

    Calculates the line in which the angle intercepts the bounds.

    +

    Trait Implementations§

    source§

    impl Add<Degrees> for Radians

    source§

    type Output = Radians

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Degrees) -> <Radians as Add<Degrees>>::Output

    Performs the + operation. Read more
    source§

    impl Add for Radians

    source§

    type Output = Radians

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Radians) -> <Radians as Add>::Output

    Performs the + operation. Read more
    source§

    impl AddAssign for Radians

    source§

    fn add_assign(&mut self, rhs: Radians)

    Performs the += operation. Read more
    source§

    impl Clone for Radians

    source§

    fn clone(&self) -> Radians

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Radians

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Display for Radians

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Div<f32> for Radians

    source§

    type Output = Radians

    The resulting type after applying the / operator.
    source§

    fn div(self, rhs: f32) -> <Radians as Div<f32>>::Output

    Performs the / operation. Read more
    source§

    impl Div for Radians

    source§

    type Output = Radians

    The resulting type after applying the / operator.
    source§

    fn div(self, rhs: Radians) -> <Radians as Div>::Output

    Performs the / operation. Read more
    source§

    impl From<Degrees> for Radians

    source§

    fn from(degrees: Degrees) -> Radians

    Converts to this type from the input type.
    source§

    impl From<Radians> for Rotation

    source§

    fn from(radians: Radians) -> Rotation

    Converts to this type from the input type.
    source§

    impl From<f32> for Radians

    source§

    fn from(radians: f32) -> Radians

    Converts to this type from the input type.
    source§

    impl From<u8> for Radians

    source§

    fn from(radians: u8) -> Radians

    Converts to this type from the input type.
    source§

    impl FromPrimitive for Radians

    source§

    fn from_i64(n: i64) -> Option<Radians>

    Converts an i64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    source§

    fn from_u64(n: u64) -> Option<Radians>

    Converts an u64 to return an optional value of this type. If the +value cannot be represented by this type, then None is returned.
    source§

    fn from_f64(n: f64) -> Option<Radians>

    Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
    source§

    fn from_isize(n: isize) -> Option<Self>

    Converts an isize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
    source§

    fn from_i8(n: i8) -> Option<Self>

    Converts an i8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
    source§

    fn from_i16(n: i16) -> Option<Self>

    Converts an i16 to return an optional value of this type. If the @@ -16,15 +16,15 @@ value cannot be represented by this type, then None is returned.
    source§

    fn from_u32(n: u32) -> Option<Self>

    Converts an u32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
    source§

    fn from_u128(n: u128) -> Option<Self>

    Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
    source§

    fn from_f32(n: f32) -> Option<Self>

    Converts a f32 to return an optional value of this type. If the -value cannot be represented by this type, then None is returned.
    §

    impl Mul<f32> for Radians

    §

    type Output = Radians

    The resulting type after applying the * operator.
    §

    fn mul(self, rhs: f32) -> <Radians as Mul<f32>>::Output

    Performs the * operation. Read more
    §

    impl Mul for Radians

    §

    type Output = Radians

    The resulting type after applying the * operator.
    §

    fn mul(self, rhs: Radians) -> <Radians as Mul>::Output

    Performs the * operation. Read more
    §

    impl PartialEq<f32> for Radians

    §

    fn eq(&self, other: &f32) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialEq for Radians

    §

    fn eq(&self, other: &Radians) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd<f32> for Radians

    §

    fn partial_cmp(&self, other: &f32) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +value cannot be represented by this type, then None is returned.
    source§

    impl Mul<f32> for Radians

    source§

    type Output = Radians

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: f32) -> <Radians as Mul<f32>>::Output

    Performs the * operation. Read more
    source§

    impl Mul for Radians

    source§

    type Output = Radians

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: Radians) -> <Radians as Mul>::Output

    Performs the * operation. Read more
    source§

    impl PartialEq<f32> for Radians

    source§

    fn eq(&self, other: &f32) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialEq for Radians

    source§

    fn eq(&self, other: &Radians) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd<f32> for Radians

    source§

    fn partial_cmp(&self, other: &f32) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl PartialOrd for Radians

    §

    fn partial_cmp(&self, other: &Radians) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +the >= operator. Read more
    source§

    impl PartialOrd for Radians

    source§

    fn partial_cmp(&self, other: &Radians) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Rem for Radians

    §

    type Output = Radians

    The resulting type after applying the % operator.
    §

    fn rem(self, rhs: Radians) -> <Radians as Rem>::Output

    Performs the % operation. Read more
    §

    impl Sub for Radians

    §

    type Output = Radians

    The resulting type after applying the - operator.
    §

    fn sub(self, rhs: Radians) -> <Radians as Sub>::Output

    Performs the - operation. Read more
    §

    impl SubAssign for Radians

    §

    fn sub_assign(&mut self, rhs: Radians)

    Performs the -= operation. Read more
    §

    impl Copy for Radians

    §

    impl StructuralPartialEq for Radians

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Rem for Radians

    source§

    type Output = Radians

    The resulting type after applying the % operator.
    source§

    fn rem(self, rhs: Radians) -> <Radians as Rem>::Output

    Performs the % operation. Read more
    source§

    impl Sub for Radians

    source§

    type Output = Radians

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: Radians) -> <Radians as Sub>::Output

    Performs the - operation. Read more
    source§

    impl SubAssign for Radians

    source§

    fn sub_assign(&mut self, rhs: Radians)

    Performs the -= operation. Read more
    source§

    impl Copy for Radians

    source§

    impl StructuralPartialEq for Radians

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Rectangle.html b/iced/struct.Rectangle.html index a5d6530d49..3fde29ab3c 100644 --- a/iced/struct.Rectangle.html +++ b/iced/struct.Rectangle.html @@ -1,4 +1,4 @@ -Rectangle in iced - Rust
    iced

    Struct Rectangle

    pub struct Rectangle<T = f32> {
    +Rectangle in iced - Rust
    iced

    Struct Rectangle

    source
    pub struct Rectangle<T = f32> {
         pub x: T,
         pub y: T,
         pub width: T,
    @@ -8,51 +8,51 @@
     
    §y: T

    Y coordinate of the top-left corner.

    §width: T

    Width of the rectangle.

    §height: T

    Height of the rectangle.

    -

    Implementations§

    §

    impl<T> Rectangle<T>
    where - T: Default,

    pub fn with_size(size: Size<T>) -> Rectangle<T>

    Creates a new Rectangle with its top-left corner at the origin +

    Implementations§

    source§

    impl<T> Rectangle<T>
    where + T: Default,

    source

    pub fn with_size(size: Size<T>) -> Rectangle<T>

    Creates a new Rectangle with its top-left corner at the origin and with the provided Size.

    -
    §

    impl Rectangle

    pub const INFINITE: Rectangle = _

    A rectangle starting at Point::ORIGIN with infinite width and height.

    -

    pub const fn new(top_left: Point, size: Size) -> Rectangle

    Creates a new Rectangle with its top-left corner in the given +

    source§

    impl Rectangle

    source

    pub const INFINITE: Rectangle = _

    A rectangle starting at Point::ORIGIN with infinite width and height.

    +
    source

    pub const fn new(top_left: Point, size: Size) -> Rectangle

    Creates a new Rectangle with its top-left corner in the given Point and with the provided Size.

    -

    pub fn with_radius(radius: f32) -> Rectangle

    Creates a new square Rectangle with the center at the origin and +

    source

    pub fn with_radius(radius: f32) -> Rectangle

    Creates a new square Rectangle with the center at the origin and with the given radius.

    -

    pub fn with_vertices( +

    source

    pub fn with_vertices( top_left: Point, top_right: Point, bottom_left: Point, ) -> (Rectangle, Radians)

    Creates a new axis-aligned Rectangle from the given vertices; returning the rotation in Radians that must be applied to the axis-aligned Rectangle to obtain the desired result.

    -

    pub fn center(&self) -> Point

    Returns the Point at the center of the Rectangle.

    -

    pub fn center_x(&self) -> f32

    Returns the X coordinate of the Point at the center of the +

    source

    pub fn center(&self) -> Point

    Returns the Point at the center of the Rectangle.

    +
    source

    pub fn center_x(&self) -> f32

    Returns the X coordinate of the Point at the center of the Rectangle.

    -

    pub fn center_y(&self) -> f32

    Returns the Y coordinate of the Point at the center of the +

    source

    pub fn center_y(&self) -> f32

    Returns the Y coordinate of the Point at the center of the Rectangle.

    -

    pub fn position(&self) -> Point

    Returns the position of the top left corner of the Rectangle.

    -

    pub fn size(&self) -> Size

    Returns the Size of the Rectangle.

    -

    pub fn area(&self) -> f32

    Returns the area of the Rectangle.

    -

    pub fn contains(&self, point: Point) -> bool

    Returns true if the given Point is contained in the Rectangle.

    -

    pub fn is_within(&self, container: &Rectangle) -> bool

    Returns true if the current Rectangle is completely within the given +

    source

    pub fn position(&self) -> Point

    Returns the position of the top left corner of the Rectangle.

    +
    source

    pub fn size(&self) -> Size

    Returns the Size of the Rectangle.

    +
    source

    pub fn area(&self) -> f32

    Returns the area of the Rectangle.

    +
    source

    pub fn contains(&self, point: Point) -> bool

    Returns true if the given Point is contained in the Rectangle.

    +
    source

    pub fn is_within(&self, container: &Rectangle) -> bool

    Returns true if the current Rectangle is completely within the given container.

    -

    pub fn intersection(&self, other: &Rectangle) -> Option<Rectangle>

    Computes the intersection with the given Rectangle.

    -

    pub fn intersects(&self, other: &Rectangle) -> bool

    Returns whether the Rectangle intersects with the given one.

    -

    pub fn union(&self, other: &Rectangle) -> Rectangle

    Computes the union with the given Rectangle.

    -

    pub fn snap(self) -> Option<Rectangle<u32>>

    Snaps the Rectangle to unsigned integer coordinates.

    -

    pub fn expand(self, padding: impl Into<Padding>) -> Rectangle

    Expands the Rectangle a given amount.

    -

    pub fn shrink(self, padding: impl Into<Padding>) -> Rectangle

    Shrinks the Rectangle a given amount.

    -

    pub fn rotate(self, rotation: Radians) -> Rectangle

    Rotates the Rectangle and returns the smallest Rectangle +

    source

    pub fn intersection(&self, other: &Rectangle) -> Option<Rectangle>

    Computes the intersection with the given Rectangle.

    +
    source

    pub fn intersects(&self, other: &Rectangle) -> bool

    Returns whether the Rectangle intersects with the given one.

    +
    source

    pub fn union(&self, other: &Rectangle) -> Rectangle

    Computes the union with the given Rectangle.

    +
    source

    pub fn snap(self) -> Option<Rectangle<u32>>

    Snaps the Rectangle to unsigned integer coordinates.

    +
    source

    pub fn expand(self, padding: impl Into<Padding>) -> Rectangle

    Expands the Rectangle a given amount.

    +
    source

    pub fn shrink(self, padding: impl Into<Padding>) -> Rectangle

    Shrinks the Rectangle a given amount.

    +
    source

    pub fn rotate(self, rotation: Radians) -> Rectangle

    Rotates the Rectangle and returns the smallest Rectangle containing it.

    -

    Trait Implementations§

    §

    impl<T> Add<Vector<T>> for Rectangle<T>
    where - T: Add<Output = T>,

    §

    type Output = Rectangle<T>

    The resulting type after applying the + operator.
    §

    fn add(self, translation: Vector<T>) -> Rectangle<T>

    Performs the + operation. Read more
    §

    impl<T> Clone for Rectangle<T>
    where - T: Clone,

    §

    fn clone(&self) -> Rectangle<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<T> Debug for Rectangle<T>
    where - T: Debug,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<T> Default for Rectangle<T>
    where - T: Default,

    §

    fn default() -> Rectangle<T>

    Returns the “default value” for a type. Read more
    §

    impl From<Rectangle<u32>> for Rectangle

    §

    fn from(rectangle: Rectangle<u32>) -> Rectangle

    Converts to this type from the input type.
    §

    impl Mul<Transformation> for Rectangle

    §

    type Output = Rectangle

    The resulting type after applying the * operator.
    §

    fn mul(self, transformation: Transformation) -> Rectangle

    Performs the * operation. Read more
    §

    impl<T> Mul<Vector<T>> for Rectangle<T>
    where - T: Mul<Output = T> + Copy,

    §

    type Output = Rectangle<T>

    The resulting type after applying the * operator.
    §

    fn mul(self, scale: Vector<T>) -> Rectangle<T>

    Performs the * operation. Read more
    §

    impl Mul<f32> for Rectangle

    §

    type Output = Rectangle

    The resulting type after applying the * operator.
    §

    fn mul(self, scale: f32) -> Rectangle

    Performs the * operation. Read more
    §

    impl<T> PartialEq for Rectangle<T>
    where - T: PartialEq,

    §

    fn eq(&self, other: &Rectangle<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl<T> Sub<Vector<T>> for Rectangle<T>
    where - T: Sub<Output = T>,

    §

    type Output = Rectangle<T>

    The resulting type after applying the - operator.
    §

    fn sub(self, translation: Vector<T>) -> Rectangle<T>

    Performs the - operation. Read more
    §

    impl<T> Copy for Rectangle<T>
    where - T: Copy,

    §

    impl<T> Eq for Rectangle<T>
    where - T: Eq,

    §

    impl<T> StructuralPartialEq for Rectangle<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Rectangle<T>
    where +

    Trait Implementations§

    source§

    impl<T> Add<Vector<T>> for Rectangle<T>
    where + T: Add<Output = T>,

    source§

    type Output = Rectangle<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, translation: Vector<T>) -> Rectangle<T>

    Performs the + operation. Read more
    source§

    impl<T> Clone for Rectangle<T>
    where + T: Clone,

    source§

    fn clone(&self) -> Rectangle<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Rectangle<T>
    where + T: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T> Default for Rectangle<T>
    where + T: Default,

    source§

    fn default() -> Rectangle<T>

    Returns the “default value” for a type. Read more
    source§

    impl From<Rectangle<u32>> for Rectangle

    source§

    fn from(rectangle: Rectangle<u32>) -> Rectangle

    Converts to this type from the input type.
    source§

    impl Mul<Transformation> for Rectangle

    source§

    type Output = Rectangle

    The resulting type after applying the * operator.
    source§

    fn mul(self, transformation: Transformation) -> Rectangle

    Performs the * operation. Read more
    source§

    impl<T> Mul<Vector<T>> for Rectangle<T>
    where + T: Mul<Output = T> + Copy,

    source§

    type Output = Rectangle<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, scale: Vector<T>) -> Rectangle<T>

    Performs the * operation. Read more
    source§

    impl Mul<f32> for Rectangle

    source§

    type Output = Rectangle

    The resulting type after applying the * operator.
    source§

    fn mul(self, scale: f32) -> Rectangle

    Performs the * operation. Read more
    source§

    impl<T> PartialEq for Rectangle<T>
    where + T: PartialEq,

    source§

    fn eq(&self, other: &Rectangle<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<T> Sub<Vector<T>> for Rectangle<T>
    where + T: Sub<Output = T>,

    source§

    type Output = Rectangle<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, translation: Vector<T>) -> Rectangle<T>

    Performs the - operation. Read more
    source§

    impl<T> Copy for Rectangle<T>
    where + T: Copy,

    source§

    impl<T> Eq for Rectangle<T>
    where + T: Eq,

    source§

    impl<T> StructuralPartialEq for Rectangle<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Rectangle<T>
    where T: Freeze,

    §

    impl<T> RefUnwindSafe for Rectangle<T>
    where T: RefUnwindSafe,

    §

    impl<T> Send for Rectangle<T>
    where T: Send,

    §

    impl<T> Sync for Rectangle<T>
    where diff --git a/iced/struct.Shadow.html b/iced/struct.Shadow.html index 8f87a45b85..ff467f38cd 100644 --- a/iced/struct.Shadow.html +++ b/iced/struct.Shadow.html @@ -1,4 +1,4 @@ -Shadow in iced - Rust
    iced

    Struct Shadow

    pub struct Shadow {
    +Shadow in iced - Rust
    iced

    Struct Shadow

    source
    pub struct Shadow {
         pub color: Color,
         pub offset: Vector,
         pub blur_radius: f32,
    @@ -6,8 +6,8 @@
     

    Fields§

    §color: Color

    The color of the shadow.

    §offset: Vector

    The offset of the shadow.

    §blur_radius: f32

    The blur radius of the shadow.

    -

    Trait Implementations§

    §

    impl Clone for Shadow

    §

    fn clone(&self) -> Shadow

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Shadow

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Shadow

    §

    fn default() -> Shadow

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for Shadow

    §

    fn eq(&self, other: &Shadow) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Shadow

    §

    impl StructuralPartialEq for Shadow

    Auto Trait Implementations§

    §

    impl Freeze for Shadow

    §

    impl RefUnwindSafe for Shadow

    §

    impl Send for Shadow

    §

    impl Sync for Shadow

    §

    impl Unpin for Shadow

    §

    impl UnwindSafe for Shadow

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Shadow

    source§

    fn clone(&self) -> Shadow

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Shadow

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Shadow

    source§

    fn default() -> Shadow

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for Shadow

    source§

    fn eq(&self, other: &Shadow) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Shadow

    source§

    impl StructuralPartialEq for Shadow

    Auto Trait Implementations§

    §

    impl Freeze for Shadow

    §

    impl RefUnwindSafe for Shadow

    §

    impl Send for Shadow

    §

    impl Sync for Shadow

    §

    impl Unpin for Shadow

    §

    impl UnwindSafe for Shadow

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Size.html b/iced/struct.Size.html index 34a1b65f04..32466fb2d8 100644 --- a/iced/struct.Size.html +++ b/iced/struct.Size.html @@ -1,34 +1,34 @@ -Size in iced - Rust
    iced

    Struct Size

    pub struct Size<T = f32> {
    +Size in iced - Rust
    iced

    Struct Size

    source
    pub struct Size<T = f32> {
         pub width: T,
         pub height: T,
     }
    Expand description

    An amount of space in 2 dimensions.

    Fields§

    §width: T

    The width.

    §height: T

    The height.

    -

    Implementations§

    §

    impl<T> Size<T>

    pub const fn new(width: T, height: T) -> Size<T>

    Creates a new Size with the given width and height.

    -
    §

    impl Size

    pub const ZERO: Size = _

    A Size with zero width and height.

    -

    pub const UNIT: Size = _

    A Size with a width and height of 1 unit.

    -

    pub const INFINITY: Size = _

    A Size with infinite width and height.

    -

    pub fn min(self, other: Size) -> Size

    Returns the minimum of each component of this size and another.

    -

    pub fn max(self, other: Size) -> Size

    Returns the maximum of each component of this size and another.

    -

    pub fn expand(self, other: impl Into<Size>) -> Size

    Expands this Size by the given amount.

    -

    pub fn rotate(self, rotation: Radians) -> Size

    Rotates the given Size and returns the minimum Size +

    Implementations§

    source§

    impl<T> Size<T>

    source

    pub const fn new(width: T, height: T) -> Size<T>

    Creates a new Size with the given width and height.

    +
    source§

    impl Size

    source

    pub const ZERO: Size = _

    A Size with zero width and height.

    +
    source

    pub const UNIT: Size = _

    A Size with a width and height of 1 unit.

    +
    source

    pub const INFINITY: Size = _

    A Size with infinite width and height.

    +
    source

    pub fn min(self, other: Size) -> Size

    Returns the minimum of each component of this size and another.

    +
    source

    pub fn max(self, other: Size) -> Size

    Returns the maximum of each component of this size and another.

    +
    source

    pub fn expand(self, other: impl Into<Size>) -> Size

    Expands this Size by the given amount.

    +
    source

    pub fn rotate(self, rotation: Radians) -> Size

    Rotates the given Size and returns the minimum Size containing it.

    -

    Trait Implementations§

    §

    impl<T> Add for Size<T>
    where - T: Add<Output = T>,

    §

    type Output = Size<T>

    The resulting type after applying the + operator.
    §

    fn add(self, rhs: Size<T>) -> <Size<T> as Add>::Output

    Performs the + operation. Read more
    §

    impl<T> Clone for Size<T>
    where - T: Clone,

    §

    fn clone(&self) -> Size<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<T> Debug for Size<T>
    where - T: Debug,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<T> Default for Size<T>
    where - T: Default,

    §

    fn default() -> Size<T>

    Returns the “default value” for a type. Read more
    §

    impl<T> From<[T; 2]> for Size<T>

    §

    fn from(_: [T; 2]) -> Size<T>

    Converts to this type from the input type.
    §

    impl<T> From<(T, T)> for Size<T>

    §

    fn from(_: (T, T)) -> Size<T>

    Converts to this type from the input type.
    §

    impl From<Padding> for Size

    §

    fn from(padding: Padding) -> Size

    Converts to this type from the input type.
    §

    impl<T> From<Size<T>> for Vector<T>

    §

    fn from(size: Size<T>) -> Vector<T>

    Converts to this type from the input type.
    §

    impl<T> From<Vector<T>> for Size<T>

    §

    fn from(vector: Vector<T>) -> Size<T>

    Converts to this type from the input type.
    §

    impl<T> Hash for Size<T>
    where - T: Hash,

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl<T> Add for Size<T>
    where + T: Add<Output = T>,

    source§

    type Output = Size<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Size<T>) -> <Size<T> as Add>::Output

    Performs the + operation. Read more
    source§

    impl<T> Clone for Size<T>
    where + T: Clone,

    source§

    fn clone(&self) -> Size<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Size<T>
    where + T: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T> Default for Size<T>
    where + T: Default,

    source§

    fn default() -> Size<T>

    Returns the “default value” for a type. Read more
    source§

    impl<T> From<[T; 2]> for Size<T>

    source§

    fn from(_: [T; 2]) -> Size<T>

    Converts to this type from the input type.
    source§

    impl<T> From<(T, T)> for Size<T>

    source§

    fn from(_: (T, T)) -> Size<T>

    Converts to this type from the input type.
    source§

    impl From<Padding> for Size

    source§

    fn from(padding: Padding) -> Size

    Converts to this type from the input type.
    source§

    impl<T> From<Size<T>> for Vector<T>

    source§

    fn from(size: Size<T>) -> Vector<T>

    Converts to this type from the input type.
    source§

    impl<T> From<Vector<T>> for Size<T>

    source§

    fn from(vector: Vector<T>) -> Size<T>

    Converts to this type from the input type.
    source§

    impl<T> Hash for Size<T>
    where + T: Hash,

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl<T> Mul<T> for Size<T>
    where - T: Mul<Output = T> + Copy,

    §

    type Output = Size<T>

    The resulting type after applying the * operator.
    §

    fn mul(self, rhs: T) -> <Size<T> as Mul<T>>::Output

    Performs the * operation. Read more
    §

    impl Mul<Transformation> for Size

    §

    type Output = Size

    The resulting type after applying the * operator.
    §

    fn mul(self, transformation: Transformation) -> Size

    Performs the * operation. Read more
    §

    impl<T> Mul<Vector<T>> for Size<T>
    where - T: Mul<Output = T> + Copy,

    §

    type Output = Size<T>

    The resulting type after applying the * operator.
    §

    fn mul(self, scale: Vector<T>) -> <Size<T> as Mul<Vector<T>>>::Output

    Performs the * operation. Read more
    §

    impl<T> PartialEq for Size<T>
    where - T: PartialEq,

    §

    fn eq(&self, other: &Size<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl<T> Sub for Size<T>
    where - T: Sub<Output = T>,

    §

    type Output = Size<T>

    The resulting type after applying the - operator.
    §

    fn sub(self, rhs: Size<T>) -> <Size<T> as Sub>::Output

    Performs the - operation. Read more
    §

    impl<T> Copy for Size<T>
    where - T: Copy,

    §

    impl<T> Eq for Size<T>
    where - T: Eq,

    §

    impl<T> StructuralPartialEq for Size<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Size<T>
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl<T> Mul<T> for Size<T>
    where + T: Mul<Output = T> + Copy,

    source§

    type Output = Size<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: T) -> <Size<T> as Mul<T>>::Output

    Performs the * operation. Read more
    source§

    impl Mul<Transformation> for Size

    source§

    type Output = Size

    The resulting type after applying the * operator.
    source§

    fn mul(self, transformation: Transformation) -> Size

    Performs the * operation. Read more
    source§

    impl<T> Mul<Vector<T>> for Size<T>
    where + T: Mul<Output = T> + Copy,

    source§

    type Output = Size<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, scale: Vector<T>) -> <Size<T> as Mul<Vector<T>>>::Output

    Performs the * operation. Read more
    source§

    impl<T> PartialEq for Size<T>
    where + T: PartialEq,

    source§

    fn eq(&self, other: &Size<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<T> Sub for Size<T>
    where + T: Sub<Output = T>,

    source§

    type Output = Size<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: Size<T>) -> <Size<T> as Sub>::Output

    Performs the - operation. Read more
    source§

    impl<T> Copy for Size<T>
    where + T: Copy,

    source§

    impl<T> Eq for Size<T>
    where + T: Eq,

    source§

    impl<T> StructuralPartialEq for Size<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Size<T>
    where T: Freeze,

    §

    impl<T> RefUnwindSafe for Size<T>
    where T: RefUnwindSafe,

    §

    impl<T> Send for Size<T>
    where T: Send,

    §

    impl<T> Sync for Size<T>
    where diff --git a/iced/struct.Transformation.html b/iced/struct.Transformation.html index 099536f767..7a5d6d0983 100644 --- a/iced/struct.Transformation.html +++ b/iced/struct.Transformation.html @@ -1,12 +1,12 @@ -Transformation in iced - Rust
    iced

    Struct Transformation

    pub struct Transformation(/* private fields */);
    Expand description

    A 2D transformation matrix.

    -

    Implementations§

    §

    impl Transformation

    pub const IDENTITY: Transformation = _

    A Transformation that preserves whatever is transformed.

    -

    pub fn orthographic(width: u32, height: u32) -> Transformation

    Creates an orthographic projection.

    -

    pub fn translate(x: f32, y: f32) -> Transformation

    Creates a translate transformation.

    -

    pub fn scale(scaling: f32) -> Transformation

    Creates a uniform scaling transformation.

    -

    pub fn scale_factor(&self) -> f32

    Returns the scale factor of the Transformation.

    -

    pub fn translation(&self) -> Vector

    Returns the translation of the Transformation.

    -

    Trait Implementations§

    §

    impl AsRef<[f32; 16]> for Transformation

    §

    fn as_ref(&self) -> &[f32; 16]

    Converts this type into a shared reference of the (usually inferred) input type.
    §

    impl Clone for Transformation

    §

    fn clone(&self) -> Transformation

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Transformation

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Transformation

    §

    fn default() -> Transformation

    Returns the “default value” for a type. Read more
    §

    impl Mul<Transformation> for Point

    §

    type Output = Point

    The resulting type after applying the * operator.
    §

    fn mul(self, transformation: Transformation) -> Point

    Performs the * operation. Read more
    §

    impl Mul<Transformation> for Rectangle

    §

    type Output = Rectangle

    The resulting type after applying the * operator.
    §

    fn mul(self, transformation: Transformation) -> Rectangle

    Performs the * operation. Read more
    §

    impl Mul<Transformation> for Size

    §

    type Output = Size

    The resulting type after applying the * operator.
    §

    fn mul(self, transformation: Transformation) -> Size

    Performs the * operation. Read more
    §

    impl Mul<Transformation> for Vector

    §

    type Output = Vector

    The resulting type after applying the * operator.
    §

    fn mul(self, transformation: Transformation) -> Vector

    Performs the * operation. Read more
    §

    impl Mul for Transformation

    §

    type Output = Transformation

    The resulting type after applying the * operator.
    §

    fn mul(self, rhs: Transformation) -> Transformation

    Performs the * operation. Read more
    §

    impl PartialEq for Transformation

    §

    fn eq(&self, other: &Transformation) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Transformation

    §

    impl StructuralPartialEq for Transformation

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +Transformation in iced - Rust
    iced

    Struct Transformation

    source
    pub struct Transformation(/* private fields */);
    Expand description

    A 2D transformation matrix.

    +

    Implementations§

    source§

    impl Transformation

    source

    pub const IDENTITY: Transformation = _

    A Transformation that preserves whatever is transformed.

    +
    source

    pub fn orthographic(width: u32, height: u32) -> Transformation

    Creates an orthographic projection.

    +
    source

    pub fn translate(x: f32, y: f32) -> Transformation

    Creates a translate transformation.

    +
    source

    pub fn scale(scaling: f32) -> Transformation

    Creates a uniform scaling transformation.

    +
    source

    pub fn scale_factor(&self) -> f32

    Returns the scale factor of the Transformation.

    +
    source

    pub fn translation(&self) -> Vector

    Returns the translation of the Transformation.

    +

    Trait Implementations§

    source§

    impl AsRef<[f32; 16]> for Transformation

    source§

    fn as_ref(&self) -> &[f32; 16]

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for Transformation

    source§

    fn clone(&self) -> Transformation

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Transformation

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Transformation

    source§

    fn default() -> Transformation

    Returns the “default value” for a type. Read more
    source§

    impl Mul<Transformation> for Point

    source§

    type Output = Point

    The resulting type after applying the * operator.
    source§

    fn mul(self, transformation: Transformation) -> Point

    Performs the * operation. Read more
    source§

    impl Mul<Transformation> for Rectangle

    source§

    type Output = Rectangle

    The resulting type after applying the * operator.
    source§

    fn mul(self, transformation: Transformation) -> Rectangle

    Performs the * operation. Read more
    source§

    impl Mul<Transformation> for Size

    source§

    type Output = Size

    The resulting type after applying the * operator.
    source§

    fn mul(self, transformation: Transformation) -> Size

    Performs the * operation. Read more
    source§

    impl Mul<Transformation> for Vector

    source§

    type Output = Vector

    The resulting type after applying the * operator.
    source§

    fn mul(self, transformation: Transformation) -> Vector

    Performs the * operation. Read more
    source§

    impl Mul for Transformation

    source§

    type Output = Transformation

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: Transformation) -> Transformation

    Performs the * operation. Read more
    source§

    impl PartialEq for Transformation

    source§

    fn eq(&self, other: &Transformation) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Transformation

    source§

    impl StructuralPartialEq for Transformation

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/struct.Vector.html b/iced/struct.Vector.html index 225593b948..84cec246a8 100644 --- a/iced/struct.Vector.html +++ b/iced/struct.Vector.html @@ -1,29 +1,29 @@ -Vector in iced - Rust
    iced

    Struct Vector

    pub struct Vector<T = f32> {
    +Vector in iced - Rust
    iced

    Struct Vector

    source
    pub struct Vector<T = f32> {
         pub x: T,
         pub y: T,
     }
    Expand description

    A 2D vector.

    Fields§

    §x: T

    The X component of the Vector

    §y: T

    The Y component of the Vector

    -

    Implementations§

    §

    impl<T> Vector<T>

    pub const fn new(x: T, y: T) -> Vector<T>

    Creates a new Vector with the given components.

    -
    §

    impl Vector

    pub const ZERO: Vector = _

    The zero Vector.

    -

    Trait Implementations§

    §

    impl<T> Add<Vector<T>> for Point<T>
    where - T: Add<Output = T>,

    §

    type Output = Point<T>

    The resulting type after applying the + operator.
    §

    fn add(self, vector: Vector<T>) -> Point<T>

    Performs the + operation. Read more
    §

    impl<T> Add<Vector<T>> for Rectangle<T>
    where - T: Add<Output = T>,

    §

    type Output = Rectangle<T>

    The resulting type after applying the + operator.
    §

    fn add(self, translation: Vector<T>) -> Rectangle<T>

    Performs the + operation. Read more
    §

    impl<T> Add for Vector<T>
    where - T: Add<Output = T>,

    §

    type Output = Vector<T>

    The resulting type after applying the + operator.
    §

    fn add(self, b: Vector<T>) -> Vector<T>

    Performs the + operation. Read more
    §

    impl<T> Clone for Vector<T>
    where - T: Clone,

    §

    fn clone(&self) -> Vector<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<T> Debug for Vector<T>
    where - T: Debug,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<T> Default for Vector<T>
    where - T: Default,

    §

    fn default() -> Vector<T>

    Returns the “default value” for a type. Read more
    §

    impl<T> From<[T; 2]> for Vector<T>

    §

    fn from(_: [T; 2]) -> Vector<T>

    Converts to this type from the input type.
    §

    impl<T> From<Size<T>> for Vector<T>

    §

    fn from(size: Size<T>) -> Vector<T>

    Converts to this type from the input type.
    §

    impl<T> From<Vector<T>> for Size<T>

    §

    fn from(vector: Vector<T>) -> Size<T>

    Converts to this type from the input type.
    §

    impl<T> Mul<T> for Vector<T>
    where - T: Mul<Output = T> + Copy,

    §

    type Output = Vector<T>

    The resulting type after applying the * operator.
    §

    fn mul(self, scale: T) -> Vector<T>

    Performs the * operation. Read more
    §

    impl Mul<Transformation> for Vector

    §

    type Output = Vector

    The resulting type after applying the * operator.
    §

    fn mul(self, transformation: Transformation) -> Vector

    Performs the * operation. Read more
    §

    impl<T> Mul<Vector<T>> for Rectangle<T>
    where - T: Mul<Output = T> + Copy,

    §

    type Output = Rectangle<T>

    The resulting type after applying the * operator.
    §

    fn mul(self, scale: Vector<T>) -> Rectangle<T>

    Performs the * operation. Read more
    §

    impl<T> Mul<Vector<T>> for Size<T>
    where - T: Mul<Output = T> + Copy,

    §

    type Output = Size<T>

    The resulting type after applying the * operator.
    §

    fn mul(self, scale: Vector<T>) -> <Size<T> as Mul<Vector<T>>>::Output

    Performs the * operation. Read more
    §

    impl<T> Neg for Vector<T>
    where - T: Neg<Output = T>,

    §

    type Output = Vector<T>

    The resulting type after applying the - operator.
    §

    fn neg(self) -> <Vector<T> as Neg>::Output

    Performs the unary - operation. Read more
    §

    impl<T> PartialEq for Vector<T>
    where - T: PartialEq,

    §

    fn eq(&self, other: &Vector<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl<T> Sub<Vector<T>> for Point<T>
    where - T: Sub<Output = T>,

    §

    type Output = Point<T>

    The resulting type after applying the - operator.
    §

    fn sub(self, vector: Vector<T>) -> Point<T>

    Performs the - operation. Read more
    §

    impl<T> Sub<Vector<T>> for Rectangle<T>
    where - T: Sub<Output = T>,

    §

    type Output = Rectangle<T>

    The resulting type after applying the - operator.
    §

    fn sub(self, translation: Vector<T>) -> Rectangle<T>

    Performs the - operation. Read more
    §

    impl<T> Sub for Vector<T>
    where - T: Sub<Output = T>,

    §

    type Output = Vector<T>

    The resulting type after applying the - operator.
    §

    fn sub(self, b: Vector<T>) -> Vector<T>

    Performs the - operation. Read more
    §

    impl<T> Copy for Vector<T>
    where - T: Copy,

    §

    impl<T> Eq for Vector<T>
    where - T: Eq,

    §

    impl<T> StructuralPartialEq for Vector<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Vector<T>
    where +

    Implementations§

    source§

    impl<T> Vector<T>

    source

    pub const fn new(x: T, y: T) -> Vector<T>

    Creates a new Vector with the given components.

    +
    source§

    impl Vector

    source

    pub const ZERO: Vector = _

    The zero Vector.

    +

    Trait Implementations§

    source§

    impl<T> Add<Vector<T>> for Point<T>
    where + T: Add<Output = T>,

    source§

    type Output = Point<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, vector: Vector<T>) -> Point<T>

    Performs the + operation. Read more
    source§

    impl<T> Add<Vector<T>> for Rectangle<T>
    where + T: Add<Output = T>,

    source§

    type Output = Rectangle<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, translation: Vector<T>) -> Rectangle<T>

    Performs the + operation. Read more
    source§

    impl<T> Add for Vector<T>
    where + T: Add<Output = T>,

    source§

    type Output = Vector<T>

    The resulting type after applying the + operator.
    source§

    fn add(self, b: Vector<T>) -> Vector<T>

    Performs the + operation. Read more
    source§

    impl<T> Clone for Vector<T>
    where + T: Clone,

    source§

    fn clone(&self) -> Vector<T>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<T> Debug for Vector<T>
    where + T: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<T> Default for Vector<T>
    where + T: Default,

    source§

    fn default() -> Vector<T>

    Returns the “default value” for a type. Read more
    source§

    impl<T> From<[T; 2]> for Vector<T>

    source§

    fn from(_: [T; 2]) -> Vector<T>

    Converts to this type from the input type.
    source§

    impl<T> From<Size<T>> for Vector<T>

    source§

    fn from(size: Size<T>) -> Vector<T>

    Converts to this type from the input type.
    source§

    impl<T> From<Vector<T>> for Size<T>

    source§

    fn from(vector: Vector<T>) -> Size<T>

    Converts to this type from the input type.
    source§

    impl<T> Mul<T> for Vector<T>
    where + T: Mul<Output = T> + Copy,

    source§

    type Output = Vector<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, scale: T) -> Vector<T>

    Performs the * operation. Read more
    source§

    impl Mul<Transformation> for Vector

    source§

    type Output = Vector

    The resulting type after applying the * operator.
    source§

    fn mul(self, transformation: Transformation) -> Vector

    Performs the * operation. Read more
    source§

    impl<T> Mul<Vector<T>> for Rectangle<T>
    where + T: Mul<Output = T> + Copy,

    source§

    type Output = Rectangle<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, scale: Vector<T>) -> Rectangle<T>

    Performs the * operation. Read more
    source§

    impl<T> Mul<Vector<T>> for Size<T>
    where + T: Mul<Output = T> + Copy,

    source§

    type Output = Size<T>

    The resulting type after applying the * operator.
    source§

    fn mul(self, scale: Vector<T>) -> <Size<T> as Mul<Vector<T>>>::Output

    Performs the * operation. Read more
    source§

    impl<T> Neg for Vector<T>
    where + T: Neg<Output = T>,

    source§

    type Output = Vector<T>

    The resulting type after applying the - operator.
    source§

    fn neg(self) -> <Vector<T> as Neg>::Output

    Performs the unary - operation. Read more
    source§

    impl<T> PartialEq for Vector<T>
    where + T: PartialEq,

    source§

    fn eq(&self, other: &Vector<T>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<T> Sub<Vector<T>> for Point<T>
    where + T: Sub<Output = T>,

    source§

    type Output = Point<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, vector: Vector<T>) -> Point<T>

    Performs the - operation. Read more
    source§

    impl<T> Sub<Vector<T>> for Rectangle<T>
    where + T: Sub<Output = T>,

    source§

    type Output = Rectangle<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, translation: Vector<T>) -> Rectangle<T>

    Performs the - operation. Read more
    source§

    impl<T> Sub for Vector<T>
    where + T: Sub<Output = T>,

    source§

    type Output = Vector<T>

    The resulting type after applying the - operator.
    source§

    fn sub(self, b: Vector<T>) -> Vector<T>

    Performs the - operation. Read more
    source§

    impl<T> Copy for Vector<T>
    where + T: Copy,

    source§

    impl<T> Eq for Vector<T>
    where + T: Eq,

    source§

    impl<T> StructuralPartialEq for Vector<T>

    Auto Trait Implementations§

    §

    impl<T> Freeze for Vector<T>
    where T: Freeze,

    §

    impl<T> RefUnwindSafe for Vector<T>
    where T: RefUnwindSafe,

    §

    impl<T> Send for Vector<T>
    where T: Send,

    §

    impl<T> Sync for Vector<T>
    where diff --git a/iced/theme/enum.Theme.html b/iced/theme/enum.Theme.html index a291c8a8d8..86df82b36d 100644 --- a/iced/theme/enum.Theme.html +++ b/iced/theme/enum.Theme.html @@ -1,4 +1,4 @@ -Theme in iced::theme - Rust
    iced::theme

    Enum Theme

    pub enum Theme {
    +Theme in iced::theme - Rust
    iced::theme

    Enum Theme

    source
    pub enum Theme {
     
    Show 23 variants Light, Dark, Dracula, @@ -46,22 +46,22 @@
    §

    Oxocarbon

    The built-in Oxocarbon variant.

    §

    Ferra

    The built-in Ferra variant:

    §

    Custom(Arc<Custom>)

    A Theme that uses a Custom palette.

    -

    Implementations§

    §

    impl Theme

    pub const ALL: &'static [Theme] = _

    A list with all the defined themes.

    -

    pub fn custom(name: String, palette: Palette) -> Theme

    Creates a new custom Theme from the given Palette.

    -

    pub fn custom_with_fn( +

    Implementations§

    source§

    impl Theme

    source

    pub const ALL: &'static [Theme] = _

    A list with all the defined themes.

    +
    source

    pub fn custom(name: String, palette: Palette) -> Theme

    Creates a new custom Theme from the given Palette.

    +
    source

    pub fn custom_with_fn( name: String, palette: Palette, generate: impl FnOnce(Palette) -> Extended, ) -> Theme

    Creates a new custom Theme from the given Palette, with a custom generator of a palette::Extended.

    -

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    -

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    -

    Trait Implementations§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn code_block<'a>() -> <Theme as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    §

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    §

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> Self::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> Self::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style( +

    source

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    +
    source

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    +

    Trait Implementations§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn code_block<'a>() -> <Theme as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> Self::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> Self::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style( &self, class: &Box<dyn Fn(&Theme, Status) -> Style + '_>, status: Status, -) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the PickList.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    §

    impl Clone for Theme

    §

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Theme

    §

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    source§

    impl DefaultStyle for Theme

    source§

    fn default_style(&self) -> Appearance

    Returns the default style of a Program.
    §

    impl Display for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Theme

    §

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the PickList.

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Clone for Theme

    source§

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Theme

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Theme

    source§

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    source§

    impl DefaultStyle for Theme

    source§

    fn default_style(&self) -> Appearance

    Returns the default style of a Program.
    source§

    impl Display for Theme

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Theme

    source§

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/index.html b/iced/theme/index.html index ea55bde083..a08a8ac66b 100644 --- a/iced/theme/index.html +++ b/iced/theme/index.html @@ -1,2 +1,2 @@ -iced::theme - Rust
    iced

    Module theme

    Expand description

    Use the built-in theme and styles.

    +iced::theme - Rust
    iced

    Module theme

    source
    Expand description

    Use the built-in theme and styles.

    Modules§

    • Define the colors of a theme.

    Structs§

    Enums§

    \ No newline at end of file diff --git a/iced/theme/palette/index.html b/iced/theme/palette/index.html index a4206c6eab..49f42e12ac 100644 --- a/iced/theme/palette/index.html +++ b/iced/theme/palette/index.html @@ -1,2 +1,2 @@ -iced::theme::palette - Rust
    iced::theme

    Module palette

    Expand description

    Define the colors of a theme.

    +iced::theme::palette - Rust
    iced::theme

    Module palette

    source
    Expand description

    Define the colors of a theme.

    Structs§

    Statics§

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_CATPPUCCIN_FRAPPE.html b/iced/theme/palette/static.EXTENDED_CATPPUCCIN_FRAPPE.html index aa2f715e45..4d97f2ad49 100644 --- a/iced/theme/palette/static.EXTENDED_CATPPUCCIN_FRAPPE.html +++ b/iced/theme/palette/static.EXTENDED_CATPPUCCIN_FRAPPE.html @@ -1,2 +1,2 @@ -EXTENDED_CATPPUCCIN_FRAPPE in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_CATPPUCCIN_FRAPPE

    pub static EXTENDED_CATPPUCCIN_FRAPPE: Lazy<Extended>
    Expand description

    The built-in Catppuccin Frappé variant of an Extended palette.

    +EXTENDED_CATPPUCCIN_FRAPPE in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_CATPPUCCIN_FRAPPE

    source
    pub static EXTENDED_CATPPUCCIN_FRAPPE: Lazy<Extended>
    Expand description

    The built-in Catppuccin Frappé variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_CATPPUCCIN_LATTE.html b/iced/theme/palette/static.EXTENDED_CATPPUCCIN_LATTE.html index ee68e2f124..f073ca8907 100644 --- a/iced/theme/palette/static.EXTENDED_CATPPUCCIN_LATTE.html +++ b/iced/theme/palette/static.EXTENDED_CATPPUCCIN_LATTE.html @@ -1,2 +1,2 @@ -EXTENDED_CATPPUCCIN_LATTE in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_CATPPUCCIN_LATTE

    pub static EXTENDED_CATPPUCCIN_LATTE: Lazy<Extended>
    Expand description

    The built-in Catppuccin Latte variant of an Extended palette.

    +EXTENDED_CATPPUCCIN_LATTE in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_CATPPUCCIN_LATTE

    source
    pub static EXTENDED_CATPPUCCIN_LATTE: Lazy<Extended>
    Expand description

    The built-in Catppuccin Latte variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_CATPPUCCIN_MACCHIATO.html b/iced/theme/palette/static.EXTENDED_CATPPUCCIN_MACCHIATO.html index c84917cf6f..c789125d39 100644 --- a/iced/theme/palette/static.EXTENDED_CATPPUCCIN_MACCHIATO.html +++ b/iced/theme/palette/static.EXTENDED_CATPPUCCIN_MACCHIATO.html @@ -1,2 +1,2 @@ -EXTENDED_CATPPUCCIN_MACCHIATO in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_CATPPUCCIN_MACCHIATO

    pub static EXTENDED_CATPPUCCIN_MACCHIATO: Lazy<Extended>
    Expand description

    The built-in Catppuccin Macchiato variant of an Extended palette.

    +EXTENDED_CATPPUCCIN_MACCHIATO in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_CATPPUCCIN_MACCHIATO

    source
    pub static EXTENDED_CATPPUCCIN_MACCHIATO: Lazy<Extended>
    Expand description

    The built-in Catppuccin Macchiato variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_CATPPUCCIN_MOCHA.html b/iced/theme/palette/static.EXTENDED_CATPPUCCIN_MOCHA.html index 59fa0ddc14..9f7c9adc68 100644 --- a/iced/theme/palette/static.EXTENDED_CATPPUCCIN_MOCHA.html +++ b/iced/theme/palette/static.EXTENDED_CATPPUCCIN_MOCHA.html @@ -1,2 +1,2 @@ -EXTENDED_CATPPUCCIN_MOCHA in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_CATPPUCCIN_MOCHA

    pub static EXTENDED_CATPPUCCIN_MOCHA: Lazy<Extended>
    Expand description

    The built-in Catppuccin Mocha variant of an Extended palette.

    +EXTENDED_CATPPUCCIN_MOCHA in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_CATPPUCCIN_MOCHA

    source
    pub static EXTENDED_CATPPUCCIN_MOCHA: Lazy<Extended>
    Expand description

    The built-in Catppuccin Mocha variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_DARK.html b/iced/theme/palette/static.EXTENDED_DARK.html index 393a08bac0..0870f3f99d 100644 --- a/iced/theme/palette/static.EXTENDED_DARK.html +++ b/iced/theme/palette/static.EXTENDED_DARK.html @@ -1,2 +1,2 @@ -EXTENDED_DARK in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_DARK

    pub static EXTENDED_DARK: Lazy<Extended>
    Expand description

    The built-in dark variant of an Extended palette.

    +EXTENDED_DARK in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_DARK

    source
    pub static EXTENDED_DARK: Lazy<Extended>
    Expand description

    The built-in dark variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_DRACULA.html b/iced/theme/palette/static.EXTENDED_DRACULA.html index 705d3709c1..88ffed3be0 100644 --- a/iced/theme/palette/static.EXTENDED_DRACULA.html +++ b/iced/theme/palette/static.EXTENDED_DRACULA.html @@ -1,2 +1,2 @@ -EXTENDED_DRACULA in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_DRACULA

    pub static EXTENDED_DRACULA: Lazy<Extended>
    Expand description

    The built-in Dracula variant of an Extended palette.

    +EXTENDED_DRACULA in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_DRACULA

    source
    pub static EXTENDED_DRACULA: Lazy<Extended>
    Expand description

    The built-in Dracula variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_FERRA.html b/iced/theme/palette/static.EXTENDED_FERRA.html index 914a3a3bdb..4c547bea7a 100644 --- a/iced/theme/palette/static.EXTENDED_FERRA.html +++ b/iced/theme/palette/static.EXTENDED_FERRA.html @@ -1,2 +1,2 @@ -EXTENDED_FERRA in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_FERRA

    pub static EXTENDED_FERRA: Lazy<Extended>
    Expand description

    The built-in Ferra variant of an Extended palette.

    +EXTENDED_FERRA in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_FERRA

    source
    pub static EXTENDED_FERRA: Lazy<Extended>
    Expand description

    The built-in Ferra variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_GRUVBOX_DARK.html b/iced/theme/palette/static.EXTENDED_GRUVBOX_DARK.html index 717d84b968..6249f9a99e 100644 --- a/iced/theme/palette/static.EXTENDED_GRUVBOX_DARK.html +++ b/iced/theme/palette/static.EXTENDED_GRUVBOX_DARK.html @@ -1,2 +1,2 @@ -EXTENDED_GRUVBOX_DARK in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_GRUVBOX_DARK

    pub static EXTENDED_GRUVBOX_DARK: Lazy<Extended>
    Expand description

    The built-in Gruvbox Dark variant of an Extended palette.

    +EXTENDED_GRUVBOX_DARK in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_GRUVBOX_DARK

    source
    pub static EXTENDED_GRUVBOX_DARK: Lazy<Extended>
    Expand description

    The built-in Gruvbox Dark variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_GRUVBOX_LIGHT.html b/iced/theme/palette/static.EXTENDED_GRUVBOX_LIGHT.html index b849b28267..b91323daa0 100644 --- a/iced/theme/palette/static.EXTENDED_GRUVBOX_LIGHT.html +++ b/iced/theme/palette/static.EXTENDED_GRUVBOX_LIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_GRUVBOX_LIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_GRUVBOX_LIGHT

    pub static EXTENDED_GRUVBOX_LIGHT: Lazy<Extended>
    Expand description

    The built-in Gruvbox Light variant of an Extended palette.

    +EXTENDED_GRUVBOX_LIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_GRUVBOX_LIGHT

    source
    pub static EXTENDED_GRUVBOX_LIGHT: Lazy<Extended>
    Expand description

    The built-in Gruvbox Light variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_KANAGAWA_DRAGON.html b/iced/theme/palette/static.EXTENDED_KANAGAWA_DRAGON.html index e52dc0ff29..b6ae14a8a5 100644 --- a/iced/theme/palette/static.EXTENDED_KANAGAWA_DRAGON.html +++ b/iced/theme/palette/static.EXTENDED_KANAGAWA_DRAGON.html @@ -1,2 +1,2 @@ -EXTENDED_KANAGAWA_DRAGON in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_KANAGAWA_DRAGON

    pub static EXTENDED_KANAGAWA_DRAGON: Lazy<Extended>
    Expand description

    The built-in Kanagawa Dragon variant of an Extended palette.

    +EXTENDED_KANAGAWA_DRAGON in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_KANAGAWA_DRAGON

    source
    pub static EXTENDED_KANAGAWA_DRAGON: Lazy<Extended>
    Expand description

    The built-in Kanagawa Dragon variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_KANAGAWA_LOTUS.html b/iced/theme/palette/static.EXTENDED_KANAGAWA_LOTUS.html index f0b43164e4..729ca6f55f 100644 --- a/iced/theme/palette/static.EXTENDED_KANAGAWA_LOTUS.html +++ b/iced/theme/palette/static.EXTENDED_KANAGAWA_LOTUS.html @@ -1,2 +1,2 @@ -EXTENDED_KANAGAWA_LOTUS in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_KANAGAWA_LOTUS

    pub static EXTENDED_KANAGAWA_LOTUS: Lazy<Extended>
    Expand description

    The built-in Kanagawa Lotus variant of an Extended palette.

    +EXTENDED_KANAGAWA_LOTUS in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_KANAGAWA_LOTUS

    source
    pub static EXTENDED_KANAGAWA_LOTUS: Lazy<Extended>
    Expand description

    The built-in Kanagawa Lotus variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_KANAGAWA_WAVE.html b/iced/theme/palette/static.EXTENDED_KANAGAWA_WAVE.html index 06c4777ee6..ec72a8e2cb 100644 --- a/iced/theme/palette/static.EXTENDED_KANAGAWA_WAVE.html +++ b/iced/theme/palette/static.EXTENDED_KANAGAWA_WAVE.html @@ -1,2 +1,2 @@ -EXTENDED_KANAGAWA_WAVE in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_KANAGAWA_WAVE

    pub static EXTENDED_KANAGAWA_WAVE: Lazy<Extended>
    Expand description

    The built-in Kanagawa Wave variant of an Extended palette.

    +EXTENDED_KANAGAWA_WAVE in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_KANAGAWA_WAVE

    source
    pub static EXTENDED_KANAGAWA_WAVE: Lazy<Extended>
    Expand description

    The built-in Kanagawa Wave variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_LIGHT.html b/iced/theme/palette/static.EXTENDED_LIGHT.html index c3205a7521..2d52feafd5 100644 --- a/iced/theme/palette/static.EXTENDED_LIGHT.html +++ b/iced/theme/palette/static.EXTENDED_LIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_LIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_LIGHT

    pub static EXTENDED_LIGHT: Lazy<Extended>
    Expand description

    The built-in light variant of an Extended palette.

    +EXTENDED_LIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_LIGHT

    source
    pub static EXTENDED_LIGHT: Lazy<Extended>
    Expand description

    The built-in light variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_MOONFLY.html b/iced/theme/palette/static.EXTENDED_MOONFLY.html index 02834bdffd..8b35592b88 100644 --- a/iced/theme/palette/static.EXTENDED_MOONFLY.html +++ b/iced/theme/palette/static.EXTENDED_MOONFLY.html @@ -1,2 +1,2 @@ -EXTENDED_MOONFLY in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_MOONFLY

    pub static EXTENDED_MOONFLY: Lazy<Extended>
    Expand description

    The built-in Moonfly variant of an Extended palette.

    +EXTENDED_MOONFLY in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_MOONFLY

    source
    pub static EXTENDED_MOONFLY: Lazy<Extended>
    Expand description

    The built-in Moonfly variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_NIGHTFLY.html b/iced/theme/palette/static.EXTENDED_NIGHTFLY.html index 4136a56788..c27a1d0b99 100644 --- a/iced/theme/palette/static.EXTENDED_NIGHTFLY.html +++ b/iced/theme/palette/static.EXTENDED_NIGHTFLY.html @@ -1,2 +1,2 @@ -EXTENDED_NIGHTFLY in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_NIGHTFLY

    pub static EXTENDED_NIGHTFLY: Lazy<Extended>
    Expand description

    The built-in Nightfly variant of an Extended palette.

    +EXTENDED_NIGHTFLY in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_NIGHTFLY

    source
    pub static EXTENDED_NIGHTFLY: Lazy<Extended>
    Expand description

    The built-in Nightfly variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_NORD.html b/iced/theme/palette/static.EXTENDED_NORD.html index 7063774ccb..917b1d48d9 100644 --- a/iced/theme/palette/static.EXTENDED_NORD.html +++ b/iced/theme/palette/static.EXTENDED_NORD.html @@ -1,2 +1,2 @@ -EXTENDED_NORD in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_NORD

    pub static EXTENDED_NORD: Lazy<Extended>
    Expand description

    The built-in Nord variant of an Extended palette.

    +EXTENDED_NORD in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_NORD

    source
    pub static EXTENDED_NORD: Lazy<Extended>
    Expand description

    The built-in Nord variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_OXOCARBON.html b/iced/theme/palette/static.EXTENDED_OXOCARBON.html index 811867a620..6d7457c262 100644 --- a/iced/theme/palette/static.EXTENDED_OXOCARBON.html +++ b/iced/theme/palette/static.EXTENDED_OXOCARBON.html @@ -1,2 +1,2 @@ -EXTENDED_OXOCARBON in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_OXOCARBON

    pub static EXTENDED_OXOCARBON: Lazy<Extended>
    Expand description

    The built-in Oxocarbon variant of an Extended palette.

    +EXTENDED_OXOCARBON in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_OXOCARBON

    source
    pub static EXTENDED_OXOCARBON: Lazy<Extended>
    Expand description

    The built-in Oxocarbon variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_SOLARIZED_DARK.html b/iced/theme/palette/static.EXTENDED_SOLARIZED_DARK.html index e5af85b09f..2e01a4ac46 100644 --- a/iced/theme/palette/static.EXTENDED_SOLARIZED_DARK.html +++ b/iced/theme/palette/static.EXTENDED_SOLARIZED_DARK.html @@ -1,2 +1,2 @@ -EXTENDED_SOLARIZED_DARK in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_SOLARIZED_DARK

    pub static EXTENDED_SOLARIZED_DARK: Lazy<Extended>
    Expand description

    The built-in Solarized Dark variant of an Extended palette.

    +EXTENDED_SOLARIZED_DARK in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_SOLARIZED_DARK

    source
    pub static EXTENDED_SOLARIZED_DARK: Lazy<Extended>
    Expand description

    The built-in Solarized Dark variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_SOLARIZED_LIGHT.html b/iced/theme/palette/static.EXTENDED_SOLARIZED_LIGHT.html index e55a013dec..4175914655 100644 --- a/iced/theme/palette/static.EXTENDED_SOLARIZED_LIGHT.html +++ b/iced/theme/palette/static.EXTENDED_SOLARIZED_LIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_SOLARIZED_LIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_SOLARIZED_LIGHT

    pub static EXTENDED_SOLARIZED_LIGHT: Lazy<Extended>
    Expand description

    The built-in Solarized Light variant of an Extended palette.

    +EXTENDED_SOLARIZED_LIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_SOLARIZED_LIGHT

    source
    pub static EXTENDED_SOLARIZED_LIGHT: Lazy<Extended>
    Expand description

    The built-in Solarized Light variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT.html b/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT.html index cfc7fada7f..d9460acd87 100644 --- a/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT.html +++ b/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_TOKYO_NIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_TOKYO_NIGHT

    pub static EXTENDED_TOKYO_NIGHT: Lazy<Extended>
    Expand description

    The built-in Tokyo Night variant of an Extended palette.

    +EXTENDED_TOKYO_NIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_TOKYO_NIGHT

    source
    pub static EXTENDED_TOKYO_NIGHT: Lazy<Extended>
    Expand description

    The built-in Tokyo Night variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT_LIGHT.html b/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT_LIGHT.html index 5c82899166..97cc195364 100644 --- a/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT_LIGHT.html +++ b/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT_LIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_TOKYO_NIGHT_LIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_TOKYO_NIGHT_LIGHT

    pub static EXTENDED_TOKYO_NIGHT_LIGHT: Lazy<Extended>
    Expand description

    The built-in Tokyo Night variant of an Extended palette.

    +EXTENDED_TOKYO_NIGHT_LIGHT in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_TOKYO_NIGHT_LIGHT

    source
    pub static EXTENDED_TOKYO_NIGHT_LIGHT: Lazy<Extended>
    Expand description

    The built-in Tokyo Night variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT_STORM.html b/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT_STORM.html index b095d22ac1..9f7ea5543f 100644 --- a/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT_STORM.html +++ b/iced/theme/palette/static.EXTENDED_TOKYO_NIGHT_STORM.html @@ -1,2 +1,2 @@ -EXTENDED_TOKYO_NIGHT_STORM in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_TOKYO_NIGHT_STORM

    pub static EXTENDED_TOKYO_NIGHT_STORM: Lazy<Extended>
    Expand description

    The built-in Tokyo Night Storm variant of an Extended palette.

    +EXTENDED_TOKYO_NIGHT_STORM in iced::theme::palette - Rust
    iced::theme::palette

    Static EXTENDED_TOKYO_NIGHT_STORM

    source
    pub static EXTENDED_TOKYO_NIGHT_STORM: Lazy<Extended>
    Expand description

    The built-in Tokyo Night Storm variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/theme/palette/struct.Background.html b/iced/theme/palette/struct.Background.html index 90a350bdbf..d56e6fc1f1 100644 --- a/iced/theme/palette/struct.Background.html +++ b/iced/theme/palette/struct.Background.html @@ -1,4 +1,4 @@ -Background in iced::theme::palette - Rust
    iced::theme::palette

    Struct Background

    pub struct Background {
    +Background in iced::theme::palette - Rust
    iced::theme::palette

    Struct Background

    source
    pub struct Background {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base background color.

    §weak: Pair

    A weaker version of the base background color.

    §strong: Pair

    A stronger version of the base background color.

    -

    Implementations§

    §

    impl Background

    pub fn new(base: Color, text: Color) -> Background

    Generates a set of Background colors from the base and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Background

    §

    fn clone(&self) -> Background

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Background

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Background

    §

    fn eq(&self, other: &Background) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Background

    §

    impl StructuralPartialEq for Background

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Background

    source

    pub fn new(base: Color, text: Color) -> Background

    Generates a set of Background colors from the base and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Background

    source§

    fn clone(&self) -> Background

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Background

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Background

    source§

    fn eq(&self, other: &Background) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Background

    source§

    impl StructuralPartialEq for Background

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/palette/struct.Danger.html b/iced/theme/palette/struct.Danger.html index f2212b7460..4ec610ec38 100644 --- a/iced/theme/palette/struct.Danger.html +++ b/iced/theme/palette/struct.Danger.html @@ -1,4 +1,4 @@ -Danger in iced::theme::palette - Rust
    iced::theme::palette

    Struct Danger

    pub struct Danger {
    +Danger in iced::theme::palette - Rust
    iced::theme::palette

    Struct Danger

    source
    pub struct Danger {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base danger color.

    §weak: Pair

    A weaker version of the base danger color.

    §strong: Pair

    A stronger version of the base danger color.

    -

    Implementations§

    §

    impl Danger

    pub fn generate(base: Color, background: Color, text: Color) -> Danger

    Generates a set of Danger colors from the base, background, and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Danger

    §

    fn clone(&self) -> Danger

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Danger

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Danger

    §

    fn eq(&self, other: &Danger) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Danger

    §

    impl StructuralPartialEq for Danger

    Auto Trait Implementations§

    §

    impl Freeze for Danger

    §

    impl RefUnwindSafe for Danger

    §

    impl Send for Danger

    §

    impl Sync for Danger

    §

    impl Unpin for Danger

    §

    impl UnwindSafe for Danger

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Danger

    source

    pub fn generate(base: Color, background: Color, text: Color) -> Danger

    Generates a set of Danger colors from the base, background, and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Danger

    source§

    fn clone(&self) -> Danger

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Danger

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Danger

    source§

    fn eq(&self, other: &Danger) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Danger

    source§

    impl StructuralPartialEq for Danger

    Auto Trait Implementations§

    §

    impl Freeze for Danger

    §

    impl RefUnwindSafe for Danger

    §

    impl Send for Danger

    §

    impl Sync for Danger

    §

    impl Unpin for Danger

    §

    impl UnwindSafe for Danger

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/palette/struct.Extended.html b/iced/theme/palette/struct.Extended.html index 3298c7ce29..afd10a7d2c 100644 --- a/iced/theme/palette/struct.Extended.html +++ b/iced/theme/palette/struct.Extended.html @@ -1,4 +1,4 @@ -Extended in iced::theme::palette - Rust
    iced::theme::palette

    Struct Extended

    pub struct Extended {
    +Extended in iced::theme::palette - Rust
    iced::theme::palette

    Struct Extended

    source
    pub struct Extended {
         pub background: Background,
         pub primary: Primary,
         pub secondary: Secondary,
    @@ -12,9 +12,9 @@
     
    §success: Success

    The set of success colors.

    §danger: Danger

    The set of danger colors.

    §is_dark: bool

    Whether the palette is dark or not.

    -

    Implementations§

    §

    impl Extended

    pub fn generate(palette: Palette) -> Extended

    Generates an Extended palette from a simple Palette.

    -

    Trait Implementations§

    §

    impl Clone for Extended

    §

    fn clone(&self) -> Extended

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Extended

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Extended

    §

    fn eq(&self, other: &Extended) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Extended

    §

    impl StructuralPartialEq for Extended

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Extended

    source

    pub fn generate(palette: Palette) -> Extended

    Generates an Extended palette from a simple Palette.

    +

    Trait Implementations§

    source§

    impl Clone for Extended

    source§

    fn clone(&self) -> Extended

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Extended

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Extended

    source§

    fn eq(&self, other: &Extended) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Extended

    source§

    impl StructuralPartialEq for Extended

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/palette/struct.Pair.html b/iced/theme/palette/struct.Pair.html index f0f1a8d43f..41231ff399 100644 --- a/iced/theme/palette/struct.Pair.html +++ b/iced/theme/palette/struct.Pair.html @@ -1,13 +1,13 @@ -Pair in iced::theme::palette - Rust
    iced::theme::palette

    Struct Pair

    pub struct Pair {
    +Pair in iced::theme::palette - Rust
    iced::theme::palette

    Struct Pair

    source
    pub struct Pair {
         pub color: Color,
         pub text: Color,
     }
    Expand description

    A pair of background and text colors.

    Fields§

    §color: Color

    The background color.

    §text: Color

    The text color.

    It’s guaranteed to be readable on top of the background color.

    -

    Implementations§

    §

    impl Pair

    pub fn new(color: Color, text: Color) -> Pair

    Creates a new Pair from a background Color and some text Color.

    -

    Trait Implementations§

    §

    impl Clone for Pair

    §

    fn clone(&self) -> Pair

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Pair

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Pair

    §

    fn eq(&self, other: &Pair) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Pair

    §

    impl StructuralPartialEq for Pair

    Auto Trait Implementations§

    §

    impl Freeze for Pair

    §

    impl RefUnwindSafe for Pair

    §

    impl Send for Pair

    §

    impl Sync for Pair

    §

    impl Unpin for Pair

    §

    impl UnwindSafe for Pair

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Pair

    source

    pub fn new(color: Color, text: Color) -> Pair

    Creates a new Pair from a background Color and some text Color.

    +

    Trait Implementations§

    source§

    impl Clone for Pair

    source§

    fn clone(&self) -> Pair

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Pair

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Pair

    source§

    fn eq(&self, other: &Pair) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Pair

    source§

    impl StructuralPartialEq for Pair

    Auto Trait Implementations§

    §

    impl Freeze for Pair

    §

    impl RefUnwindSafe for Pair

    §

    impl Send for Pair

    §

    impl Sync for Pair

    §

    impl Unpin for Pair

    §

    impl UnwindSafe for Pair

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/palette/struct.Palette.html b/iced/theme/palette/struct.Palette.html index c884793c45..a763a8b1c8 100644 --- a/iced/theme/palette/struct.Palette.html +++ b/iced/theme/palette/struct.Palette.html @@ -1,4 +1,4 @@ -Palette in iced::theme::palette - Rust
    iced::theme::palette

    Struct Palette

    pub struct Palette {
    +Palette in iced::theme::palette - Rust
    iced::theme::palette

    Struct Palette

    source
    pub struct Palette {
         pub background: Color,
         pub text: Color,
         pub primary: Color,
    @@ -10,30 +10,30 @@
     
    §primary: Color

    The primary Color of the Palette.

    §success: Color

    The success Color of the Palette.

    §danger: Color

    The danger Color of the Palette.

    -

    Implementations§

    §

    impl Palette

    pub const LIGHT: Palette = _

    The built-in light variant of a Palette.

    -

    pub const DARK: Palette = _

    The built-in dark variant of a Palette.

    -

    pub const DRACULA: Palette = _

    The built-in Dracula variant of a Palette.

    -

    pub const NORD: Palette = _

    The built-in Nord variant of a Palette.

    -

    pub const SOLARIZED_LIGHT: Palette = _

    The built-in Solarized Light variant of a Palette.

    -

    pub const SOLARIZED_DARK: Palette = _

    The built-in Solarized Dark variant of a Palette.

    -

    pub const GRUVBOX_LIGHT: Palette = _

    The built-in Gruvbox Light variant of a Palette.

    -

    pub const GRUVBOX_DARK: Palette = _

    The built-in Gruvbox Dark variant of a Palette.

    -

    pub const CATPPUCCIN_LATTE: Palette = _

    The built-in Catppuccin Latte variant of a Palette.

    -

    pub const CATPPUCCIN_FRAPPE: Palette = _

    The built-in Catppuccin Frappé variant of a Palette.

    -

    pub const CATPPUCCIN_MACCHIATO: Palette = _

    The built-in Catppuccin Macchiato variant of a Palette.

    -

    pub const CATPPUCCIN_MOCHA: Palette = _

    The built-in Catppuccin Mocha variant of a Palette.

    -

    pub const TOKYO_NIGHT: Palette = _

    The built-in Tokyo Night variant of a Palette.

    -

    pub const TOKYO_NIGHT_STORM: Palette = _

    The built-in Tokyo Night Storm variant of a Palette.

    -

    pub const TOKYO_NIGHT_LIGHT: Palette = _

    The built-in Tokyo Night Light variant of a Palette.

    -

    pub const KANAGAWA_WAVE: Palette = _

    The built-in Kanagawa Wave variant of a Palette.

    -

    pub const KANAGAWA_DRAGON: Palette = _

    The built-in Kanagawa Dragon variant of a Palette.

    -

    pub const KANAGAWA_LOTUS: Palette = _

    The built-in Kanagawa Lotus variant of a Palette.

    -

    pub const MOONFLY: Palette = _

    The built-in Moonfly variant of a Palette.

    -

    pub const NIGHTFLY: Palette = _

    The built-in Nightfly variant of a Palette.

    -

    pub const OXOCARBON: Palette = _

    The built-in Oxocarbon variant of a Palette.

    -

    pub const FERRA: Palette = _

    The built-in Ferra variant of a Palette.

    -

    Trait Implementations§

    §

    impl Clone for Palette

    §

    fn clone(&self) -> Palette

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Palette

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Palette

    §

    fn eq(&self, other: &Palette) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Palette

    §

    impl StructuralPartialEq for Palette

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Palette

    source

    pub const LIGHT: Palette = _

    The built-in light variant of a Palette.

    +
    source

    pub const DARK: Palette = _

    The built-in dark variant of a Palette.

    +
    source

    pub const DRACULA: Palette = _

    The built-in Dracula variant of a Palette.

    +
    source

    pub const NORD: Palette = _

    The built-in Nord variant of a Palette.

    +
    source

    pub const SOLARIZED_LIGHT: Palette = _

    The built-in Solarized Light variant of a Palette.

    +
    source

    pub const SOLARIZED_DARK: Palette = _

    The built-in Solarized Dark variant of a Palette.

    +
    source

    pub const GRUVBOX_LIGHT: Palette = _

    The built-in Gruvbox Light variant of a Palette.

    +
    source

    pub const GRUVBOX_DARK: Palette = _

    The built-in Gruvbox Dark variant of a Palette.

    +
    source

    pub const CATPPUCCIN_LATTE: Palette = _

    The built-in Catppuccin Latte variant of a Palette.

    +
    source

    pub const CATPPUCCIN_FRAPPE: Palette = _

    The built-in Catppuccin Frappé variant of a Palette.

    +
    source

    pub const CATPPUCCIN_MACCHIATO: Palette = _

    The built-in Catppuccin Macchiato variant of a Palette.

    +
    source

    pub const CATPPUCCIN_MOCHA: Palette = _

    The built-in Catppuccin Mocha variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT: Palette = _

    The built-in Tokyo Night variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT_STORM: Palette = _

    The built-in Tokyo Night Storm variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT_LIGHT: Palette = _

    The built-in Tokyo Night Light variant of a Palette.

    +
    source

    pub const KANAGAWA_WAVE: Palette = _

    The built-in Kanagawa Wave variant of a Palette.

    +
    source

    pub const KANAGAWA_DRAGON: Palette = _

    The built-in Kanagawa Dragon variant of a Palette.

    +
    source

    pub const KANAGAWA_LOTUS: Palette = _

    The built-in Kanagawa Lotus variant of a Palette.

    +
    source

    pub const MOONFLY: Palette = _

    The built-in Moonfly variant of a Palette.

    +
    source

    pub const NIGHTFLY: Palette = _

    The built-in Nightfly variant of a Palette.

    +
    source

    pub const OXOCARBON: Palette = _

    The built-in Oxocarbon variant of a Palette.

    +
    source

    pub const FERRA: Palette = _

    The built-in Ferra variant of a Palette.

    +

    Trait Implementations§

    source§

    impl Clone for Palette

    source§

    fn clone(&self) -> Palette

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Palette

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Palette

    source§

    fn eq(&self, other: &Palette) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Palette

    source§

    impl StructuralPartialEq for Palette

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/palette/struct.Primary.html b/iced/theme/palette/struct.Primary.html index 4d8ad16ce2..7e10466bbf 100644 --- a/iced/theme/palette/struct.Primary.html +++ b/iced/theme/palette/struct.Primary.html @@ -1,4 +1,4 @@ -Primary in iced::theme::palette - Rust
    iced::theme::palette

    Struct Primary

    pub struct Primary {
    +Primary in iced::theme::palette - Rust
    iced::theme::palette

    Struct Primary

    source
    pub struct Primary {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base primary color.

    §weak: Pair

    A weaker version of the base primary color.

    §strong: Pair

    A stronger version of the base primary color.

    -

    Implementations§

    §

    impl Primary

    pub fn generate(base: Color, background: Color, text: Color) -> Primary

    Generates a set of Primary colors from the base, background, and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Primary

    §

    fn clone(&self) -> Primary

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Primary

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Primary

    §

    fn eq(&self, other: &Primary) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Primary

    §

    impl StructuralPartialEq for Primary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Primary

    source

    pub fn generate(base: Color, background: Color, text: Color) -> Primary

    Generates a set of Primary colors from the base, background, and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Primary

    source§

    fn clone(&self) -> Primary

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Primary

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Primary

    source§

    fn eq(&self, other: &Primary) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Primary

    source§

    impl StructuralPartialEq for Primary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/palette/struct.Secondary.html b/iced/theme/palette/struct.Secondary.html index b63bb3703c..bf8e4aec82 100644 --- a/iced/theme/palette/struct.Secondary.html +++ b/iced/theme/palette/struct.Secondary.html @@ -1,4 +1,4 @@ -Secondary in iced::theme::palette - Rust
    iced::theme::palette

    Struct Secondary

    pub struct Secondary {
    +Secondary in iced::theme::palette - Rust
    iced::theme::palette

    Struct Secondary

    source
    pub struct Secondary {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base secondary color.

    §weak: Pair

    A weaker version of the base secondary color.

    §strong: Pair

    A stronger version of the base secondary color.

    -

    Implementations§

    §

    impl Secondary

    pub fn generate(base: Color, text: Color) -> Secondary

    Generates a set of Secondary colors from the base and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Secondary

    §

    fn clone(&self) -> Secondary

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secondary

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Secondary

    §

    fn eq(&self, other: &Secondary) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Secondary

    §

    impl StructuralPartialEq for Secondary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Secondary

    source

    pub fn generate(base: Color, text: Color) -> Secondary

    Generates a set of Secondary colors from the base and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Secondary

    source§

    fn clone(&self) -> Secondary

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secondary

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Secondary

    source§

    fn eq(&self, other: &Secondary) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Secondary

    source§

    impl StructuralPartialEq for Secondary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/palette/struct.Success.html b/iced/theme/palette/struct.Success.html index 0037f660df..afbb4358e5 100644 --- a/iced/theme/palette/struct.Success.html +++ b/iced/theme/palette/struct.Success.html @@ -1,4 +1,4 @@ -Success in iced::theme::palette - Rust
    iced::theme::palette

    Struct Success

    pub struct Success {
    +Success in iced::theme::palette - Rust
    iced::theme::palette

    Struct Success

    source
    pub struct Success {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base success color.

    §weak: Pair

    A weaker version of the base success color.

    §strong: Pair

    A stronger version of the base success color.

    -

    Implementations§

    §

    impl Success

    pub fn generate(base: Color, background: Color, text: Color) -> Success

    Generates a set of Success colors from the base, background, and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Success

    §

    fn clone(&self) -> Success

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Success

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Success

    §

    fn eq(&self, other: &Success) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Success

    §

    impl StructuralPartialEq for Success

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Success

    source

    pub fn generate(base: Color, background: Color, text: Color) -> Success

    Generates a set of Success colors from the base, background, and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Success

    source§

    fn clone(&self) -> Success

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Success

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Success

    source§

    fn eq(&self, other: &Success) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Success

    source§

    impl StructuralPartialEq for Success

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/struct.Custom.html b/iced/theme/struct.Custom.html index 458accd8c6..61ed332a0c 100644 --- a/iced/theme/struct.Custom.html +++ b/iced/theme/struct.Custom.html @@ -1,13 +1,13 @@ -Custom in iced::theme - Rust
    iced::theme

    Struct Custom

    pub struct Custom { /* private fields */ }
    Expand description

    A Theme with a customized Palette.

    -

    Implementations§

    §

    impl Custom

    pub fn new(name: String, palette: Palette) -> Custom

    Creates a Custom theme from the given Palette.

    -

    pub fn with_fn( +Custom in iced::theme - Rust
    iced::theme

    Struct Custom

    source
    pub struct Custom { /* private fields */ }
    Expand description

    A Theme with a customized Palette.

    +

    Implementations§

    source§

    impl Custom

    source

    pub fn new(name: String, palette: Palette) -> Custom

    Creates a Custom theme from the given Palette.

    +
    source

    pub fn with_fn( name: String, palette: Palette, generate: impl FnOnce(Palette) -> Extended, ) -> Custom

    Creates a Custom theme from the given Palette with a custom generator of a palette::Extended.

    -

    Trait Implementations§

    §

    impl Clone for Custom

    §

    fn clone(&self) -> Custom

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Custom

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Display for Custom

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Custom

    §

    fn eq(&self, other: &Custom) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Custom

    Auto Trait Implementations§

    §

    impl Freeze for Custom

    §

    impl RefUnwindSafe for Custom

    §

    impl Send for Custom

    §

    impl Sync for Custom

    §

    impl Unpin for Custom

    §

    impl UnwindSafe for Custom

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Custom

    source§

    fn clone(&self) -> Custom

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Custom

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Display for Custom

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Custom

    source§

    fn eq(&self, other: &Custom) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Custom

    Auto Trait Implementations§

    §

    impl Freeze for Custom

    §

    impl RefUnwindSafe for Custom

    §

    impl Send for Custom

    §

    impl Sync for Custom

    §

    impl Unpin for Custom

    §

    impl UnwindSafe for Custom

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/theme/struct.Palette.html b/iced/theme/struct.Palette.html index 07340198c0..1c7e2993f9 100644 --- a/iced/theme/struct.Palette.html +++ b/iced/theme/struct.Palette.html @@ -1,4 +1,4 @@ -Palette in iced::theme - Rust
    iced::theme

    Struct Palette

    pub struct Palette {
    +Palette in iced::theme - Rust
    iced::theme

    Struct Palette

    source
    pub struct Palette {
         pub background: Color,
         pub text: Color,
         pub primary: Color,
    @@ -10,30 +10,30 @@
     
    §primary: Color

    The primary Color of the Palette.

    §success: Color

    The success Color of the Palette.

    §danger: Color

    The danger Color of the Palette.

    -

    Implementations§

    §

    impl Palette

    pub const LIGHT: Palette = _

    The built-in light variant of a Palette.

    -

    pub const DARK: Palette = _

    The built-in dark variant of a Palette.

    -

    pub const DRACULA: Palette = _

    The built-in Dracula variant of a Palette.

    -

    pub const NORD: Palette = _

    The built-in Nord variant of a Palette.

    -

    pub const SOLARIZED_LIGHT: Palette = _

    The built-in Solarized Light variant of a Palette.

    -

    pub const SOLARIZED_DARK: Palette = _

    The built-in Solarized Dark variant of a Palette.

    -

    pub const GRUVBOX_LIGHT: Palette = _

    The built-in Gruvbox Light variant of a Palette.

    -

    pub const GRUVBOX_DARK: Palette = _

    The built-in Gruvbox Dark variant of a Palette.

    -

    pub const CATPPUCCIN_LATTE: Palette = _

    The built-in Catppuccin Latte variant of a Palette.

    -

    pub const CATPPUCCIN_FRAPPE: Palette = _

    The built-in Catppuccin Frappé variant of a Palette.

    -

    pub const CATPPUCCIN_MACCHIATO: Palette = _

    The built-in Catppuccin Macchiato variant of a Palette.

    -

    pub const CATPPUCCIN_MOCHA: Palette = _

    The built-in Catppuccin Mocha variant of a Palette.

    -

    pub const TOKYO_NIGHT: Palette = _

    The built-in Tokyo Night variant of a Palette.

    -

    pub const TOKYO_NIGHT_STORM: Palette = _

    The built-in Tokyo Night Storm variant of a Palette.

    -

    pub const TOKYO_NIGHT_LIGHT: Palette = _

    The built-in Tokyo Night Light variant of a Palette.

    -

    pub const KANAGAWA_WAVE: Palette = _

    The built-in Kanagawa Wave variant of a Palette.

    -

    pub const KANAGAWA_DRAGON: Palette = _

    The built-in Kanagawa Dragon variant of a Palette.

    -

    pub const KANAGAWA_LOTUS: Palette = _

    The built-in Kanagawa Lotus variant of a Palette.

    -

    pub const MOONFLY: Palette = _

    The built-in Moonfly variant of a Palette.

    -

    pub const NIGHTFLY: Palette = _

    The built-in Nightfly variant of a Palette.

    -

    pub const OXOCARBON: Palette = _

    The built-in Oxocarbon variant of a Palette.

    -

    pub const FERRA: Palette = _

    The built-in Ferra variant of a Palette.

    -

    Trait Implementations§

    §

    impl Clone for Palette

    §

    fn clone(&self) -> Palette

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Palette

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Palette

    §

    fn eq(&self, other: &Palette) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Palette

    §

    impl StructuralPartialEq for Palette

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Palette

    source

    pub const LIGHT: Palette = _

    The built-in light variant of a Palette.

    +
    source

    pub const DARK: Palette = _

    The built-in dark variant of a Palette.

    +
    source

    pub const DRACULA: Palette = _

    The built-in Dracula variant of a Palette.

    +
    source

    pub const NORD: Palette = _

    The built-in Nord variant of a Palette.

    +
    source

    pub const SOLARIZED_LIGHT: Palette = _

    The built-in Solarized Light variant of a Palette.

    +
    source

    pub const SOLARIZED_DARK: Palette = _

    The built-in Solarized Dark variant of a Palette.

    +
    source

    pub const GRUVBOX_LIGHT: Palette = _

    The built-in Gruvbox Light variant of a Palette.

    +
    source

    pub const GRUVBOX_DARK: Palette = _

    The built-in Gruvbox Dark variant of a Palette.

    +
    source

    pub const CATPPUCCIN_LATTE: Palette = _

    The built-in Catppuccin Latte variant of a Palette.

    +
    source

    pub const CATPPUCCIN_FRAPPE: Palette = _

    The built-in Catppuccin Frappé variant of a Palette.

    +
    source

    pub const CATPPUCCIN_MACCHIATO: Palette = _

    The built-in Catppuccin Macchiato variant of a Palette.

    +
    source

    pub const CATPPUCCIN_MOCHA: Palette = _

    The built-in Catppuccin Mocha variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT: Palette = _

    The built-in Tokyo Night variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT_STORM: Palette = _

    The built-in Tokyo Night Storm variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT_LIGHT: Palette = _

    The built-in Tokyo Night Light variant of a Palette.

    +
    source

    pub const KANAGAWA_WAVE: Palette = _

    The built-in Kanagawa Wave variant of a Palette.

    +
    source

    pub const KANAGAWA_DRAGON: Palette = _

    The built-in Kanagawa Dragon variant of a Palette.

    +
    source

    pub const KANAGAWA_LOTUS: Palette = _

    The built-in Kanagawa Lotus variant of a Palette.

    +
    source

    pub const MOONFLY: Palette = _

    The built-in Moonfly variant of a Palette.

    +
    source

    pub const NIGHTFLY: Palette = _

    The built-in Nightfly variant of a Palette.

    +
    source

    pub const OXOCARBON: Palette = _

    The built-in Oxocarbon variant of a Palette.

    +
    source

    pub const FERRA: Palette = _

    The built-in Ferra variant of a Palette.

    +

    Trait Implementations§

    source§

    impl Clone for Palette

    source§

    fn clone(&self) -> Palette

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Palette

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Palette

    source§

    fn eq(&self, other: &Palette) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Palette

    source§

    impl StructuralPartialEq for Palette

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/touch/enum.Event.html b/iced/touch/enum.Event.html index f7a5e26fae..8d1d3985cf 100644 --- a/iced/touch/enum.Event.html +++ b/iced/touch/enum.Event.html @@ -1,4 +1,4 @@ -Event in iced::touch - Rust
    iced::touch

    Enum Event

    pub enum Event {
    +Event in iced::touch - Rust
    iced::touch

    Enum Event

    source
    pub enum Event {
         FingerPressed {
             id: Finger,
             position: Point,
    @@ -20,8 +20,8 @@
     

    Fields

    §position: Point
    §

    FingerMoved

    An on-going touch interaction was moved.

    Fields

    §position: Point
    §

    FingerLifted

    A touch interaction was ended.

    Fields

    §position: Point
    §

    FingerLost

    A touch interaction was canceled.

    -

    Fields

    §position: Point

    Trait Implementations§

    §

    impl Clone for Event

    §

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Event

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Event

    §

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Event

    §

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Fields

    §position: Point

    Trait Implementations§

    source§

    impl Clone for Event

    source§

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Event

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Event

    source§

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Event

    source§

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/touch/struct.Finger.html b/iced/touch/struct.Finger.html index 21c2560ff0..101d3e08be 100644 --- a/iced/touch/struct.Finger.html +++ b/iced/touch/struct.Finger.html @@ -1,9 +1,9 @@ -Finger in iced::touch - Rust
    iced::touch

    Struct Finger

    pub struct Finger(pub u64);
    Expand description

    A unique identifier representing a finger on a touch interaction.

    -

    Tuple Fields§

    §0: u64

    Trait Implementations§

    §

    impl Clone for Finger

    §

    fn clone(&self) -> Finger

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Finger

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Hash for Finger

    §

    fn hash<__H>(&self, state: &mut __H)
    where +Finger in iced::touch - Rust
    iced::touch

    Struct Finger

    source
    pub struct Finger(pub u64);
    Expand description

    A unique identifier representing a finger on a touch interaction.

    +

    Tuple Fields§

    §0: u64

    Trait Implementations§

    source§

    impl Clone for Finger

    source§

    fn clone(&self) -> Finger

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Finger

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Finger

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Finger

    §

    fn eq(&self, other: &Finger) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Finger

    §

    impl Eq for Finger

    §

    impl StructuralPartialEq for Finger

    Auto Trait Implementations§

    §

    impl Freeze for Finger

    §

    impl RefUnwindSafe for Finger

    §

    impl Send for Finger

    §

    impl Sync for Finger

    §

    impl Unpin for Finger

    §

    impl UnwindSafe for Finger

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more

    source§

    impl PartialEq for Finger

    source§

    fn eq(&self, other: &Finger) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Finger

    source§

    impl Eq for Finger

    source§

    impl StructuralPartialEq for Finger

    Auto Trait Implementations§

    §

    impl Freeze for Finger

    §

    impl RefUnwindSafe for Finger

    §

    impl Send for Finger

    §

    impl Sync for Finger

    §

    impl Unpin for Finger

    §

    impl UnwindSafe for Finger

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/type.Element.html b/iced/type.Element.html index 4685d3a314..135ebd329d 100644 --- a/iced/type.Element.html +++ b/iced/type.Element.html @@ -1,3 +1,3 @@ -Element in iced - Rust
    iced

    Type Alias Element

    source
    pub type Element<'a, Message, Theme = Theme, Renderer = Renderer> = Element<'a, Message, Theme, Renderer>;
    Expand description

    A generic widget.

    +Element in iced - Rust
    iced

    Type Alias Element

    source
    pub type Element<'a, Message, Theme = Theme, Renderer = Renderer> = Element<'a, Message, Theme, Renderer>;
    Expand description

    A generic widget.

    This is an alias of an iced_native element with a default Renderer.

    Aliased Type§

    struct Element<'a, Message, Theme = Theme, Renderer = Renderer> { /* private fields */ }
    \ No newline at end of file diff --git a/iced/widget/button/struct.Button.html b/iced/widget/button/struct.Button.html index 18095a0da9..da8dfd5e94 100644 --- a/iced/widget/button/struct.Button.html +++ b/iced/widget/button/struct.Button.html @@ -28,7 +28,7 @@

    §Example

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Button<'a, Message, Theme, Renderer>
    where Renderer: Renderer, Theme: Catalog,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Button<'a, Message, Theme, Renderer>

    Creates a new Button with the given content.

    source

    pub fn width( self, @@ -68,12 +68,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Button<'a, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the Button.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Button<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Button<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( button: Button<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Button<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.

    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Button<'a, Message, Theme, Renderer>
    where Message: 'a + Clone, Renderer: 'a + Renderer, Theme: Catalog,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( @@ -114,7 +114,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Button<'a, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Button<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, Message: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Button<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, diff --git a/iced/widget/canvas/event/enum.Status.html b/iced/widget/canvas/event/enum.Status.html index 2229bc220b..4d3bc02a38 100644 --- a/iced/widget/canvas/event/enum.Status.html +++ b/iced/widget/canvas/event/enum.Status.html @@ -1,10 +1,10 @@ -Status in iced::widget::canvas::event - Rust
    iced::widget::canvas::event

    Enum Status

    pub enum Status {
    +Status in iced::widget::canvas::event - Rust
    iced::widget::canvas::event

    Enum Status

    source
    pub enum Status {
         Ignored,
         Captured,
     }
    Available on crate feature canvas only.
    Expand description

    The status of an Event after being processed.

    Variants§

    §

    Ignored

    The Event was NOT handled by any widget.

    §

    Captured

    The Event was handled and processed by a widget.

    -

    Implementations§

    §

    impl Status

    pub fn merge(self, b: Status) -> Status

    Merges two Status into one.

    +

    Implementations§

    source§

    impl Status

    source

    pub fn merge(self, b: Status) -> Status

    Merges two Status into one.

    Captured takes precedence over Ignored:

    use iced_core::event::Status;
    @@ -13,8 +13,8 @@
     assert_eq!(Status::Ignored.merge(Status::Captured), Status::Captured);
     assert_eq!(Status::Captured.merge(Status::Ignored), Status::Captured);
     assert_eq!(Status::Captured.merge(Status::Captured), Status::Captured);
    -

    Trait Implementations§

    §

    impl Clone for Status

    §

    fn clone(&self) -> Status

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Status

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Status

    §

    fn eq(&self, other: &Status) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Status

    §

    impl Eq for Status

    §

    impl StructuralPartialEq for Status

    Auto Trait Implementations§

    §

    impl Freeze for Status

    §

    impl RefUnwindSafe for Status

    §

    impl Send for Status

    §

    impl Sync for Status

    §

    impl Unpin for Status

    §

    impl UnwindSafe for Status

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Status

    source§

    fn clone(&self) -> Status

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Status

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Status

    source§

    fn eq(&self, other: &Status) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Status

    source§

    impl Eq for Status

    source§

    impl StructuralPartialEq for Status

    Auto Trait Implementations§

    §

    impl Freeze for Status

    §

    impl RefUnwindSafe for Status

    §

    impl Send for Status

    §

    impl Sync for Status

    §

    impl Unpin for Status

    §

    impl UnwindSafe for Status

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/canvas/struct.Canvas.html b/iced/widget/canvas/struct.Canvas.html index 528c785c41..1529a60b99 100644 --- a/iced/widget/canvas/struct.Canvas.html +++ b/iced/widget/canvas/struct.Canvas.html @@ -58,13 +58,13 @@

    Debug + Program<Message, Theme, Renderer>, Message: Debug, Theme: Debug, - Renderer: Debug + Renderer,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, P, Message, Theme, Renderer> From<Canvas<P, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where + Renderer: Debug + Renderer,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, P, Message, Theme, Renderer> From<Canvas<P, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a, Renderer: 'a + Renderer, P: 'a + Program<Message, Theme, Renderer>,

    source§

    fn from( canvas: Canvas<P, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Canvas<P, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.

    source§

    impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Canvas<P, Message, Theme, Renderer>
    where Renderer: Renderer, P: Program<Message, Theme, Renderer>,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, @@ -97,13 +97,13 @@

    Layout<'_>, cursor: Cursor, _viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/canvas/struct.Image.html b/iced/widget/canvas/struct.Image.html index 5d116ec681..edacea1cbf 100644 --- a/iced/widget/canvas/struct.Image.html +++ b/iced/widget/canvas/struct.Image.html @@ -1,4 +1,4 @@ -Image in iced::widget::canvas - Rust
    iced::widget::canvas

    Struct Image

    pub struct Image<H = Handle> {
    +Image in iced::widget::canvas - Rust
    iced::widget::canvas

    Struct Image

    source
    pub struct Image<H = Handle> {
         pub handle: H,
         pub filter_method: FilterMethod,
         pub rotation: Radians,
    @@ -13,16 +13,16 @@
     
    §snap: bool

    If set to true, the image will be snapped to the pixel grid.

    This can avoid graphical glitches, specially when using FilterMethod::Nearest.

    -

    Implementations§

    §

    impl Image

    pub fn new(handle: impl Into<Handle>) -> Image

    Available on crate feature advanced only.

    Creates a new Image with the given handle.

    -

    pub fn filter_method(self, filter_method: FilterMethod) -> Image

    Available on crate feature advanced only.

    Sets the filter method of the Image.

    -

    pub fn rotation(self, rotation: impl Into<Radians>) -> Image

    Available on crate feature advanced only.

    Sets the rotation of the Image.

    -

    pub fn opacity(self, opacity: impl Into<f32>) -> Image

    Available on crate feature advanced only.

    Sets the opacity of the Image.

    -

    pub fn snap(self, snap: bool) -> Image

    Available on crate feature advanced only.

    Sets whether the Image should be snapped to the pixel grid.

    -

    Trait Implementations§

    §

    impl<H> Clone for Image<H>
    where - H: Clone,

    §

    fn clone(&self) -> Image<H>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<H> Debug for Image<H>
    where - H: Debug,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<&Handle> for Image

    §

    fn from(handle: &Handle) -> Image

    Converts to this type from the input type.
    §

    impl<H> PartialEq for Image<H>
    where - H: PartialEq,

    §

    fn eq(&self, other: &Image<H>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl<H> StructuralPartialEq for Image<H>

    Auto Trait Implementations§

    §

    impl<H> Freeze for Image<H>
    where +

    Implementations§

    source§

    impl Image

    source

    pub fn new(handle: impl Into<Handle>) -> Image

    Available on crate feature advanced only.

    Creates a new Image with the given handle.

    +
    source

    pub fn filter_method(self, filter_method: FilterMethod) -> Image

    Available on crate feature advanced only.

    Sets the filter method of the Image.

    +
    source

    pub fn rotation(self, rotation: impl Into<Radians>) -> Image

    Available on crate feature advanced only.

    Sets the rotation of the Image.

    +
    source

    pub fn opacity(self, opacity: impl Into<f32>) -> Image

    Available on crate feature advanced only.

    Sets the opacity of the Image.

    +
    source

    pub fn snap(self, snap: bool) -> Image

    Available on crate feature advanced only.

    Sets whether the Image should be snapped to the pixel grid.

    +

    Trait Implementations§

    source§

    impl<H> Clone for Image<H>
    where + H: Clone,

    source§

    fn clone(&self) -> Image<H>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<H> Debug for Image<H>
    where + H: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<&Handle> for Image

    source§

    fn from(handle: &Handle) -> Image

    Converts to this type from the input type.
    source§

    impl<H> PartialEq for Image<H>
    where + H: PartialEq,

    source§

    fn eq(&self, other: &Image<H>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl<H> StructuralPartialEq for Image<H>

    Auto Trait Implementations§

    §

    impl<H> Freeze for Image<H>
    where H: Freeze,

    §

    impl<H> RefUnwindSafe for Image<H>
    where H: RefUnwindSafe,

    §

    impl<H> Send for Image<H>
    where H: Send,

    §

    impl<H> Sync for Image<H>
    where diff --git a/iced/widget/checkbox/struct.Checkbox.html b/iced/widget/checkbox/struct.Checkbox.html index 156bde14f1..eb76a13782 100644 --- a/iced/widget/checkbox/struct.Checkbox.html +++ b/iced/widget/checkbox/struct.Checkbox.html @@ -94,12 +94,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Checkbox<'a, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the Checkbox.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Checkbox<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Checkbox<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a + Catalog, Renderer: 'a + Renderer,

    source§

    fn from( checkbox: Checkbox<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Checkbox<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Checkbox<'a, Message, Theme, Renderer>
    where Renderer: Renderer, Theme: Catalog,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( &mut self, @@ -127,13 +127,13 @@

    §Example

    layout: Layout<'_>, cursor: Cursor, viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/combo_box/struct.ComboBox.html b/iced/widget/combo_box/struct.ComboBox.html index e6634f3cd2..02fc2dbb8d 100644 --- a/iced/widget/combo_box/struct.ComboBox.html +++ b/iced/widget/combo_box/struct.ComboBox.html @@ -120,13 +120,13 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> ComboBox<'a, T, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the menu of the ComboBox.

    -

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<ComboBox<'a, T, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<ComboBox<'a, T, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where T: Display + Clone + 'static, Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( combo_box: ComboBox<'a, T, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ComboBox<'a, T, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ComboBox<'a, T, Message, Theme, Renderer>
    where T: Display + Clone + 'static, Message: Clone, Theme: Catalog, @@ -162,7 +162,7 @@

    §Example

    layout: Layout<'_>, _renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/container/struct.Container.html b/iced/widget/container/struct.Container.html index e123d29cd2..1e18794a4d 100644 --- a/iced/widget/container/struct.Container.html +++ b/iced/widget/container/struct.Container.html @@ -18,7 +18,7 @@

    §Example

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Container<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Container<'a, Message, Theme, Renderer>

    Creates a Container with the given content.

    source

    pub fn id(self, id: Id) -> Container<'a, Message, Theme, Renderer>

    Sets the Id of the Container.

    source

    pub fn padding<P>(self, padding: P) -> Container<'a, Message, Theme, Renderer>
    where @@ -88,12 +88,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Container<'a, Message, Theme, Renderer>

    Sets the style class of the Container.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Container<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Container<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( column: Container<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Container<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Container<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -133,7 +133,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Container<'a, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Container<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Container<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Container<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, diff --git a/iced/widget/enum.Theme.html b/iced/widget/enum.Theme.html index b3db00afa0..13a33be2aa 100644 --- a/iced/widget/enum.Theme.html +++ b/iced/widget/enum.Theme.html @@ -1,4 +1,4 @@ -Theme in iced::widget - Rust
    iced::widget

    Enum Theme

    pub enum Theme {
    +Theme in iced::widget - Rust
    iced::widget

    Enum Theme

    source
    pub enum Theme {
     
    Show 23 variants Light, Dark, Dracula, @@ -46,22 +46,22 @@
    §

    Oxocarbon

    The built-in Oxocarbon variant.

    §

    Ferra

    The built-in Ferra variant:

    §

    Custom(Arc<Custom>)

    A Theme that uses a Custom palette.

    -

    Implementations§

    §

    impl Theme

    pub const ALL: &'static [Theme] = _

    A list with all the defined themes.

    -

    pub fn custom(name: String, palette: Palette) -> Theme

    Creates a new custom Theme from the given Palette.

    -

    pub fn custom_with_fn( +

    Implementations§

    source§

    impl Theme

    source

    pub const ALL: &'static [Theme] = _

    A list with all the defined themes.

    +
    source

    pub fn custom(name: String, palette: Palette) -> Theme

    Creates a new custom Theme from the given Palette.

    +
    source

    pub fn custom_with_fn( name: String, palette: Palette, generate: impl FnOnce(Palette) -> Extended, ) -> Theme

    Creates a new custom Theme from the given Palette, with a custom generator of a palette::Extended.

    -

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    -

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    -

    Trait Implementations§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn code_block<'a>() -> <Theme as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    §

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    §

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> Self::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> Self::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style( +

    source

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    +
    source

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    +

    Trait Implementations§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn code_block<'a>() -> <Theme as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> Self::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> Self::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style( &self, class: &Box<dyn Fn(&Theme, Status) -> Style + '_>, status: Status, -) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the PickList.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    §

    impl Clone for Theme

    §

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Theme

    §

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    source§

    impl DefaultStyle for Theme

    source§

    fn default_style(&self) -> Appearance

    Returns the default style of a Program.
    §

    impl Display for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Theme

    §

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the PickList.

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Clone for Theme

    source§

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Theme

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Theme

    source§

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    source§

    impl DefaultStyle for Theme

    source§

    fn default_style(&self) -> Appearance

    Returns the default style of a Program.
    source§

    impl Display for Theme

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Theme

    source§

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/fn.button.html b/iced/widget/fn.button.html index 9f08ef756e..4c12b7a9e4 100644 --- a/iced/widget/fn.button.html +++ b/iced/widget/fn.button.html @@ -1,5 +1,5 @@ button in iced::widget - Rust
    iced::widget

    Function button

    source
    pub fn button<'a, Message, Theme, Renderer>(
    -    content: impl Into<Element<'a, Message, Theme, Renderer>>,
    +    content: impl Into<Element<'a, Message, Theme, Renderer>>,
     ) -> Button<'a, Message, Theme, Renderer>
    where Theme: Catalog + 'a, Renderer: Renderer,
    Expand description

    Creates a new Button with the provided content.

    diff --git a/iced/widget/fn.center.html b/iced/widget/fn.center.html index 703f2eab66..1c4dd0c85c 100644 --- a/iced/widget/fn.center.html +++ b/iced/widget/fn.center.html @@ -1,5 +1,5 @@ center in iced::widget - Rust
    iced::widget

    Function center

    source
    pub fn center<'a, Message, Theme, Renderer>(
    -    content: impl Into<Element<'a, Message, Theme, Renderer>>,
    +    content: impl Into<Element<'a, Message, Theme, Renderer>>,
     ) -> Container<'a, Message, Theme, Renderer>
    where Theme: Catalog + 'a, Renderer: Renderer,
    Expand description

    Creates a new Container that fills all the available space diff --git a/iced/widget/fn.column.html b/iced/widget/fn.column.html index 3eb4b9d278..8fe5d52aa1 100644 --- a/iced/widget/fn.column.html +++ b/iced/widget/fn.column.html @@ -1,5 +1,5 @@ column in iced::widget - Rust

    iced::widget

    Function column

    source
    pub fn column<'a, Message, Theme, Renderer>(
    -    children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,
    +    children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,
     ) -> Column<'a, Message, Theme, Renderer>
    where Renderer: Renderer,
    Expand description

    Creates a new Column with the given children.

    Columns distribute their children vertically.

    diff --git a/iced/widget/fn.component.html b/iced/widget/fn.component.html index 76da88d3e8..adab580414 100644 --- a/iced/widget/fn.component.html +++ b/iced/widget/fn.component.html @@ -1,10 +1,10 @@ component in iced::widget - Rust
    iced::widget

    Function component

    source
    pub fn component<'a, C, Message, Theme, Renderer>(
         component: C,
    -) -> Element<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>
    where C: Component<Message, Theme, Renderer> + 'a, <C as Component<Message, Theme, Renderer>>::State: 'static, Message: 'a, Theme: 'a, - Renderer: Renderer + 'a,
    👎Deprecated since 0.13.0: components introduce encapsulated state and hamper the use of a single source of truth. Instead, leverage the Elm Architecture directly, or implement a custom widget
    Available on crate feature lazy only.
    Expand description

    Turns an implementor of Component into an [Element] that can be + Renderer: Renderer + 'a,

    👎Deprecated since 0.13.0: components introduce encapsulated state and hamper the use of a single source of truth. Instead, leverage the Elm Architecture directly, or implement a custom widget
    Available on crate feature lazy only.
    Expand description

    Turns an implementor of Component into an Element that can be embedded in any application.

    \ No newline at end of file diff --git a/iced/widget/fn.container.html b/iced/widget/fn.container.html index a652a41919..c308844aaf 100644 --- a/iced/widget/fn.container.html +++ b/iced/widget/fn.container.html @@ -1,5 +1,5 @@ container in iced::widget - Rust
    iced::widget

    Function container

    source
    pub fn container<'a, Message, Theme, Renderer>(
    -    content: impl Into<Element<'a, Message, Theme, Renderer>>,
    +    content: impl Into<Element<'a, Message, Theme, Renderer>>,
     ) -> Container<'a, Message, Theme, Renderer>
    where Theme: Catalog + 'a, Renderer: Renderer,
    Expand description

    Creates a new Container with the provided content.

    diff --git a/iced/widget/fn.hover.html b/iced/widget/fn.hover.html index cafe4e7a67..f0366a61c4 100644 --- a/iced/widget/fn.hover.html +++ b/iced/widget/fn.hover.html @@ -1,7 +1,7 @@ hover in iced::widget - Rust
    iced::widget

    Function hover

    source
    pub fn hover<'a, Message, Theme, Renderer>(
    -    base: impl Into<Element<'a, Message, Theme, Renderer>>,
    -    top: impl Into<Element<'a, Message, Theme, Renderer>>,
    -) -> Element<'a, Message, Theme, Renderer>
    where + base: impl Into<Element<'a, Message, Theme, Renderer>>, + top: impl Into<Element<'a, Message, Theme, Renderer>>, +) -> Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a, Renderer: Renderer + 'a,
    Expand description

    Displays a widget on top of another one, only when the base widget is hovered.

    diff --git a/iced/widget/fn.iced.html b/iced/widget/fn.iced.html index dc521c2e16..a2c6ec045e 100644 --- a/iced/widget/fn.iced.html +++ b/iced/widget/fn.iced.html @@ -1,9 +1,9 @@ iced in iced::widget - Rust
    iced::widget

    Function iced

    source
    pub fn iced<'a, Message, Theme, Renderer>(
         text_size: impl Into<Pixels>,
    -) -> Element<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>
    where Message: 'a, Renderer: Renderer + Renderer<Font = Font> + Renderer + 'a, - Theme: Catalog + Catalog + 'a,
    Available on crate feature svg only.
    Expand description

    Creates an [Element] that displays the iced logo with the given text_size.

    + Theme: Catalog + Catalog + 'a,

    Available on crate feature svg only.
    Expand description

    Creates an Element that displays the iced logo with the given text_size.

    Useful for showing some love to your favorite GUI library in your “About” screen, for instance.

    \ No newline at end of file diff --git a/iced/widget/fn.keyed_column.html b/iced/widget/fn.keyed_column.html index 658c4cd94c..9f158ab654 100644 --- a/iced/widget/fn.keyed_column.html +++ b/iced/widget/fn.keyed_column.html @@ -1,5 +1,5 @@ keyed_column in iced::widget - Rust
    iced::widget

    Function keyed_column

    source
    pub fn keyed_column<'a, Key, Message, Theme, Renderer>(
    -    children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>,
    +    children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>,
     ) -> Column<'a, Key, Message, Theme, Renderer>
    where Key: Copy + PartialEq, Renderer: Renderer,
    Expand description

    Creates a new keyed::Column from an iterator of elements.

    diff --git a/iced/widget/fn.lazy.html b/iced/widget/fn.lazy.html index ba1bd4c0b8..09e2ffa894 100644 --- a/iced/widget/fn.lazy.html +++ b/iced/widget/fn.lazy.html @@ -3,6 +3,6 @@ view: impl Fn(&Dependency) -> View + 'a, ) -> Lazy<'a, Message, Theme, Renderer, Dependency, View>
    where Dependency: Hash + 'a, - View: Into<Element<'static, Message, Theme, Renderer>>,

    Available on crate feature lazy only.
    Expand description

    Creates a new Lazy widget with the given data Dependency and a + View: Into<Element<'static, Message, Theme, Renderer>>,

    Available on crate feature lazy only.
    Expand description

    Creates a new Lazy widget with the given data Dependency and a closure that can turn this data into a widget tree.

    \ No newline at end of file diff --git a/iced/widget/fn.markdown.html b/iced/widget/fn.markdown.html index 6a0615baf6..14a8d8d3f1 100644 --- a/iced/widget/fn.markdown.html +++ b/iced/widget/fn.markdown.html @@ -2,7 +2,7 @@ items: impl IntoIterator<Item = &'b Item>, settings: Settings, style: Style, -) -> Element<'a, Url, Theme, Renderer>
    where +) -> Element<'a, Url, Theme, Renderer>
    where Theme: Catalog + 'a, Renderer: Renderer<Font = Font> + 'a,
    Expand description

    Display a bunch of Markdown items.

    You can obtain the items with parse.

    diff --git a/iced/widget/fn.mouse_area.html b/iced/widget/fn.mouse_area.html index 3444dac511..ae04453a23 100644 --- a/iced/widget/fn.mouse_area.html +++ b/iced/widget/fn.mouse_area.html @@ -1,5 +1,5 @@ mouse_area in iced::widget - Rust
    iced::widget

    Function mouse_area

    source
    pub fn mouse_area<'a, Message, Theme, Renderer>(
    -    widget: impl Into<Element<'a, Message, Theme, Renderer>>,
    +    widget: impl Into<Element<'a, Message, Theme, Renderer>>,
     ) -> MouseArea<'a, Message, Theme, Renderer>
    where Renderer: Renderer,
    Expand description

    A container intercepting mouse events.

    \ No newline at end of file diff --git a/iced/widget/fn.opaque.html b/iced/widget/fn.opaque.html index 17943db065..f0b0d79098 100644 --- a/iced/widget/fn.opaque.html +++ b/iced/widget/fn.opaque.html @@ -1,6 +1,6 @@ opaque in iced::widget - Rust
    iced::widget

    Function opaque

    source
    pub fn opaque<'a, Message, Theme, Renderer>(
    -    content: impl Into<Element<'a, Message, Theme, Renderer>>,
    -) -> Element<'a, Message, Theme, Renderer>
    where + content: impl Into<Element<'a, Message, Theme, Renderer>>, +) -> Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a, Renderer: Renderer + 'a,
    Expand description

    Wraps the given widget and captures any mouse button presses inside the bounds of diff --git a/iced/widget/fn.responsive.html b/iced/widget/fn.responsive.html index 01447a6986..63a27002a8 100644 --- a/iced/widget/fn.responsive.html +++ b/iced/widget/fn.responsive.html @@ -1,5 +1,5 @@ responsive in iced::widget - Rust

    iced::widget

    Function responsive

    source
    pub fn responsive<'a, Message, Theme, Renderer>(
    -    f: impl Fn(Size) -> Element<'a, Message, Theme, Renderer> + 'a,
    +    f: impl Fn(Size) -> Element<'a, Message, Theme, Renderer> + 'a,
     ) -> Responsive<'a, Message, Theme, Renderer>
    where Renderer: Renderer,
    Available on crate feature lazy only.
    Expand description

    Creates a new Responsive widget with a closure that produces its contents.

    diff --git a/iced/widget/fn.row.html b/iced/widget/fn.row.html index 73f9a15fd8..fa89446e02 100644 --- a/iced/widget/fn.row.html +++ b/iced/widget/fn.row.html @@ -1,5 +1,5 @@ row in iced::widget - Rust
    iced::widget

    Function row

    source
    pub fn row<'a, Message, Theme, Renderer>(
    -    children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,
    +    children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,
     ) -> Row<'a, Message, Theme, Renderer>
    where Renderer: Renderer,
    Expand description

    Creates a new Row from an iterator.

    Rows distribute their children horizontally.

    diff --git a/iced/widget/fn.scrollable.html b/iced/widget/fn.scrollable.html index c03aa2564c..a3d09b1675 100644 --- a/iced/widget/fn.scrollable.html +++ b/iced/widget/fn.scrollable.html @@ -1,5 +1,5 @@ scrollable in iced::widget - Rust
    iced::widget

    Function scrollable

    source
    pub fn scrollable<'a, Message, Theme, Renderer>(
    -    content: impl Into<Element<'a, Message, Theme, Renderer>>,
    +    content: impl Into<Element<'a, Message, Theme, Renderer>>,
     ) -> Scrollable<'a, Message, Theme, Renderer>
    where Theme: Catalog + 'a, Renderer: Renderer,
    Expand description

    Creates a new Scrollable with the provided content.

    diff --git a/iced/widget/fn.stack.html b/iced/widget/fn.stack.html index a4a4721ec1..863f5fce2e 100644 --- a/iced/widget/fn.stack.html +++ b/iced/widget/fn.stack.html @@ -1,5 +1,5 @@ stack in iced::widget - Rust
    iced::widget

    Function stack

    source
    pub fn stack<'a, Message, Theme, Renderer>(
    -    children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,
    +    children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,
     ) -> Stack<'a, Message, Theme, Renderer>
    where Renderer: Renderer,
    Expand description

    Creates a new Stack with the given children.

    \ No newline at end of file diff --git a/iced/widget/fn.themer.html b/iced/widget/fn.themer.html index b74a9e0a1b..8bfcee2774 100644 --- a/iced/widget/fn.themer.html +++ b/iced/widget/fn.themer.html @@ -1,6 +1,6 @@ themer in iced::widget - Rust
    iced::widget

    Function themer

    source
    pub fn themer<'a, Message, OldTheme, NewTheme, Renderer>(
         new_theme: NewTheme,
    -    content: impl Into<Element<'a, Message, NewTheme, Renderer>>,
    +    content: impl Into<Element<'a, Message, NewTheme, Renderer>>,
     ) -> Themer<'a, Message, OldTheme, NewTheme, impl Fn(&OldTheme), Renderer>
    where Renderer: Renderer, NewTheme: Clone,
    Expand description

    A widget that applies any Theme to its contents.

    diff --git a/iced/widget/fn.tooltip.html b/iced/widget/fn.tooltip.html index 87c2e2ac0a..30b2b53499 100644 --- a/iced/widget/fn.tooltip.html +++ b/iced/widget/fn.tooltip.html @@ -1,11 +1,11 @@ tooltip in iced::widget - Rust
    iced::widget

    Function tooltip

    source
    pub fn tooltip<'a, Message, Theme, Renderer>(
    -    content: impl Into<Element<'a, Message, Theme, Renderer>>,
    -    tooltip: impl Into<Element<'a, Message, Theme, Renderer>>,
    +    content: impl Into<Element<'a, Message, Theme, Renderer>>,
    +    tooltip: impl Into<Element<'a, Message, Theme, Renderer>>,
         position: Position,
     ) -> Tooltip<'a, Message, Theme, Renderer>
    where Theme: Catalog + 'a, Renderer: Renderer,
    Expand description

    Creates a new Tooltip for the provided content with the given -[Element] and tooltip::Position.

    +Element and tooltip::Position.

    Tooltips display a hint of information over some element when hovered.

    §Example

    use iced::widget::{container, tooltip};
    diff --git a/iced/widget/image/enum.FilterMethod.html b/iced/widget/image/enum.FilterMethod.html
    index 747efa9581..dd5cdd38f5 100644
    --- a/iced/widget/image/enum.FilterMethod.html
    +++ b/iced/widget/image/enum.FilterMethod.html
    @@ -1,14 +1,14 @@
    -FilterMethod in iced::widget::image - Rust
    iced::widget::image

    Enum FilterMethod

    pub enum FilterMethod {
    +FilterMethod in iced::widget::image - Rust
    iced::widget::image

    Enum FilterMethod

    source
    pub enum FilterMethod {
         Linear,
         Nearest,
     }
    Available on crate feature image only.
    Expand description

    Image filtering strategy.

    Variants§

    §

    Linear

    Bilinear interpolation.

    §

    Nearest

    Nearest neighbor.

    -

    Trait Implementations§

    §

    impl Clone for FilterMethod

    §

    fn clone(&self) -> FilterMethod

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for FilterMethod

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for FilterMethod

    §

    fn default() -> FilterMethod

    Returns the “default value” for a type. Read more
    §

    impl Hash for FilterMethod

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for FilterMethod

    source§

    fn clone(&self) -> FilterMethod

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for FilterMethod

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for FilterMethod

    source§

    fn default() -> FilterMethod

    Returns the “default value” for a type. Read more
    source§

    impl Hash for FilterMethod

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for FilterMethod

    §

    fn eq(&self, other: &FilterMethod) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for FilterMethod

    §

    impl Eq for FilterMethod

    §

    impl StructuralPartialEq for FilterMethod

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for FilterMethod

    source§

    fn eq(&self, other: &FilterMethod) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for FilterMethod

    source§

    impl Eq for FilterMethod

    source§

    impl StructuralPartialEq for FilterMethod

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/image/enum.Handle.html b/iced/widget/image/enum.Handle.html index 09ccd26444..5ca2f5f988 100644 --- a/iced/widget/image/enum.Handle.html +++ b/iced/widget/image/enum.Handle.html @@ -1,4 +1,4 @@ -Handle in iced::widget::image - Rust
    iced::widget::image

    Enum Handle

    pub enum Handle {
    +Handle in iced::widget::image - Rust
    iced::widget::image

    Enum Handle

    source
    pub enum Handle {
         Path(Id, PathBuf),
         Bytes(Id, Bytes),
         Rgba {
    @@ -19,22 +19,22 @@
     
    §width: u32

    The width of the image.

    §height: u32

    The height of the image.

    §pixels: Bytes

    The pixels.

    -

    Implementations§

    §

    impl Handle

    pub fn from_path<T>(path: T) -> Handle
    where +

    Implementations§

    source§

    impl Handle

    source

    pub fn from_path<T>(path: T) -> Handle
    where T: Into<PathBuf>,

    Available on crate feature advanced only.

    Creates an image Handle pointing to the image of the given path.

    Makes an educated guess about the image format by examining the data in the file.

    -

    pub fn from_bytes(bytes: impl Into<Bytes>) -> Handle

    Available on crate feature advanced only.

    Creates an image Handle containing the encoded image data directly.

    +
    source

    pub fn from_bytes(bytes: impl Into<Bytes>) -> Handle

    Available on crate feature advanced only.

    Creates an image Handle containing the encoded image data directly.

    Makes an educated guess about the image format by examining the given data.

    This is useful if you already have your image loaded in-memory, maybe because you downloaded or generated it procedurally.

    -

    pub fn from_rgba(width: u32, height: u32, pixels: impl Into<Bytes>) -> Handle

    Available on crate feature advanced only.

    Creates an image Handle containing the decoded image pixels directly.

    +
    source

    pub fn from_rgba(width: u32, height: u32, pixels: impl Into<Bytes>) -> Handle

    Available on crate feature advanced only.

    Creates an image Handle containing the decoded image pixels directly.

    This function expects the pixel data to be provided as a collection of Bytes of RGBA pixels. Therefore, the length of the pixel data should always be width * height * 4.

    This is useful if you have already decoded your image.

    -

    pub fn id(&self) -> Id

    Available on crate feature advanced only.

    Returns the unique identifier of the Handle.

    -

    Trait Implementations§

    §

    impl Clone for Handle

    §

    fn clone(&self) -> Handle

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Handle

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<&Handle> for Handle

    §

    fn from(value: &Handle) -> Handle

    Converts to this type from the input type.
    §

    impl From<&Handle> for Image

    §

    fn from(handle: &Handle) -> Image

    Converts to this type from the input type.
    §

    impl<T> From<T> for Handle
    where - T: Into<PathBuf>,

    §

    fn from(path: T) -> Handle

    Converts to this type from the input type.
    §

    impl PartialEq for Handle

    §

    fn eq(&self, other: &Handle) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Eq for Handle

    §

    impl StructuralPartialEq for Handle

    Auto Trait Implementations§

    §

    impl !Freeze for Handle

    §

    impl RefUnwindSafe for Handle

    §

    impl Send for Handle

    §

    impl Sync for Handle

    §

    impl Unpin for Handle

    §

    impl UnwindSafe for Handle

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    source

    pub fn id(&self) -> Id

    Available on crate feature advanced only.

    Returns the unique identifier of the Handle.

    +

    Trait Implementations§

    source§

    impl Clone for Handle

    source§

    fn clone(&self) -> Handle

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Handle

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<&Handle> for Handle

    source§

    fn from(value: &Handle) -> Handle

    Converts to this type from the input type.
    source§

    impl From<&Handle> for Image

    source§

    fn from(handle: &Handle) -> Image

    Converts to this type from the input type.
    source§

    impl<T> From<T> for Handle
    where + T: Into<PathBuf>,

    source§

    fn from(path: T) -> Handle

    Converts to this type from the input type.
    source§

    impl PartialEq for Handle

    source§

    fn eq(&self, other: &Handle) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Eq for Handle

    source§

    impl StructuralPartialEq for Handle

    Auto Trait Implementations§

    §

    impl !Freeze for Handle

    §

    impl RefUnwindSafe for Handle

    §

    impl Send for Handle

    §

    impl Sync for Handle

    §

    impl Unpin for Handle

    §

    impl UnwindSafe for Handle

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/image/struct.Image.html b/iced/widget/image/struct.Image.html index e7b4550976..648d7936c3 100644 --- a/iced/widget/image/struct.Image.html +++ b/iced/widget/image/struct.Image.html @@ -20,9 +20,9 @@

    §Example

    It should be in the [0.0, 1.0] range—0.0 meaning completely transparent, and 1.0 meaning completely opaque.

    Trait Implementations§

    source§

    impl<Handle> Debug for Image<Handle>
    where - Handle: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Message, Theme, Renderer, Handle> From<Image<Handle>> for Element<'a, Message, Theme, Renderer>
    where + Handle: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Message, Theme, Renderer, Handle> From<Image<Handle>> for Element<'a, Message, Theme, Renderer>
    where Renderer: Renderer<Handle = Handle>, - Handle: Clone + 'a,

    source§

    fn from(image: Image<Handle>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Image<Handle>
    where + Handle: Clone + 'a,

    source§

    fn from(image: Image<Handle>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Image<Handle>
    where Renderer: Renderer<Handle = Handle>, Handle: Clone,

    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, _tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn draw( &self, @@ -33,13 +33,13 @@

    §Example

    layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -49,14 +49,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status

    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/image/struct.Viewer.html b/iced/widget/image/struct.Viewer.html index 840fc7b50d..e227d25887 100644 --- a/iced/widget/image/struct.Viewer.html +++ b/iced/widget/image/struct.Viewer.html @@ -13,10 +13,10 @@

    source

    pub fn scale_step(self, scale_step: f32) -> Viewer<Handle>

    Sets the percentage the image of the Viewer will be scaled by when zoomed in / out.

    Default is 0.10

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, Handle> From<Viewer<Handle>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, Handle> From<Viewer<Handle>> for Element<'a, Message, Theme, Renderer>
    where Renderer: 'a + Renderer<Handle = Handle>, Message: 'a, - Handle: Clone + 'a,

    source§

    fn from(viewer: Viewer<Handle>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Viewer<Handle>
    where + Handle: Clone + 'a,

    source§

    fn from(viewer: Viewer<Handle>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Viewer<Handle>
    where Renderer: Renderer<Handle = Handle>, Handle: Clone,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, _tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( &mut self, @@ -44,13 +44,13 @@ layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/image/viewer/struct.Viewer.html b/iced/widget/image/viewer/struct.Viewer.html index 1487b6d2d0..e37e2319aa 100644 --- a/iced/widget/image/viewer/struct.Viewer.html +++ b/iced/widget/image/viewer/struct.Viewer.html @@ -13,10 +13,10 @@

    source

    pub fn scale_step(self, scale_step: f32) -> Viewer<Handle>

    Sets the percentage the image of the Viewer will be scaled by when zoomed in / out.

    Default is 0.10

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, Handle> From<Viewer<Handle>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, Handle> From<Viewer<Handle>> for Element<'a, Message, Theme, Renderer>
    where Renderer: 'a + Renderer<Handle = Handle>, Message: 'a, - Handle: Clone + 'a,

    source§

    fn from(viewer: Viewer<Handle>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Viewer<Handle>
    where + Handle: Clone + 'a,

    source§

    fn from(viewer: Viewer<Handle>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Viewer<Handle>
    where Renderer: Renderer<Handle = Handle>, Handle: Clone,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, _tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( &mut self, @@ -44,13 +44,13 @@ layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/index.html b/iced/widget/index.html index de2132a462..e53951e1fa 100644 --- a/iced/widget/index.html +++ b/iced/widget/index.html @@ -5,11 +5,11 @@ scrollbar.

  • A widget which can render custom shaders with Iced’s wgpu backend.
  • An horizontal bar and a handle that selects a single value from a range of values.
  • An amount of empty space.
  • A container that displays children on top of each other.
  • A vector graphics image.
  • A multi-line text input.
  • A field that can be filled with text.
  • A widget that applies any Theme to its contents.
  • A toggler widget.
  • An element to display a widget over another.
  • An vertical bar and a handle that selects a single value from a range of values.
  • Enums§

    Traits§

    • ComponentDeprecatedlazy
      A reusable, custom widget that uses The Elm Architecture.

    Functions§

    Type Aliases§

    \ No newline at end of file diff --git a/iced/widget/keyed/column/struct.Column.html b/iced/widget/keyed/column/struct.Column.html index 73333263e8..b8a235096d 100644 --- a/iced/widget/keyed/column/struct.Column.html +++ b/iced/widget/keyed/column/struct.Column.html @@ -17,7 +17,7 @@

    §Example

    Renderer: Renderer,
    source

    pub fn new() -> Column<'a, Key, Message, Theme, Renderer>

    Creates an empty Column.

    source

    pub fn from_vecs( keys: Vec<Key>, - children: Vec<Element<'a, Message, Theme, Renderer>>, + children: Vec<Element<'a, Message, Theme, Renderer>>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Creates a Column from already allocated Vecs.

    Keep in mind that the Column will not inspect the Vecs, which means it won’t automatically adapt to the sizing strategy of its contents.

    @@ -27,7 +27,7 @@

    §Example

    capacity: usize, ) -> Column<'a, Key, Message, Theme, Renderer>

    Creates a Column with the given capacity.

    source

    pub fn with_children( - children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>, + children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Creates a Column with the given elements.

    source

    pub fn spacing( self, @@ -57,26 +57,26 @@

    §Example

    source

    pub fn push( self, key: Key, - child: impl Into<Element<'a, Message, Theme, Renderer>>, + child: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Adds an element to the Column.

    source

    pub fn push_maybe( self, key: Key, - child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, + child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Adds an element to the Column, if Some.

    source

    pub fn extend( self, - children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>, + children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Extends the Column with the given children.

    Trait Implementations§

    source§

    impl<'a, Key, Message, Renderer> Default for Column<'a, Key, Message, Renderer>
    where Key: Copy + PartialEq, - Renderer: Renderer,

    source§

    fn default() -> Column<'a, Key, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Key, Message, Theme, Renderer> From<Column<'a, Key, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where + Renderer: Renderer,

    source§

    fn default() -> Column<'a, Key, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Key, Message, Theme, Renderer> From<Column<'a, Key, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Key: Copy + PartialEq + 'static, Message: 'a, Theme: 'a, Renderer: Renderer + 'a,

    source§

    fn from( column: Column<'a, Key, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Key, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Column<'a, Key, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Key, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Column<'a, Key, Message, Theme, Renderer>
    where Renderer: Renderer, Key: Copy + PartialEq + 'static,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -116,7 +116,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Key, Message, Theme, Renderer> Freeze for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme, Renderer> Unpin for Column<'a, Key, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Key, Message, Theme, Renderer> Freeze for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme, Renderer> Unpin for Column<'a, Key, Message, Theme, Renderer>
    where Key: Unpin,

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, diff --git a/iced/widget/keyed/struct.Column.html b/iced/widget/keyed/struct.Column.html index 74c9c1abfe..5b187adc47 100644 --- a/iced/widget/keyed/struct.Column.html +++ b/iced/widget/keyed/struct.Column.html @@ -17,7 +17,7 @@

    §Example

    Renderer: Renderer,

    source

    pub fn new() -> Column<'a, Key, Message, Theme, Renderer>

    Creates an empty Column.

    source

    pub fn from_vecs( keys: Vec<Key>, - children: Vec<Element<'a, Message, Theme, Renderer>>, + children: Vec<Element<'a, Message, Theme, Renderer>>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Creates a Column from already allocated Vecs.

    Keep in mind that the Column will not inspect the Vecs, which means it won’t automatically adapt to the sizing strategy of its contents.

    @@ -27,7 +27,7 @@

    §Example

    capacity: usize, ) -> Column<'a, Key, Message, Theme, Renderer>

    Creates a Column with the given capacity.

    source

    pub fn with_children( - children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>, + children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Creates a Column with the given elements.

    source

    pub fn spacing( self, @@ -57,26 +57,26 @@

    §Example

    source

    pub fn push( self, key: Key, - child: impl Into<Element<'a, Message, Theme, Renderer>>, + child: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Adds an element to the Column.

    source

    pub fn push_maybe( self, key: Key, - child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, + child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Adds an element to the Column, if Some.

    source

    pub fn extend( self, - children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>, + children: impl IntoIterator<Item = (Key, Element<'a, Message, Theme, Renderer>)>, ) -> Column<'a, Key, Message, Theme, Renderer>

    Extends the Column with the given children.

    Trait Implementations§

    source§

    impl<'a, Key, Message, Renderer> Default for Column<'a, Key, Message, Renderer>
    where Key: Copy + PartialEq, - Renderer: Renderer,

    source§

    fn default() -> Column<'a, Key, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Key, Message, Theme, Renderer> From<Column<'a, Key, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where + Renderer: Renderer,

    source§

    fn default() -> Column<'a, Key, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Key, Message, Theme, Renderer> From<Column<'a, Key, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Key: Copy + PartialEq + 'static, Message: 'a, Theme: 'a, Renderer: Renderer + 'a,

    source§

    fn from( column: Column<'a, Key, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Key, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Column<'a, Key, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Key, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Column<'a, Key, Message, Theme, Renderer>
    where Renderer: Renderer, Key: Copy + PartialEq + 'static,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -116,7 +116,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Key, Message, Theme, Renderer> Freeze for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme, Renderer> Unpin for Column<'a, Key, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Key, Message, Theme, Renderer> Freeze for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme, Renderer> Unpin for Column<'a, Key, Message, Theme, Renderer>
    where Key: Unpin,

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, diff --git a/iced/widget/markdown/fn.view.html b/iced/widget/markdown/fn.view.html index ca2945aeff..2428e5826d 100644 --- a/iced/widget/markdown/fn.view.html +++ b/iced/widget/markdown/fn.view.html @@ -2,7 +2,7 @@ items: impl IntoIterator<Item = &'b Item>, settings: Settings, style: Style, -) -> Element<'a, Url, Theme, Renderer>
    where +) -> Element<'a, Url, Theme, Renderer>
    where Theme: Catalog + 'a, Renderer: Renderer<Font = Font> + 'a,
    Available on crate feature markdown only.
    Expand description

    Display a bunch of Markdown items.

    You can obtain the items with parse.

    diff --git a/iced/widget/markdown/struct.Highlight.html b/iced/widget/markdown/struct.Highlight.html index af1aa69b3f..6e4c88ce85 100644 --- a/iced/widget/markdown/struct.Highlight.html +++ b/iced/widget/markdown/struct.Highlight.html @@ -1,11 +1,11 @@ -Highlight in iced::widget::markdown - Rust
    iced::widget::markdown

    Struct Highlight

    pub struct Highlight {
    +Highlight in iced::widget::markdown - Rust
    iced::widget::markdown

    Struct Highlight

    source
    pub struct Highlight {
         pub background: Background,
         pub border: Border,
     }
    Available on crate feature markdown only.
    Expand description

    A text highlight.

    Fields§

    §background: Background

    The Background of the highlight.

    §border: Border

    The Border of the highlight.

    -

    Trait Implementations§

    §

    impl Clone for Highlight

    §

    fn clone(&self) -> Highlight

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Highlight

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Highlight

    §

    fn eq(&self, other: &Highlight) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Highlight

    §

    impl StructuralPartialEq for Highlight

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Highlight

    source§

    fn clone(&self) -> Highlight

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Highlight

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Highlight

    source§

    fn eq(&self, other: &Highlight) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Highlight

    source§

    impl StructuralPartialEq for Highlight

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/overlay/menu/struct.Menu.html b/iced/widget/overlay/menu/struct.Menu.html index 29c0d6eab8..accaacda8c 100644 --- a/iced/widget/overlay/menu/struct.Menu.html +++ b/iced/widget/overlay/menu/struct.Menu.html @@ -39,7 +39,7 @@ self, position: Point, target_height: f32, -) -> Element<'a, Message, Theme, Renderer>

    Turns the Menu into an overlay [Element] at the given target +) -> Element<'a, Message, Theme, Renderer>

    Turns the Menu into an overlay Element at the given target position.

    The target_height will be used to display the menu either on top of the target or under it, depending on the screen position and the diff --git a/iced/widget/pane_grid/struct.Content.html b/iced/widget/pane_grid/struct.Content.html index 48fb5b15f5..dd292b1981 100644 --- a/iced/widget/pane_grid/struct.Content.html +++ b/iced/widget/pane_grid/struct.Content.html @@ -4,7 +4,7 @@

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Content<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source

    pub fn new( - body: impl Into<Element<'a, Message, Theme, Renderer>>, + body: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Content<'a, Message, Theme, Renderer>

    Creates a new Content with the provided body.

    source

    pub fn title_bar( self, @@ -35,7 +35,7 @@ Theme: Catalog, Renderer: Renderer,

    source§

    fn can_be_dragged_at(&self, layout: Layout<'_>, cursor_position: Point) -> bool

    Returns whether the Draggable with the given Layout can be picked at the provided cursor position.
    source§

    impl<'a, T, Message, Theme, Renderer> From<T> for Content<'a, Message, Theme, Renderer>
    where - T: Into<Element<'a, Message, Theme, Renderer>>, + T: Into<Element<'a, Message, Theme, Renderer>>, Theme: Catalog + 'a, Renderer: Renderer,

    source§

    fn from(element: T) -> Content<'a, Message, Theme, Renderer>

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Content<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Content<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Content<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Content<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Content<'a, Message, Theme, Renderer>
    where diff --git a/iced/widget/pane_grid/struct.Controls.html b/iced/widget/pane_grid/struct.Controls.html index 0162bbbbd9..76055f2536 100644 --- a/iced/widget/pane_grid/struct.Controls.html +++ b/iced/widget/pane_grid/struct.Controls.html @@ -4,18 +4,18 @@

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Controls<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Controls<'a, Message, Theme, Renderer>

    Creates a new Controls with the given content.

    source

    pub fn dynamic( - full: impl Into<Element<'a, Message, Theme, Renderer>>, - compact: impl Into<Element<'a, Message, Theme, Renderer>>, + full: impl Into<Element<'a, Message, Theme, Renderer>>, + compact: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Controls<'a, Message, Theme, Renderer>

    Creates a new Controls with a full and compact variant. If there is not enough room to show the full variant without overlap, then the compact variant will be shown instead.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Element<'a, Message, Theme, Renderer>> for Controls<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Element<'a, Message, Theme, Renderer>> for Controls<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn from( - value: Element<'a, Message, Theme, Renderer>, + value: Element<'a, Message, Theme, Renderer>, ) -> Controls<'a, Message, Theme, Renderer>

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Controls<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, diff --git a/iced/widget/pane_grid/struct.PaneGrid.html b/iced/widget/pane_grid/struct.PaneGrid.html index 1fbcb94977..49cb4e263c 100644 --- a/iced/widget/pane_grid/struct.PaneGrid.html +++ b/iced/widget/pane_grid/struct.PaneGrid.html @@ -91,12 +91,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> PaneGrid<'a, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the PaneGrid.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<PaneGrid<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<PaneGrid<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( pane_grid: PaneGrid<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PaneGrid<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PaneGrid<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -136,7 +136,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for PaneGrid<'a, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for PaneGrid<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for PaneGrid<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, diff --git a/iced/widget/pane_grid/struct.TitleBar.html b/iced/widget/pane_grid/struct.TitleBar.html index 4929887cbf..2088b250f0 100644 --- a/iced/widget/pane_grid/struct.TitleBar.html +++ b/iced/widget/pane_grid/struct.TitleBar.html @@ -4,7 +4,7 @@

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> TitleBar<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> TitleBar<'a, Message, Theme, Renderer>

    Creates a new TitleBar with the given content.

    source

    pub fn controls( self, diff --git a/iced/widget/pick_list/struct.PickList.html b/iced/widget/pick_list/struct.PickList.html index 0e628c6fcb..2efd8a821e 100644 --- a/iced/widget/pick_list/struct.PickList.html +++ b/iced/widget/pick_list/struct.PickList.html @@ -130,7 +130,7 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> PickList<'a, T, L, V, Message, Theme, Renderer>
    Available on crate feature advanced only.

    Sets the style class of the Menu.

    -

    Trait Implementations§

    source§

    impl<'a, T, L, V, Message, Theme, Renderer> From<PickList<'a, T, L, V, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, T, L, V, Message, Theme, Renderer> From<PickList<'a, T, L, V, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where T: Clone + ToString + PartialEq + 'a, L: Borrow<[T]> + 'a, V: Borrow<T> + 'a, @@ -138,7 +138,7 @@

    §Example

    Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( pick_list: PickList<'a, T, L, V, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, L, V, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PickList<'a, T, L, V, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, L, V, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PickList<'a, T, L, V, Message, Theme, Renderer>
    where T: Clone + ToString + PartialEq + 'a, L: Borrow<[T]>, V: Borrow<T>, @@ -176,7 +176,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/progress_bar/struct.ProgressBar.html b/iced/widget/progress_bar/struct.ProgressBar.html index 0326d9af22..1ee721c0e4 100644 --- a/iced/widget/progress_bar/struct.ProgressBar.html +++ b/iced/widget/progress_bar/struct.ProgressBar.html @@ -33,12 +33,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> ProgressBar<'a, Theme>
    Available on crate feature advanced only.

    Sets the style class of the ProgressBar.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<ProgressBar<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<ProgressBar<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a + Catalog, Renderer: 'a + Renderer,

    source§

    fn from( progress_bar: ProgressBar<'a, Theme>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ProgressBar<'a, Theme>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ProgressBar<'a, Theme>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, @@ -54,13 +54,13 @@

    §Example

    layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -70,14 +70,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/qr_code/struct.QRCode.html b/iced/widget/qr_code/struct.QRCode.html index 80f902f2f7..43c8135c73 100644 --- a/iced/widget/qr_code/struct.QRCode.html +++ b/iced/widget/qr_code/struct.QRCode.html @@ -26,10 +26,10 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> QRCode<'a, Theme>
    Available on crate feature advanced only.

    Sets the style class of the QRCode.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme> From<QRCode<'a, Theme>> for Element<'a, Message, Theme, Renderer<Renderer, Renderer>>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme> From<QRCode<'a, Theme>> for Element<'a, Message, Theme, Renderer<Renderer, Renderer>>
    where Theme: Catalog + 'a,

    source§

    fn from( qr_code: QRCode<'a, Theme>, -) -> Element<'a, Message, Theme, Renderer<Renderer, Renderer>>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme> Widget<Message, Theme, Renderer<Renderer, Renderer>> for QRCode<'a, Theme>
    where +) -> Element<'a, Message, Theme, Renderer<Renderer, Renderer>>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme> Widget<Message, Theme, Renderer<Renderer, Renderer>> for QRCode<'a, Theme>
    where Theme: Catalog,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, _tree: &mut Tree, @@ -44,13 +44,13 @@

    §Example

    layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -60,14 +60,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/radio/struct.Radio.html b/iced/widget/radio/struct.Radio.html index af11d3f1c2..b3d6e72b94 100644 --- a/iced/widget/radio/struct.Radio.html +++ b/iced/widget/radio/struct.Radio.html @@ -114,12 +114,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Radio<'a, Message, Theme, Renderer>
    Available on crate feature advanced only.

    Sets the style class of the Radio button.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Radio<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Radio<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a + Clone, Theme: 'a + Catalog, Renderer: 'a + Renderer,

    source§

    fn from( radio: Radio<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Radio<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Radio<'a, Message, Theme, Renderer>
    where Message: Clone, Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( @@ -148,13 +148,13 @@

    §Example

    layout: Layout<'_>, cursor: Cursor, viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/rule/struct.Rule.html b/iced/widget/rule/struct.Rule.html index 51a266df6c..8fdbe17888 100644 --- a/iced/widget/rule/struct.Rule.html +++ b/iced/widget/rule/struct.Rule.html @@ -20,10 +20,10 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Rule<'a, Theme>
    Available on crate feature advanced only.

    Sets the style class of the Rule.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Rule<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Rule<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a + Catalog, - Renderer: 'a + Renderer,

    source§

    fn from(rule: Rule<'a, Theme>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Rule<'a, Theme>
    where + Renderer: 'a + Renderer,

    source§

    fn from(rule: Rule<'a, Theme>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Rule<'a, Theme>
    where Renderer: Renderer, Theme: Catalog,

    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, @@ -39,13 +39,13 @@

    §Example

    layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -55,14 +55,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/scrollable/struct.AbsoluteOffset.html b/iced/widget/scrollable/struct.AbsoluteOffset.html index 1dbc44d01a..3b712568c3 100644 --- a/iced/widget/scrollable/struct.AbsoluteOffset.html +++ b/iced/widget/scrollable/struct.AbsoluteOffset.html @@ -1,11 +1,11 @@ -AbsoluteOffset in iced::widget::scrollable - Rust
    iced::widget::scrollable

    Struct AbsoluteOffset

    pub struct AbsoluteOffset {
    +AbsoluteOffset in iced::widget::scrollable - Rust
    iced::widget::scrollable

    Struct AbsoluteOffset

    source
    pub struct AbsoluteOffset {
         pub x: f32,
         pub y: f32,
     }
    Expand description

    The amount of absolute offset in each direction of a Scrollable.

    Fields§

    §x: f32

    The amount of horizontal offset

    §y: f32

    The amount of vertical offset

    -

    Trait Implementations§

    §

    impl Clone for AbsoluteOffset

    §

    fn clone(&self) -> AbsoluteOffset

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for AbsoluteOffset

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for AbsoluteOffset

    §

    fn default() -> AbsoluteOffset

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for AbsoluteOffset

    §

    fn eq(&self, other: &AbsoluteOffset) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for AbsoluteOffset

    §

    impl StructuralPartialEq for AbsoluteOffset

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for AbsoluteOffset

    source§

    fn clone(&self) -> AbsoluteOffset

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AbsoluteOffset

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for AbsoluteOffset

    source§

    fn default() -> AbsoluteOffset

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for AbsoluteOffset

    source§

    fn eq(&self, other: &AbsoluteOffset) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for AbsoluteOffset

    source§

    impl StructuralPartialEq for AbsoluteOffset

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/scrollable/struct.RelativeOffset.html b/iced/widget/scrollable/struct.RelativeOffset.html index 068ccc7dd9..98e5143658 100644 --- a/iced/widget/scrollable/struct.RelativeOffset.html +++ b/iced/widget/scrollable/struct.RelativeOffset.html @@ -1,14 +1,14 @@ -RelativeOffset in iced::widget::scrollable - Rust
    iced::widget::scrollable

    Struct RelativeOffset

    pub struct RelativeOffset {
    +RelativeOffset in iced::widget::scrollable - Rust
    iced::widget::scrollable

    Struct RelativeOffset

    source
    pub struct RelativeOffset {
         pub x: f32,
         pub y: f32,
     }
    Expand description

    The amount of relative offset in each direction of a Scrollable.

    A value of 0.0 means start, while 1.0 means end.

    Fields§

    §x: f32

    The amount of horizontal offset

    §y: f32

    The amount of vertical offset

    -

    Implementations§

    §

    impl RelativeOffset

    pub const START: RelativeOffset = _

    Available on crate feature advanced only.

    A relative offset that points to the top-left of a Scrollable.

    -

    pub const END: RelativeOffset = _

    Available on crate feature advanced only.

    A relative offset that points to the bottom-right of a Scrollable.

    -

    Trait Implementations§

    §

    impl Clone for RelativeOffset

    §

    fn clone(&self) -> RelativeOffset

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RelativeOffset

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for RelativeOffset

    §

    fn default() -> RelativeOffset

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for RelativeOffset

    §

    fn eq(&self, other: &RelativeOffset) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for RelativeOffset

    §

    impl StructuralPartialEq for RelativeOffset

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl RelativeOffset

    source

    pub const START: RelativeOffset = _

    Available on crate feature advanced only.

    A relative offset that points to the top-left of a Scrollable.

    +
    source

    pub const END: RelativeOffset = _

    Available on crate feature advanced only.

    A relative offset that points to the bottom-right of a Scrollable.

    +

    Trait Implementations§

    source§

    impl Clone for RelativeOffset

    source§

    fn clone(&self) -> RelativeOffset

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RelativeOffset

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for RelativeOffset

    source§

    fn default() -> RelativeOffset

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for RelativeOffset

    source§

    fn eq(&self, other: &RelativeOffset) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for RelativeOffset

    source§

    impl StructuralPartialEq for RelativeOffset

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/scrollable/struct.Scrollable.html b/iced/widget/scrollable/struct.Scrollable.html index cbcd0f948e..b213403459 100644 --- a/iced/widget/scrollable/struct.Scrollable.html +++ b/iced/widget/scrollable/struct.Scrollable.html @@ -19,10 +19,10 @@

    §Example

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Scrollable<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Scrollable<'a, Message, Theme, Renderer>

    Creates a new vertical Scrollable.

    source

    pub fn with_direction( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, direction: impl Into<Direction>, ) -> Scrollable<'a, Message, Theme, Renderer>

    Creates a new vertical Scrollable.

    source

    pub fn direction( @@ -71,12 +71,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Scrollable<'a, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the Scrollable.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Scrollable<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Scrollable<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a + Catalog, Renderer: 'a + Renderer,

    source§

    fn from( text_input: Scrollable<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Scrollable<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Scrollable<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -116,7 +116,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Scrollable<'a, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Scrollable<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Scrollable<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Scrollable<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, diff --git a/iced/widget/shader/struct.Shader.html b/iced/widget/shader/struct.Shader.html index addcb60357..9bc50f48a8 100644 --- a/iced/widget/shader/struct.Shader.html +++ b/iced/widget/shader/struct.Shader.html @@ -6,10 +6,10 @@ P: Program<Message>,

    source

    pub fn new(program: P) -> Shader<Message, P>

    Create a new custom Shader.

    source

    pub fn width(self, width: impl Into<Length>) -> Shader<Message, P>

    Set the width of the custom Shader.

    source

    pub fn height(self, height: impl Into<Length>) -> Shader<Message, P>

    Set the height of the custom Shader.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, P> From<Shader<Message, P>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, P> From<Shader<Message, P>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Renderer: Renderer, - P: Program<Message> + 'a,

    source§

    fn from(custom: Shader<Message, P>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Shader<Message, P>
    where + P: Program<Message> + 'a,

    source§

    fn from(custom: Shader<Message, P>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Shader<Message, P>
    where P: Program<Message>, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, @@ -42,13 +42,13 @@ layout: Layout<'_>, cursor_position: Cursor, _viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/slider/struct.Slider.html b/iced/widget/slider/struct.Slider.html index f8b89c4797..2f804fad95 100644 --- a/iced/widget/slider/struct.Slider.html +++ b/iced/widget/slider/struct.Slider.html @@ -69,13 +69,13 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Slider<'a, T, Message, Theme>
    Available on crate feature advanced only.

    Sets the style class of the Slider.

    -

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<Slider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<Slider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where T: Copy + Into<f64> + FromPrimitive + 'a, Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( slider: Slider<'a, T, Message, Theme>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Slider<'a, T, Message, Theme>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Slider<'a, T, Message, Theme>
    where T: Copy + Into<f64> + FromPrimitive, Message: Clone, Theme: Catalog, @@ -110,13 +110,13 @@

    §Example

    cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Button.html b/iced/widget/struct.Button.html index 3491fb61da..6886c2cf15 100644 --- a/iced/widget/struct.Button.html +++ b/iced/widget/struct.Button.html @@ -28,7 +28,7 @@

    §Example

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Button<'a, Message, Theme, Renderer>
    where Renderer: Renderer, Theme: Catalog,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Button<'a, Message, Theme, Renderer>

    Creates a new Button with the given content.

    source

    pub fn width( self, @@ -68,12 +68,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Button<'a, Message, Theme, Renderer>
    Available on crate feature advanced only.

    Sets the style class of the Button.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Button<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Button<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( button: Button<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Button<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Button<'a, Message, Theme, Renderer>
    where Message: 'a + Clone, Renderer: 'a + Renderer, Theme: Catalog,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( @@ -114,7 +114,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Button<'a, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Button<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, Message: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Button<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, diff --git a/iced/widget/struct.Canvas.html b/iced/widget/struct.Canvas.html index c9d9cbb1d8..062e424870 100644 --- a/iced/widget/struct.Canvas.html +++ b/iced/widget/struct.Canvas.html @@ -58,13 +58,13 @@

    Debug + Program<Message, Theme, Renderer>, Message: Debug, Theme: Debug, - Renderer: Debug + Renderer,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, P, Message, Theme, Renderer> From<Canvas<P, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where + Renderer: Debug + Renderer,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, P, Message, Theme, Renderer> From<Canvas<P, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a, Renderer: 'a + Renderer, P: 'a + Program<Message, Theme, Renderer>,

    source§

    fn from( canvas: Canvas<P, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Canvas<P, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Canvas<P, Message, Theme, Renderer>
    where Renderer: Renderer, P: Program<Message, Theme, Renderer>,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, @@ -97,13 +97,13 @@

    Layout<'_>, cursor: Cursor, _viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Checkbox.html b/iced/widget/struct.Checkbox.html index e6fea17716..03e07e355d 100644 --- a/iced/widget/struct.Checkbox.html +++ b/iced/widget/struct.Checkbox.html @@ -94,12 +94,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Checkbox<'a, Message, Theme, Renderer>
    Available on crate feature advanced only.

    Sets the style class of the Checkbox.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Checkbox<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Checkbox<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a + Catalog, Renderer: 'a + Renderer,

    source§

    fn from( checkbox: Checkbox<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Checkbox<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Checkbox<'a, Message, Theme, Renderer>
    where Renderer: Renderer, Theme: Catalog,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( &mut self, @@ -127,13 +127,13 @@

    §Example

    layout: Layout<'_>, cursor: Cursor, viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Column.html b/iced/widget/struct.Column.html index 40fbf6d29e..5269bf953f 100644 --- a/iced/widget/struct.Column.html +++ b/iced/widget/struct.Column.html @@ -18,10 +18,10 @@

    §Example

    Renderer: Renderer,
    source

    pub fn new() -> Column<'a, Message, Theme, Renderer>

    Creates an empty Column.

    source

    pub fn with_capacity(capacity: usize) -> Column<'a, Message, Theme, Renderer>

    Creates a Column with the given capacity.

    source

    pub fn with_children( - children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, + children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, ) -> Column<'a, Message, Theme, Renderer>

    Creates a Column with the given elements.

    source

    pub fn from_vec( - children: Vec<Element<'a, Message, Theme, Renderer>>, + children: Vec<Element<'a, Message, Theme, Renderer>>, ) -> Column<'a, Message, Theme, Renderer>

    Creates a Column from an already allocated Vec.

    Keep in mind that the Column will not inspect the Vec, which means it won’t automatically adapt to the sizing strategy of its contents.

    @@ -56,25 +56,25 @@

    §Example

    overflow.

    source

    pub fn push( self, - child: impl Into<Element<'a, Message, Theme, Renderer>>, + child: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Column<'a, Message, Theme, Renderer>

    Adds an element to the Column.

    source

    pub fn push_maybe( self, - child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, + child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, ) -> Column<'a, Message, Theme, Renderer>

    Adds an element to the Column, if Some.

    source

    pub fn extend( self, - children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, + children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, ) -> Column<'a, Message, Theme, Renderer>

    Extends the Column with the given children.

    Trait Implementations§

    source§

    impl<'a, Message, Renderer> Default for Column<'a, Message, Renderer>
    where - Renderer: Renderer,

    source§

    fn default() -> Column<'a, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Message, Theme, Renderer> From<Column<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where + Renderer: Renderer,

    source§

    fn default() -> Column<'a, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Message, Theme, Renderer> From<Column<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a, Renderer: Renderer + 'a,

    source§

    fn from( column: Column<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> FromIterator<Element<'a, Message, Theme, Renderer>> for Column<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> FromIterator<Element<'a, Message, Theme, Renderer>> for Column<'a, Message, Theme, Renderer>
    where Renderer: Renderer,

    source§

    fn from_iter<T>(iter: T) -> Column<'a, Message, Theme, Renderer>
    where - T: IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,

    Creates a value from an iterator. Read more
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Column<'a, Message, Theme, Renderer>
    where + T: IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,

    Creates a value from an iterator. Read more
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Column<'a, Message, Theme, Renderer>
    where Renderer: Renderer,

    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, tree: &mut Tree, @@ -113,7 +113,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Column<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Column<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Column<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/struct.ComboBox.html b/iced/widget/struct.ComboBox.html index 9ab021fd7c..d9531c3405 100644 --- a/iced/widget/struct.ComboBox.html +++ b/iced/widget/struct.ComboBox.html @@ -120,13 +120,13 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> ComboBox<'a, T, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the menu of the ComboBox.

    -

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<ComboBox<'a, T, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<ComboBox<'a, T, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where T: Display + Clone + 'static, Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( combo_box: ComboBox<'a, T, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ComboBox<'a, T, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ComboBox<'a, T, Message, Theme, Renderer>
    where T: Display + Clone + 'static, Message: Clone, Theme: Catalog, @@ -162,7 +162,7 @@

    §Example

    layout: Layout<'_>, _renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Container.html b/iced/widget/struct.Container.html index aabacf3f31..80e4b340e7 100644 --- a/iced/widget/struct.Container.html +++ b/iced/widget/struct.Container.html @@ -18,7 +18,7 @@

    §Example

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Container<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Container<'a, Message, Theme, Renderer>

    Creates a Container with the given content.

    source

    pub fn id(self, id: Id) -> Container<'a, Message, Theme, Renderer>

    Sets the Id of the Container.

    source

    pub fn padding<P>(self, padding: P) -> Container<'a, Message, Theme, Renderer>
    where @@ -88,12 +88,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Container<'a, Message, Theme, Renderer>

    Sets the style class of the Container.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Container<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Container<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( column: Container<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Container<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Container<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -133,7 +133,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Container<'a, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Container<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Container<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Container<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, diff --git a/iced/widget/struct.Image.html b/iced/widget/struct.Image.html index 4efa1725db..8f13f28cc4 100644 --- a/iced/widget/struct.Image.html +++ b/iced/widget/struct.Image.html @@ -20,9 +20,9 @@

    §Example

    It should be in the [0.0, 1.0] range—0.0 meaning completely transparent, and 1.0 meaning completely opaque.

    Trait Implementations§

    source§

    impl<Handle> Debug for Image<Handle>
    where - Handle: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Message, Theme, Renderer, Handle> From<Image<Handle>> for Element<'a, Message, Theme, Renderer>
    where + Handle: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Message, Theme, Renderer, Handle> From<Image<Handle>> for Element<'a, Message, Theme, Renderer>
    where Renderer: Renderer<Handle = Handle>, - Handle: Clone + 'a,

    source§

    fn from(image: Image<Handle>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Image<Handle>
    where + Handle: Clone + 'a,

    source§

    fn from(image: Image<Handle>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Image<Handle>
    where Renderer: Renderer<Handle = Handle>, Handle: Clone,

    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, _tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn draw( &self, @@ -33,13 +33,13 @@

    §Example

    layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -49,14 +49,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Lazy.html b/iced/widget/struct.Lazy.html index abe4410e1a..3c78084add 100644 --- a/iced/widget/struct.Lazy.html +++ b/iced/widget/struct.Lazy.html @@ -1,20 +1,20 @@ Lazy in iced::widget - Rust
    iced::widget

    Struct Lazy

    source
    pub struct Lazy<'a, Message, Theme, Renderer, Dependency, View> { /* private fields */ }
    Available on crate feature lazy only.
    Expand description

    A widget that only rebuilds its contents when necessary.

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer, Dependency, View> Lazy<'a, Message, Theme, Renderer, Dependency, View>
    where Dependency: Hash + 'a, - View: Into<Element<'static, Message, Theme, Renderer>>,

    source

    pub fn new( + View: Into<Element<'static, Message, Theme, Renderer>>,

    source

    pub fn new( dependency: Dependency, view: impl Fn(&Dependency) -> View + 'a, ) -> Lazy<'a, Message, Theme, Renderer, Dependency, View>

    Creates a new Lazy widget with the given data Dependency and a closure that can turn this data into a widget tree.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, Dependency, View> From<Lazy<'a, Message, Theme, Renderer, Dependency, View>> for Element<'a, Message, Theme, Renderer>
    where - View: Into<Element<'static, Message, Theme, Renderer>> + 'static, +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, Dependency, View> From<Lazy<'a, Message, Theme, Renderer, Dependency, View>> for Element<'a, Message, Theme, Renderer>
    where + View: Into<Element<'static, Message, Theme, Renderer>> + 'static, Renderer: Renderer + 'static, Message: 'static, Theme: 'static, Dependency: Hash + 'a,

    source§

    fn from( lazy: Lazy<'a, Message, Theme, Renderer, Dependency, View>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer, Dependency, View> Widget<Message, Theme, Renderer> for Lazy<'a, Message, Theme, Renderer, Dependency, View>
    where - View: Into<Element<'static, Message, Theme, Renderer>> + 'static, +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer, Dependency, View> Widget<Message, Theme, Renderer> for Lazy<'a, Message, Theme, Renderer, Dependency, View>
    where + View: Into<Element<'static, Message, Theme, Renderer>> + 'static, Dependency: Hash + 'a, Message: 'static, Theme: 'static, diff --git a/iced/widget/struct.MouseArea.html b/iced/widget/struct.MouseArea.html index 7d1227c7ce..d86e40bb72 100644 --- a/iced/widget/struct.MouseArea.html +++ b/iced/widget/struct.MouseArea.html @@ -52,14 +52,14 @@ interaction: Interaction, ) -> MouseArea<'a, Message, Theme, Renderer>

    The mouse::Interaction to use when hovering the area.

    source§

    impl<'a, Message, Theme, Renderer> MouseArea<'a, Message, Theme, Renderer>

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> MouseArea<'a, Message, Theme, Renderer>

    Creates a MouseArea with the given content.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<MouseArea<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<MouseArea<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a + Clone, Theme: 'a, Renderer: 'a + Renderer,

    source§

    fn from( area: MouseArea<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for MouseArea<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for MouseArea<'a, Message, Theme, Renderer>
    where Renderer: Renderer, Message: Clone,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -99,7 +99,7 @@ layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for MouseArea<'a, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for MouseArea<'a, Message, Theme, Renderer>
    where Message: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for MouseArea<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for MouseArea<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for MouseArea<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for MouseArea<'a, Message, Theme, Renderer>
    where Message: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for MouseArea<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, diff --git a/iced/widget/struct.PaneGrid.html b/iced/widget/struct.PaneGrid.html index cc2d90aa06..16192268b3 100644 --- a/iced/widget/struct.PaneGrid.html +++ b/iced/widget/struct.PaneGrid.html @@ -91,12 +91,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> PaneGrid<'a, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the PaneGrid.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<PaneGrid<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<PaneGrid<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( pane_grid: PaneGrid<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PaneGrid<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PaneGrid<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -136,7 +136,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for PaneGrid<'a, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for PaneGrid<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for PaneGrid<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, diff --git a/iced/widget/struct.PickList.html b/iced/widget/struct.PickList.html index edc357bd35..d3a2760732 100644 --- a/iced/widget/struct.PickList.html +++ b/iced/widget/struct.PickList.html @@ -130,7 +130,7 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> PickList<'a, T, L, V, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the Menu.

    -

    Trait Implementations§

    source§

    impl<'a, T, L, V, Message, Theme, Renderer> From<PickList<'a, T, L, V, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, T, L, V, Message, Theme, Renderer> From<PickList<'a, T, L, V, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where T: Clone + ToString + PartialEq + 'a, L: Borrow<[T]> + 'a, V: Borrow<T> + 'a, @@ -138,7 +138,7 @@

    §Example

    Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( pick_list: PickList<'a, T, L, V, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, L, V, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PickList<'a, T, L, V, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, L, V, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PickList<'a, T, L, V, Message, Theme, Renderer>
    where T: Clone + ToString + PartialEq + 'a, L: Borrow<[T]>, V: Borrow<T>, @@ -176,7 +176,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.ProgressBar.html b/iced/widget/struct.ProgressBar.html index e39924b052..58eb7421fd 100644 --- a/iced/widget/struct.ProgressBar.html +++ b/iced/widget/struct.ProgressBar.html @@ -33,12 +33,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> ProgressBar<'a, Theme>
    Available on crate feature advanced only.

    Sets the style class of the ProgressBar.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<ProgressBar<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<ProgressBar<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a + Catalog, Renderer: 'a + Renderer,

    source§

    fn from( progress_bar: ProgressBar<'a, Theme>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ProgressBar<'a, Theme>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ProgressBar<'a, Theme>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, @@ -54,13 +54,13 @@

    §Example

    layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -70,14 +70,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.QRCode.html b/iced/widget/struct.QRCode.html index cc63c1c5fb..28f281251f 100644 --- a/iced/widget/struct.QRCode.html +++ b/iced/widget/struct.QRCode.html @@ -26,10 +26,10 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> QRCode<'a, Theme>
    Available on crate features qr_code and advanced only.

    Sets the style class of the QRCode.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme> From<QRCode<'a, Theme>> for Element<'a, Message, Theme, Renderer<Renderer, Renderer>>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme> From<QRCode<'a, Theme>> for Element<'a, Message, Theme, Renderer<Renderer, Renderer>>
    where Theme: Catalog + 'a,

    source§

    fn from( qr_code: QRCode<'a, Theme>, -) -> Element<'a, Message, Theme, Renderer<Renderer, Renderer>>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme> Widget<Message, Theme, Renderer<Renderer, Renderer>> for QRCode<'a, Theme>
    where +) -> Element<'a, Message, Theme, Renderer<Renderer, Renderer>>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme> Widget<Message, Theme, Renderer<Renderer, Renderer>> for QRCode<'a, Theme>
    where Theme: Catalog,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, _tree: &mut Tree, @@ -44,13 +44,13 @@

    §Example

    layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -60,14 +60,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Radio.html b/iced/widget/struct.Radio.html index 742293c061..206ec784e3 100644 --- a/iced/widget/struct.Radio.html +++ b/iced/widget/struct.Radio.html @@ -114,12 +114,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Radio<'a, Message, Theme, Renderer>
    Available on crate feature advanced only.

    Sets the style class of the Radio button.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Radio<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Radio<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a + Clone, Theme: 'a + Catalog, Renderer: 'a + Renderer,

    source§

    fn from( radio: Radio<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Radio<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Radio<'a, Message, Theme, Renderer>
    where Message: Clone, Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( @@ -148,13 +148,13 @@

    §Example

    layout: Layout<'_>, cursor: Cursor, viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Responsive.html b/iced/widget/struct.Responsive.html index 0dc2ead2f4..fe3281df40 100644 --- a/iced/widget/struct.Responsive.html +++ b/iced/widget/struct.Responsive.html @@ -3,18 +3,18 @@ its parent.

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Responsive<'a, Message, Theme, Renderer>
    where Renderer: Renderer,

    source

    pub fn new( - view: impl Fn(Size) -> Element<'a, Message, Theme, Renderer> + 'a, + view: impl Fn(Size) -> Element<'a, Message, Theme, Renderer> + 'a, ) -> Responsive<'a, Message, Theme, Renderer>

    Creates a new Responsive widget with a closure that produces its contents.

    The view closure will be provided with the current Size of the Responsive widget and, therefore, can be used to build the contents of the widget in a responsive way.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Responsive<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Responsive<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a, Renderer: Renderer + 'a,

    source§

    fn from( responsive: Responsive<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Responsive<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Responsive<'a, Message, Theme, Renderer>
    where Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, _tree: &mut Tree, @@ -58,7 +58,7 @@ layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Freeze for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Responsive<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Freeze for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Responsive<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/struct.Row.html b/iced/widget/struct.Row.html index 2d693c0aee..ac1a4bd3f1 100644 --- a/iced/widget/struct.Row.html +++ b/iced/widget/struct.Row.html @@ -18,10 +18,10 @@

    §Example

    Renderer: Renderer,

    source

    pub fn new() -> Row<'a, Message, Theme, Renderer>

    Creates an empty Row.

    source

    pub fn with_capacity(capacity: usize) -> Row<'a, Message, Theme, Renderer>

    Creates a Row with the given capacity.

    source

    pub fn with_children( - children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, + children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, ) -> Row<'a, Message, Theme, Renderer>

    Creates a Row with the given elements.

    source

    pub fn from_vec( - children: Vec<Element<'a, Message, Theme, Renderer>>, + children: Vec<Element<'a, Message, Theme, Renderer>>, ) -> Row<'a, Message, Theme, Renderer>

    Creates a Row from an already allocated Vec.

    Keep in mind that the Row will not inspect the Vec, which means it won’t automatically adapt to the sizing strategy of its contents.

    @@ -52,27 +52,27 @@

    §Example

    overflow.

    source

    pub fn push( self, - child: impl Into<Element<'a, Message, Theme, Renderer>>, -) -> Row<'a, Message, Theme, Renderer>

    Adds an [Element] to the Row.

    + child: impl Into<Element<'a, Message, Theme, Renderer>>, +) -> Row<'a, Message, Theme, Renderer>

    Adds an Element to the Row.

    source

    pub fn push_maybe( self, - child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, + child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, ) -> Row<'a, Message, Theme, Renderer>

    Adds an element to the Row, if Some.

    source

    pub fn extend( self, - children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, + children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, ) -> Row<'a, Message, Theme, Renderer>

    Extends the Row with the given children.

    source

    pub fn wrap(self) -> Wrapping<'a, Message, Theme, Renderer>

    Turns the Row into a [Wrapping] row.

    The original alignment of the Row is preserved per row wrapped.

    Trait Implementations§

    source§

    impl<'a, Message, Renderer> Default for Row<'a, Message, Renderer>
    where - Renderer: Renderer,

    source§

    fn default() -> Row<'a, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Message, Theme, Renderer> From<Row<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where + Renderer: Renderer,

    source§

    fn default() -> Row<'a, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Message, Theme, Renderer> From<Row<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a, Renderer: Renderer + 'a,

    source§

    fn from( row: Row<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> FromIterator<Element<'a, Message, Theme, Renderer>> for Row<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> FromIterator<Element<'a, Message, Theme, Renderer>> for Row<'a, Message, Theme, Renderer>
    where Renderer: Renderer,

    source§

    fn from_iter<T>(iter: T) -> Row<'a, Message, Theme, Renderer>
    where - T: IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,

    Creates a value from an iterator. Read more
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Row<'a, Message, Theme, Renderer>
    where + T: IntoIterator<Item = Element<'a, Message, Theme, Renderer>>,

    Creates a value from an iterator. Read more
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Row<'a, Message, Theme, Renderer>
    where Renderer: Renderer,

    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, tree: &mut Tree, @@ -111,7 +111,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Row<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Row<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Row<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/struct.Rule.html b/iced/widget/struct.Rule.html index a2482aae88..bdaa77b2e4 100644 --- a/iced/widget/struct.Rule.html +++ b/iced/widget/struct.Rule.html @@ -20,10 +20,10 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Rule<'a, Theme>

    Available on crate feature advanced only.

    Sets the style class of the Rule.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Rule<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Rule<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a + Catalog, - Renderer: 'a + Renderer,

    source§

    fn from(rule: Rule<'a, Theme>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Rule<'a, Theme>
    where + Renderer: 'a + Renderer,

    source§

    fn from(rule: Rule<'a, Theme>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Rule<'a, Theme>
    where Renderer: Renderer, Theme: Catalog,

    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, @@ -39,13 +39,13 @@

    §Example

    layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -55,14 +55,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Scrollable.html b/iced/widget/struct.Scrollable.html index e169838556..8bfb855e7d 100644 --- a/iced/widget/struct.Scrollable.html +++ b/iced/widget/struct.Scrollable.html @@ -19,10 +19,10 @@

    §Example

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Scrollable<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Scrollable<'a, Message, Theme, Renderer>

    Creates a new vertical Scrollable.

    source

    pub fn with_direction( - content: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, direction: impl Into<Direction>, ) -> Scrollable<'a, Message, Theme, Renderer>

    Creates a new vertical Scrollable.

    source

    pub fn direction( @@ -71,12 +71,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Scrollable<'a, Message, Theme, Renderer>
    Available on crate feature advanced only.

    Sets the style class of the Scrollable.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Scrollable<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Scrollable<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a + Catalog, Renderer: 'a + Renderer,

    source§

    fn from( text_input: Scrollable<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Scrollable<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Scrollable<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -116,7 +116,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Scrollable<'a, Message, Theme, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Scrollable<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Scrollable<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Scrollable<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, diff --git a/iced/widget/struct.Shader.html b/iced/widget/struct.Shader.html index 7c80bf8937..e01a13eb51 100644 --- a/iced/widget/struct.Shader.html +++ b/iced/widget/struct.Shader.html @@ -6,10 +6,10 @@ P: Program<Message>,

    source

    pub fn new(program: P) -> Shader<Message, P>

    Available on crate feature wgpu only.

    Create a new custom Shader.

    source

    pub fn width(self, width: impl Into<Length>) -> Shader<Message, P>

    Available on crate feature wgpu only.

    Set the width of the custom Shader.

    source

    pub fn height(self, height: impl Into<Length>) -> Shader<Message, P>

    Available on crate feature wgpu only.

    Set the height of the custom Shader.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, P> From<Shader<Message, P>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, P> From<Shader<Message, P>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Renderer: Renderer, - P: Program<Message> + 'a,

    source§

    fn from(custom: Shader<Message, P>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Shader<Message, P>
    where + P: Program<Message> + 'a,

    source§

    fn from(custom: Shader<Message, P>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Shader<Message, P>
    where P: Program<Message>, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, @@ -42,13 +42,13 @@ layout: Layout<'_>, cursor_position: Cursor, _viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Slider.html b/iced/widget/struct.Slider.html index f36c900a37..08c4cc6c44 100644 --- a/iced/widget/struct.Slider.html +++ b/iced/widget/struct.Slider.html @@ -69,13 +69,13 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Slider<'a, T, Message, Theme>
    Available on crate feature advanced only.

    Sets the style class of the Slider.

    -

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<Slider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<Slider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where T: Copy + Into<f64> + FromPrimitive + 'a, Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( slider: Slider<'a, T, Message, Theme>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Slider<'a, T, Message, Theme>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Slider<'a, T, Message, Theme>
    where T: Copy + Into<f64> + FromPrimitive, Message: Clone, Theme: Catalog, @@ -110,13 +110,13 @@

    §Example

    cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Space.html b/iced/widget/struct.Space.html index 3a3e364365..5b713521b8 100644 --- a/iced/widget/struct.Space.html +++ b/iced/widget/struct.Space.html @@ -5,9 +5,9 @@

    source

    pub fn with_height(height: impl Into<Length>) -> Space

    Creates an amount of vertical Space.

    source

    pub fn width(self, width: impl Into<Length>) -> Space

    Sets the width of the Space.

    source

    pub fn height(self, height: impl Into<Length>) -> Space

    Sets the height of the Space.

    -

    Trait Implementations§

    source§

    impl Debug for Space

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Message, Theme, Renderer> From<Space> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl Debug for Space

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Message, Theme, Renderer> From<Space> for Element<'a, Message, Theme, Renderer>
    where Renderer: Renderer, - Message: 'a,

    source§

    fn from(space: Space) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Space
    where + Message: 'a,

    source§

    fn from(space: Space) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Space
    where Renderer: Renderer,

    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout( &self, _tree: &mut Tree, @@ -22,13 +22,13 @@ _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -38,14 +38,14 @@ _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status

    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Stack.html b/iced/widget/struct.Stack.html index 464c577f46..a8a0c2bd09 100644 --- a/iced/widget/struct.Stack.html +++ b/iced/widget/struct.Stack.html @@ -1,6 +1,6 @@ Stack in iced::widget - Rust
    iced::widget

    Struct Stack

    source
    pub struct Stack<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> { /* private fields */ }
    Expand description

    A container that displays children on top of each other.

    -

    The first [Element] dictates the intrinsic Size of a Stack and -will be displayed as the base layer. Every consecutive [Element] will be +

    The first Element dictates the intrinsic Size of a Stack and +will be displayed as the base layer. Every consecutive Element will be renderer on top; on its own layer.

    Keep in mind that too much layering will normally produce bad UX as well as introduce certain rendering overhead. Use this widget sparingly!

    @@ -8,10 +8,10 @@ Renderer: Renderer,

    source

    pub fn new() -> Stack<'a, Message, Theme, Renderer>

    Creates an empty Stack.

    source

    pub fn with_capacity(capacity: usize) -> Stack<'a, Message, Theme, Renderer>

    Creates a Stack with the given capacity.

    source

    pub fn with_children( - children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, + children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, ) -> Stack<'a, Message, Theme, Renderer>

    Creates a Stack with the given elements.

    source

    pub fn from_vec( - children: Vec<Element<'a, Message, Theme, Renderer>>, + children: Vec<Element<'a, Message, Theme, Renderer>>, ) -> Stack<'a, Message, Theme, Renderer>

    Creates a Stack from an already allocated Vec.

    Keep in mind that the Stack will not inspect the Vec, which means it won’t automatically adapt to the sizing strategy of its contents.

    @@ -27,23 +27,23 @@ ) -> Stack<'a, Message, Theme, Renderer>

    Sets the height of the Stack.

    source

    pub fn push( self, - child: impl Into<Element<'a, Message, Theme, Renderer>>, + child: impl Into<Element<'a, Message, Theme, Renderer>>, ) -> Stack<'a, Message, Theme, Renderer>

    Adds an element to the Stack.

    source

    pub fn push_maybe( self, - child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, + child: Option<impl Into<Element<'a, Message, Theme, Renderer>>>, ) -> Stack<'a, Message, Theme, Renderer>

    Adds an element to the Stack, if Some.

    source

    pub fn extend( self, - children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, + children: impl IntoIterator<Item = Element<'a, Message, Theme, Renderer>>, ) -> Stack<'a, Message, Theme, Renderer>

    Extends the Stack with the given children.

    Trait Implementations§

    source§

    impl<'a, Message, Renderer> Default for Stack<'a, Message, Renderer>
    where - Renderer: Renderer,

    source§

    fn default() -> Stack<'a, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Message, Theme, Renderer> From<Stack<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where + Renderer: Renderer,

    source§

    fn default() -> Stack<'a, Message, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Message, Theme, Renderer> From<Stack<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a, Renderer: Renderer + 'a,

    source§

    fn from( stack: Stack<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Stack<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Stack<'a, Message, Theme, Renderer>
    where Renderer: Renderer,

    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, tree: &mut Tree, @@ -82,7 +82,7 @@ layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Stack<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Stack<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Stack<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/struct.Svg.html b/iced/widget/struct.Svg.html index 9b0ea98fc2..eee17d9e1b 100644 --- a/iced/widget/struct.Svg.html +++ b/iced/widget/struct.Svg.html @@ -34,9 +34,9 @@

    §Example

    source

    pub fn opacity(self, opacity: impl Into<f32>) -> Svg<'a, Theme>

    Available on crate feature svg only.

    Sets the opacity of the Svg.

    It should be in the [0.0, 1.0] range—0.0 meaning completely transparent, and 1.0 meaning completely opaque.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Svg<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Svg<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where Theme: Catalog + 'a, - Renderer: Renderer + 'a,

    source§

    fn from(icon: Svg<'a, Theme>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Svg<'a, Theme>
    where + Renderer: Renderer + 'a,

    source§

    fn from(icon: Svg<'a, Theme>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Svg<'a, Theme>
    where Renderer: Renderer, Theme: Catalog,

    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, _tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn draw( &self, @@ -47,13 +47,13 @@

    §Example

    layout: Layout<'_>, cursor: Cursor, _viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -63,14 +63,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.TextEditor.html b/iced/widget/struct.TextEditor.html index 5a8f677d1c..ea84a533f9 100644 --- a/iced/widget/struct.TextEditor.html +++ b/iced/widget/struct.TextEditor.html @@ -101,13 +101,13 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> TextEditor<'a, Highlighter, Message, Theme, Renderer>
    Available on crate feature advanced only.

    Sets the style class of the TextEditor.

    -

    Trait Implementations§

    source§

    impl<'a, Highlighter, Message, Theme, Renderer> From<TextEditor<'a, Highlighter, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Highlighter, Message, Theme, Renderer> From<TextEditor<'a, Highlighter, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Highlighter: Highlighter, Message: 'a, Theme: Catalog + 'a, Renderer: Renderer,

    source§

    fn from( text_editor: TextEditor<'a, Highlighter, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where Highlighter: Highlighter, Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( @@ -142,7 +142,7 @@

    §Example

    _layout: Layout<'_>, _renderer: &Renderer, operation: &mut dyn Operation, -)
    Applies an Operation to the Widget.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.TextInput.html b/iced/widget/struct.TextInput.html index 612b80fdd9..90beb5332f 100644 --- a/iced/widget/struct.TextInput.html +++ b/iced/widget/struct.TextInput.html @@ -121,12 +121,12 @@

    §Example

    viewport: &Rectangle, )

    Draws the TextInput with the given Renderer, overriding its Value if provided.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<TextInput<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<TextInput<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( text_input: TextInput<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextInput<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextInput<'a, Message, Theme, Renderer>
    where Message: Clone, Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( @@ -161,7 +161,7 @@

    §Example

    cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction
    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Themer.html b/iced/widget/struct.Themer.html index 658488113a..93b96f9d06 100644 --- a/iced/widget/struct.Themer.html +++ b/iced/widget/struct.Themer.html @@ -9,7 +9,7 @@ to_theme: F, content: T, ) -> Themer<'a, Message, Theme, NewTheme, F, Renderer>
    where - T: Into<Element<'a, Message, NewTheme, Renderer>>,

    Creates an empty Themer that applies the given Theme + T: Into<Element<'a, Message, NewTheme, Renderer>>,

    Creates an empty Themer that applies the given Theme to the provided content.

    source

    pub fn text_color( self, @@ -19,14 +19,14 @@ self, f: fn(_: &NewTheme) -> Background, ) -> Themer<'a, Message, Theme, NewTheme, F, Renderer>

    Sets the Background of the Themer.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, NewTheme, F, Renderer> From<Themer<'a, Message, Theme, NewTheme, F, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, NewTheme, F, Renderer> From<Themer<'a, Message, Theme, NewTheme, F, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: 'a, NewTheme: 'a, F: Fn(&Theme) -> NewTheme + 'a, Renderer: 'a + Renderer,

    source§

    fn from( themer: Themer<'a, Message, Theme, NewTheme, F, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, NewTheme, F, Renderer> Widget<Message, Theme, Renderer> for Themer<'a, Message, Theme, NewTheme, F, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, NewTheme, F, Renderer> Widget<Message, Theme, Renderer> for Themer<'a, Message, Theme, NewTheme, F, Renderer>
    where F: Fn(&Theme) -> NewTheme, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( &self, @@ -66,7 +66,7 @@ layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, NewTheme, F, Renderer> Freeze for Themer<'a, Message, Theme, NewTheme, F, Renderer>
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, NewTheme, F, Renderer> Freeze for Themer<'a, Message, Theme, NewTheme, F, Renderer>
    where F: Freeze,

    §

    impl<'a, Message, Theme, NewTheme, F, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Themer<'a, Message, Theme, NewTheme, F, Renderer>

    §

    impl<'a, Message, Theme, NewTheme, F, Renderer = Renderer<Renderer, Renderer>> !Send for Themer<'a, Message, Theme, NewTheme, F, Renderer>

    §

    impl<'a, Message, Theme, NewTheme, F, Renderer = Renderer<Renderer, Renderer>> !Sync for Themer<'a, Message, Theme, NewTheme, F, Renderer>

    §

    impl<'a, Message, Theme, NewTheme, F, Renderer> Unpin for Themer<'a, Message, Theme, NewTheme, F, Renderer>
    where F: Unpin, Theme: Unpin,

    §

    impl<'a, Message, Theme, NewTheme, F, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Themer<'a, Message, Theme, NewTheme, F, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where diff --git a/iced/widget/struct.Toggler.html b/iced/widget/struct.Toggler.html index b32b5d04bb..82f8674a78 100644 --- a/iced/widget/struct.Toggler.html +++ b/iced/widget/struct.Toggler.html @@ -99,12 +99,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Toggler<'a, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the Toggler.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Toggler<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Toggler<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( toggler: Toggler<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Toggler<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Toggler<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( &mut self, @@ -132,13 +132,13 @@

    §Example

    layout: Layout<'_>, cursor: Cursor, viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.Tooltip.html b/iced/widget/struct.Tooltip.html index cb1180cc96..01ac4d55ba 100644 --- a/iced/widget/struct.Tooltip.html +++ b/iced/widget/struct.Tooltip.html @@ -20,8 +20,8 @@

    §Example

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Tooltip<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, - tooltip: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, + tooltip: impl Into<Element<'a, Message, Theme, Renderer>>, position: Position, ) -> Tooltip<'a, Message, Theme, Renderer>

    Creates a new Tooltip.

    source

    pub fn gap( @@ -45,12 +45,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Tooltip<'a, Message, Theme, Renderer>
    Available on crate feature advanced only.

    Sets the style class of the Tooltip.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Tooltip<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Tooltip<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( tooltip: Tooltip<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Tooltip<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Tooltip<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( &mut self, @@ -84,7 +84,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the Widget, if there is any.
    §

    fn operate( +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/struct.VerticalSlider.html b/iced/widget/struct.VerticalSlider.html index ed3d565a9e..7a0c5e7189 100644 --- a/iced/widget/struct.VerticalSlider.html +++ b/iced/widget/struct.VerticalSlider.html @@ -81,13 +81,13 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> VerticalSlider<'a, T, Message, Theme>
    Available on crate feature advanced only.

    Sets the style class of the VerticalSlider.

    -

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<VerticalSlider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<VerticalSlider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where T: Copy + Into<f64> + FromPrimitive + 'a, Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( slider: VerticalSlider<'a, T, Message, Theme>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for VerticalSlider<'a, T, Message, Theme>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for VerticalSlider<'a, T, Message, Theme>
    where T: Copy + Into<f64> + FromPrimitive, Message: Clone, Theme: Catalog, @@ -122,13 +122,13 @@

    §Example

    cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/svg/struct.Handle.html b/iced/widget/svg/struct.Handle.html index ae00a45cb6..b06b20151b 100644 --- a/iced/widget/svg/struct.Handle.html +++ b/iced/widget/svg/struct.Handle.html @@ -1,18 +1,18 @@ -Handle in iced::widget::svg - Rust
    iced::widget::svg

    Struct Handle

    pub struct Handle { /* private fields */ }
    Available on crate feature svg only.
    Expand description

    A handle of Svg data.

    -

    Implementations§

    §

    impl Handle

    pub fn from_path(path: impl Into<PathBuf>) -> Handle

    Available on crate feature advanced only.

    Creates an SVG Handle pointing to the vector image of the given +Handle in iced::widget::svg - Rust

    iced::widget::svg

    Struct Handle

    source
    pub struct Handle { /* private fields */ }
    Available on crate feature svg only.
    Expand description

    A handle of Svg data.

    +

    Implementations§

    source§

    impl Handle

    source

    pub fn from_path(path: impl Into<PathBuf>) -> Handle

    Available on crate feature advanced only.

    Creates an SVG Handle pointing to the vector image of the given path.

    -

    pub fn from_memory(bytes: impl Into<Cow<'static, [u8]>>) -> Handle

    Available on crate feature advanced only.

    Creates an SVG Handle from raw bytes containing either an SVG string +

    source

    pub fn from_memory(bytes: impl Into<Cow<'static, [u8]>>) -> Handle

    Available on crate feature advanced only.

    Creates an SVG Handle from raw bytes containing either an SVG string or gzip compressed data.

    This is useful if you already have your SVG data in-memory, maybe because you downloaded or generated it procedurally.

    -

    pub fn id(&self) -> u64

    Available on crate feature advanced only.

    Returns the unique identifier of the Handle.

    -

    pub fn data(&self) -> &Data

    Available on crate feature advanced only.

    Returns a reference to the SVG Data.

    -

    Trait Implementations§

    §

    impl Clone for Handle

    §

    fn clone(&self) -> Handle

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Handle

    §

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

    Formats the value using the given formatter. Read more
    §

    impl From<&Handle> for Svg

    §

    fn from(handle: &Handle) -> Svg

    Converts to this type from the input type.
    §

    impl<T> From<T> for Handle
    where - T: Into<PathBuf>,

    §

    fn from(path: T) -> Handle

    Converts to this type from the input type.
    §

    impl Hash for Handle

    §

    fn hash<H>(&self, state: &mut H)
    where +

    source

    pub fn id(&self) -> u64

    Available on crate feature advanced only.

    Returns the unique identifier of the Handle.

    +
    source

    pub fn data(&self) -> &Data

    Available on crate feature advanced only.

    Returns a reference to the SVG Data.

    +

    Trait Implementations§

    source§

    impl Clone for Handle

    source§

    fn clone(&self) -> Handle

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Handle

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl From<&Handle> for Svg

    source§

    fn from(handle: &Handle) -> Svg

    Converts to this type from the input type.
    source§

    impl<T> From<T> for Handle
    where + T: Into<PathBuf>,

    source§

    fn from(path: T) -> Handle

    Converts to this type from the input type.
    source§

    impl Hash for Handle

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Handle

    §

    fn eq(&self, other: &Handle) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Eq for Handle

    §

    impl StructuralPartialEq for Handle

    Auto Trait Implementations§

    §

    impl Freeze for Handle

    §

    impl RefUnwindSafe for Handle

    §

    impl Send for Handle

    §

    impl Sync for Handle

    §

    impl Unpin for Handle

    §

    impl UnwindSafe for Handle

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Handle

    source§

    fn eq(&self, other: &Handle) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Eq for Handle

    source§

    impl StructuralPartialEq for Handle

    Auto Trait Implementations§

    §

    impl Freeze for Handle

    §

    impl RefUnwindSafe for Handle

    §

    impl Send for Handle

    §

    impl Sync for Handle

    §

    impl Unpin for Handle

    §

    impl UnwindSafe for Handle

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/svg/struct.Svg.html b/iced/widget/svg/struct.Svg.html index 1aa056f7cc..bcf268fd00 100644 --- a/iced/widget/svg/struct.Svg.html +++ b/iced/widget/svg/struct.Svg.html @@ -34,9 +34,9 @@

    §Example

    source

    pub fn opacity(self, opacity: impl Into<f32>) -> Svg<'a, Theme>

    Sets the opacity of the Svg.

    It should be in the [0.0, 1.0] range—0.0 meaning completely transparent, and 1.0 meaning completely opaque.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Svg<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Svg<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where Theme: Catalog + 'a, - Renderer: Renderer + 'a,

    source§

    fn from(icon: Svg<'a, Theme>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Svg<'a, Theme>
    where + Renderer: Renderer + 'a,

    source§

    fn from(icon: Svg<'a, Theme>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Svg<'a, Theme>
    where Renderer: Renderer, Theme: Catalog,

    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, _tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn draw( &self, @@ -47,13 +47,13 @@

    §Example

    layout: Layout<'_>, cursor: Cursor, _viewport: &Rectangle, -)
    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    §

    fn state(&self) -> State

    Returns the State of the Widget.
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn on_event( +)

    Applies an Operation to the Widget.
    source§

    fn on_event( &mut self, _state: &mut Tree, _event: Event, @@ -63,14 +63,14 @@

    §Example

    _clipboard: &mut dyn Clipboard, _shell: &mut Shell<'_, Message>, _viewport: &Rectangle, -) -> Status
    Processes a runtime Event. Read more
    §

    fn mouse_interaction( +) -> Status

    Processes a runtime Event. Read more
    source§

    fn mouse_interaction( &self, _state: &Tree, _layout: Layout<'_>, _cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/text/enum.LineHeight.html b/iced/widget/text/enum.LineHeight.html index e082a7d76d..9f2726fa3a 100644 --- a/iced/widget/text/enum.LineHeight.html +++ b/iced/widget/text/enum.LineHeight.html @@ -1,15 +1,15 @@ -LineHeight in iced::widget::text - Rust
    iced::widget::text

    Enum LineHeight

    pub enum LineHeight {
    +LineHeight in iced::widget::text - Rust
    iced::widget::text

    Enum LineHeight

    source
    pub enum LineHeight {
         Relative(f32),
         Absolute(Pixels),
     }
    Expand description

    The height of a line of text in a paragraph.

    Variants§

    §

    Relative(f32)

    A factor of the size of the text.

    §

    Absolute(Pixels)

    An absolute height in logical pixels.

    -

    Implementations§

    §

    impl LineHeight

    pub fn to_absolute(self, text_size: Pixels) -> Pixels

    Available on crate feature advanced only.

    Returns the LineHeight in absolute logical pixels.

    -

    Trait Implementations§

    §

    impl Clone for LineHeight

    §

    fn clone(&self) -> LineHeight

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for LineHeight

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for LineHeight

    §

    fn default() -> LineHeight

    Returns the “default value” for a type. Read more
    §

    impl From<Pixels> for LineHeight

    §

    fn from(pixels: Pixels) -> LineHeight

    Converts to this type from the input type.
    §

    impl From<f32> for LineHeight

    §

    fn from(factor: f32) -> LineHeight

    Converts to this type from the input type.
    §

    impl Hash for LineHeight

    §

    fn hash<H>(&self, state: &mut H)
    where +

    Implementations§

    source§

    impl LineHeight

    source

    pub fn to_absolute(self, text_size: Pixels) -> Pixels

    Available on crate feature advanced only.

    Returns the LineHeight in absolute logical pixels.

    +

    Trait Implementations§

    source§

    impl Clone for LineHeight

    source§

    fn clone(&self) -> LineHeight

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LineHeight

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for LineHeight

    source§

    fn default() -> LineHeight

    Returns the “default value” for a type. Read more
    source§

    impl From<Pixels> for LineHeight

    source§

    fn from(pixels: Pixels) -> LineHeight

    Converts to this type from the input type.
    source§

    impl From<f32> for LineHeight

    source§

    fn from(factor: f32) -> LineHeight

    Converts to this type from the input type.
    source§

    impl Hash for LineHeight

    source§

    fn hash<H>(&self, state: &mut H)
    where H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for LineHeight

    §

    fn eq(&self, other: &LineHeight) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for LineHeight

    §

    impl StructuralPartialEq for LineHeight

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for LineHeight

    source§

    fn eq(&self, other: &LineHeight) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for LineHeight

    source§

    impl StructuralPartialEq for LineHeight

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/text/enum.Shaping.html b/iced/widget/text/enum.Shaping.html index f0fd131a62..11c5990e5b 100644 --- a/iced/widget/text/enum.Shaping.html +++ b/iced/widget/text/enum.Shaping.html @@ -1,4 +1,4 @@ -Shaping in iced::widget::text - Rust
    iced::widget::text

    Enum Shaping

    pub enum Shaping {
    +Shaping in iced::widget::text - Rust
    iced::widget::text

    Enum Shaping

    source
    pub enum Shaping {
         Basic,
         Advanced,
     }
    Expand description

    The shaping strategy of some text.

    @@ -13,11 +13,11 @@ script, the font used needs it, and/or multiple fonts in your system may be needed to display all of the glyphs.

    Advanced shaping is expensive! You should only enable it when necessary.

    -

    Trait Implementations§

    §

    impl Clone for Shaping

    §

    fn clone(&self) -> Shaping

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Shaping

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Shaping

    §

    fn default() -> Shaping

    Returns the “default value” for a type. Read more
    §

    impl Hash for Shaping

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Shaping

    source§

    fn clone(&self) -> Shaping

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Shaping

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Shaping

    source§

    fn default() -> Shaping

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Shaping

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Shaping

    §

    fn eq(&self, other: &Shaping) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Shaping

    §

    impl Eq for Shaping

    §

    impl StructuralPartialEq for Shaping

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Shaping

    source§

    fn eq(&self, other: &Shaping) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Shaping

    source§

    impl Eq for Shaping

    source§

    impl StructuralPartialEq for Shaping

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/text/enum.Wrapping.html b/iced/widget/text/enum.Wrapping.html index d69befc077..ff22573d81 100644 --- a/iced/widget/text/enum.Wrapping.html +++ b/iced/widget/text/enum.Wrapping.html @@ -1,4 +1,4 @@ -Wrapping in iced::widget::text - Rust
    iced::widget::text

    Enum Wrapping

    pub enum Wrapping {
    +Wrapping in iced::widget::text - Rust
    iced::widget::text

    Enum Wrapping

    source
    pub enum Wrapping {
         None,
         Word,
         Glyph,
    @@ -9,11 +9,11 @@
     

    This is the default.

    §

    Glyph

    Wraps at the glyph level.

    §

    WordOrGlyph

    Wraps at the word level, or fallback to glyph level if a word can’t fit on a line by itself.

    -

    Trait Implementations§

    §

    impl Clone for Wrapping

    §

    fn clone(&self) -> Wrapping

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Wrapping

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Wrapping

    §

    fn default() -> Wrapping

    Returns the “default value” for a type. Read more
    §

    impl Hash for Wrapping

    §

    fn hash<__H>(&self, state: &mut __H)
    where +

    Trait Implementations§

    source§

    impl Clone for Wrapping

    source§

    fn clone(&self) -> Wrapping

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Wrapping

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Wrapping

    source§

    fn default() -> Wrapping

    Returns the “default value” for a type. Read more
    source§

    impl Hash for Wrapping

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl PartialEq for Wrapping

    §

    fn eq(&self, other: &Wrapping) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Wrapping

    §

    impl Eq for Wrapping

    §

    impl StructuralPartialEq for Wrapping

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl PartialEq for Wrapping

    source§

    fn eq(&self, other: &Wrapping) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Wrapping

    source§

    impl Eq for Wrapping

    source§

    impl StructuralPartialEq for Wrapping

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/text/fn.base.html b/iced/widget/text/fn.base.html index 6c37111a4c..2962e46654 100644 --- a/iced/widget/text/fn.base.html +++ b/iced/widget/text/fn.base.html @@ -1,2 +1,2 @@ -base in iced::widget::text - Rust
    iced::widget::text

    Function base

    pub fn base(theme: &Theme) -> Style
    Expand description

    Text with the default base color.

    +base in iced::widget::text - Rust
    iced::widget::text

    Function base

    source
    pub fn base(theme: &Theme) -> Style
    Expand description

    Text with the default base color.

    \ No newline at end of file diff --git a/iced/widget/text/fn.danger.html b/iced/widget/text/fn.danger.html index 3198b56e42..baca9076c0 100644 --- a/iced/widget/text/fn.danger.html +++ b/iced/widget/text/fn.danger.html @@ -1,2 +1,2 @@ -danger in iced::widget::text - Rust
    iced::widget::text

    Function danger

    pub fn danger(theme: &Theme) -> Style
    Expand description

    Text conveying some negative information, like an error.

    +danger in iced::widget::text - Rust
    iced::widget::text

    Function danger

    source
    pub fn danger(theme: &Theme) -> Style
    Expand description

    Text conveying some negative information, like an error.

    \ No newline at end of file diff --git a/iced/widget/text/fn.default.html b/iced/widget/text/fn.default.html index d8ffb060c3..2c7a41d77f 100644 --- a/iced/widget/text/fn.default.html +++ b/iced/widget/text/fn.default.html @@ -1,2 +1,2 @@ -default in iced::widget::text - Rust
    iced::widget::text

    Function default

    pub fn default(_theme: &Theme) -> Style
    Expand description

    The default text styling; color is inherited.

    +default in iced::widget::text - Rust
    iced::widget::text

    Function default

    source
    pub fn default(_theme: &Theme) -> Style
    Expand description

    The default text styling; color is inherited.

    \ No newline at end of file diff --git a/iced/widget/text/fn.draw.html b/iced/widget/text/fn.draw.html index a059e521bf..0a213c78b2 100644 --- a/iced/widget/text/fn.draw.html +++ b/iced/widget/text/fn.draw.html @@ -1,4 +1,4 @@ -draw in iced::widget::text - Rust
    iced::widget::text

    Function draw

    pub fn draw<Renderer>(
    +draw in iced::widget::text - Rust
    iced::widget::text

    Function draw

    source
    pub fn draw<Renderer>(
         renderer: &mut Renderer,
         style: &Style,
         layout: Layout<'_>,
    diff --git a/iced/widget/text/fn.layout.html b/iced/widget/text/fn.layout.html
    index f34da7df72..91f9a0097c 100644
    --- a/iced/widget/text/fn.layout.html
    +++ b/iced/widget/text/fn.layout.html
    @@ -1,4 +1,4 @@
    -layout in iced::widget::text - Rust
    iced::widget::text

    Function layout

    pub fn layout<Renderer>(
    +layout in iced::widget::text - Rust
    iced::widget::text

    Function layout

    source
    pub fn layout<Renderer>(
         state: &mut State<<Renderer as Renderer>::Paragraph>,
         renderer: &Renderer,
         limits: &Limits,
    diff --git a/iced/widget/text/fn.primary.html b/iced/widget/text/fn.primary.html
    index 29f1e09cbe..cd9fb858b7 100644
    --- a/iced/widget/text/fn.primary.html
    +++ b/iced/widget/text/fn.primary.html
    @@ -1,2 +1,2 @@
    -primary in iced::widget::text - Rust
    iced::widget::text

    Function primary

    pub fn primary(theme: &Theme) -> Style
    Expand description

    Text conveying some important information, like an action.

    +primary in iced::widget::text - Rust
    iced::widget::text

    Function primary

    source
    pub fn primary(theme: &Theme) -> Style
    Expand description

    Text conveying some important information, like an action.

    \ No newline at end of file diff --git a/iced/widget/text/fn.secondary.html b/iced/widget/text/fn.secondary.html index 863145df0a..82000a9d99 100644 --- a/iced/widget/text/fn.secondary.html +++ b/iced/widget/text/fn.secondary.html @@ -1,2 +1,2 @@ -secondary in iced::widget::text - Rust
    iced::widget::text

    Function secondary

    pub fn secondary(theme: &Theme) -> Style
    Expand description

    Text conveying some secondary information, like a footnote.

    +secondary in iced::widget::text - Rust
    iced::widget::text

    Function secondary

    source
    pub fn secondary(theme: &Theme) -> Style
    Expand description

    Text conveying some secondary information, like a footnote.

    \ No newline at end of file diff --git a/iced/widget/text/fn.success.html b/iced/widget/text/fn.success.html index f18577bfb2..31574a1a34 100644 --- a/iced/widget/text/fn.success.html +++ b/iced/widget/text/fn.success.html @@ -1,2 +1,2 @@ -success in iced::widget::text - Rust
    iced::widget::text

    Function success

    pub fn success(theme: &Theme) -> Style
    Expand description

    Text conveying some positive information, like a successful event.

    +success in iced::widget::text - Rust
    iced::widget::text

    Function success

    source
    pub fn success(theme: &Theme) -> Style
    Expand description

    Text conveying some positive information, like a successful event.

    \ No newline at end of file diff --git a/iced/widget/text/struct.Rich.html b/iced/widget/text/struct.Rich.html index 2ea22a9e6c..4e5e23594e 100644 --- a/iced/widget/text/struct.Rich.html +++ b/iced/widget/text/struct.Rich.html @@ -54,12 +54,12 @@ Link: Clone + 'a, Theme: Catalog, Renderer: Renderer, - <Renderer as Renderer>::Font: 'a,

    source§

    fn default() -> Rich<'a, Link, Theme, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Link, Theme, Renderer> From<Rich<'a, Link, Theme, Renderer>> for Element<'a, Link, Theme, Renderer>
    where + <Renderer as Renderer>::Font: 'a,

    source§

    fn default() -> Rich<'a, Link, Theme, Renderer>

    Returns the “default value” for a type. Read more
    source§

    impl<'a, Link, Theme, Renderer> From<Rich<'a, Link, Theme, Renderer>> for Element<'a, Link, Theme, Renderer>
    where Link: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( text: Rich<'a, Link, Theme, Renderer>, -) -> Element<'a, Link, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Link, Theme, Renderer> FromIterator<Span<'a, Link, <Renderer as Renderer>::Font>> for Rich<'a, Link, Theme, Renderer>
    where +) -> Element<'a, Link, Theme, Renderer>

    Converts to this type from the input type.

    source§

    impl<'a, Link, Theme, Renderer> FromIterator<Span<'a, Link, <Renderer as Renderer>::Font>> for Rich<'a, Link, Theme, Renderer>
    where Link: Clone + 'a, Theme: Catalog, Renderer: Renderer, @@ -93,13 +93,13 @@ cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/text/struct.Span.html b/iced/widget/text/struct.Span.html index d81fe326d4..5adb8cf4f7 100644 --- a/iced/widget/text/struct.Span.html +++ b/iced/widget/text/struct.Span.html @@ -1,4 +1,4 @@ -Span in iced::widget::text - Rust
    iced::widget::text

    Struct Span

    pub struct Span<'a, Link = (), Font = Font> {
    +Span in iced::widget::text - Rust
    iced::widget::text

    Struct Span

    source
    pub struct Span<'a, Link = (), Font = Font> {
         pub text: Cow<'a, str>,
         pub size: Option<Pixels>,
         pub line_height: Option<LineHeight>,
    @@ -21,51 +21,51 @@
     

    Currently, it only affects the bounds of the Highlight.

    §underline: bool

    Whether the Span should be underlined or not.

    §strikethrough: bool

    Whether the Span should be struck through or not.

    -

    Implementations§

    §

    impl<'a, Link, Font> Span<'a, Link, Font>

    pub fn new(fragment: impl IntoFragment<'a>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Creates a new Span of text with the given text fragment.

    -

    pub fn size(self, size: impl Into<Pixels>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the size of the Span.

    -

    pub fn line_height( +

    Implementations§

    source§

    impl<'a, Link, Font> Span<'a, Link, Font>

    source

    pub fn new(fragment: impl IntoFragment<'a>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Creates a new Span of text with the given text fragment.

    +
    source

    pub fn size(self, size: impl Into<Pixels>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the size of the Span.

    +
    source

    pub fn line_height( self, line_height: impl Into<LineHeight>, ) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the LineHeight of the Span.

    -

    pub fn font(self, font: impl Into<Font>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the font of the Span.

    -

    pub fn font_maybe(self, font: Option<impl Into<Font>>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the font of the Span, if any.

    -

    pub fn color(self, color: impl Into<Color>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Color of the Span.

    -

    pub fn color_maybe( +

    source

    pub fn font(self, font: impl Into<Font>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the font of the Span.

    +
    source

    pub fn font_maybe(self, font: Option<impl Into<Font>>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the font of the Span, if any.

    +
    source

    pub fn color(self, color: impl Into<Color>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Color of the Span.

    +
    source

    pub fn color_maybe( self, color: Option<impl Into<Color>>, ) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Color of the Span, if any.

    -
    Available on crate feature advanced only.

    Sets the link of the Span.

    -
    Available on crate feature advanced only.

    Sets the link of the Span, if any.

    -

    pub fn background( +

    Available on crate feature advanced only.

    Sets the link of the Span.

    +
    Available on crate feature advanced only.

    Sets the link of the Span, if any.

    +
    source

    pub fn background( self, background: impl Into<Background>, ) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Background of the Span.

    -

    pub fn background_maybe( +

    source

    pub fn background_maybe( self, background: Option<impl Into<Background>>, ) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Background of the Span, if any.

    -

    pub fn border(self, border: impl Into<Border>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Border of the Span.

    -

    pub fn border_maybe( +

    source

    pub fn border(self, border: impl Into<Border>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Border of the Span.

    +
    source

    pub fn border_maybe( self, border: Option<impl Into<Border>>, ) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Border of the Span, if any.

    -

    pub fn padding(self, padding: impl Into<Padding>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Padding of the Span.

    +
    source

    pub fn padding(self, padding: impl Into<Padding>) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets the Padding of the Span.

    It only affects the background and border of the Span, currently.

    -

    pub fn underline(self, underline: bool) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets whether the Span should be underlined or not.

    -

    pub fn strikethrough(self, strikethrough: bool) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets whether the Span should be struck through or not.

    -

    pub fn to_static(self) -> Span<'static, Link, Font>

    Available on crate feature advanced only.

    Turns the Span into a static one.

    -

    Trait Implementations§

    §

    impl<'a, Link, Font> Clone for Span<'a, Link, Font>
    where +

    source

    pub fn underline(self, underline: bool) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets whether the Span should be underlined or not.

    +
    source

    pub fn strikethrough(self, strikethrough: bool) -> Span<'a, Link, Font>

    Available on crate feature advanced only.

    Sets whether the Span should be struck through or not.

    +
    source

    pub fn to_static(self) -> Span<'static, Link, Font>

    Available on crate feature advanced only.

    Turns the Span into a static one.

    +

    Trait Implementations§

    source§

    impl<'a, Link, Font> Clone for Span<'a, Link, Font>
    where Link: Clone, - Font: Clone,

    §

    fn clone(&self) -> Span<'a, Link, Font>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl<'a, Link, Font> Debug for Span<'a, Link, Font>
    where + Font: Clone,

    source§

    fn clone(&self) -> Span<'a, Link, Font>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<'a, Link, Font> Debug for Span<'a, Link, Font>
    where Link: Debug, - Font: Debug,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<'a, Link, Font> From<&'a str> for Span<'a, Link, Font>

    §

    fn from(value: &'a str) -> Span<'a, Link, Font>

    Converts to this type from the input type.
    source§

    impl<'a, Link, Theme, Renderer> FromIterator<Span<'a, Link, <Renderer as Renderer>::Font>> for Rich<'a, Link, Theme, Renderer>
    where + Font: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<'a, Link, Font> From<&'a str> for Span<'a, Link, Font>

    source§

    fn from(value: &'a str) -> Span<'a, Link, Font>

    Converts to this type from the input type.
    source§

    impl<'a, Link, Theme, Renderer> FromIterator<Span<'a, Link, <Renderer as Renderer>::Font>> for Rich<'a, Link, Theme, Renderer>
    where Link: Clone + 'a, Theme: Catalog, Renderer: Renderer, <Renderer as Renderer>::Font: 'a,

    source§

    fn from_iter<T>(spans: T) -> Rich<'a, Link, Theme, Renderer>
    where - T: IntoIterator<Item = Span<'a, Link, <Renderer as Renderer>::Font>>,

    Creates a value from an iterator. Read more
    §

    impl<'a, Link, Font> PartialEq for Span<'a, Link, Font>
    where - Font: PartialEq,

    §

    fn eq(&self, other: &Span<'a, Link, Font>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, + T: IntoIterator<Item = Span<'a, Link, <Renderer as Renderer>::Font>>,
    Creates a value from an iterator. Read more
    source§

    impl<'a, Link, Font> PartialEq for Span<'a, Link, Font>
    where + Font: PartialEq,

    source§

    fn eq(&self, other: &Span<'a, Link, Font>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

    Auto Trait Implementations§

    §

    impl<'a, Link, Font> Freeze for Span<'a, Link, Font>
    where Font: Freeze, Link: Freeze,

    §

    impl<'a, Link, Font> RefUnwindSafe for Span<'a, Link, Font>
    where diff --git a/iced/widget/text/struct.State.html b/iced/widget/text/struct.State.html index 4ddbe2728b..2934c855df 100644 --- a/iced/widget/text/struct.State.html +++ b/iced/widget/text/struct.State.html @@ -1,9 +1,9 @@ -State in iced::widget::text - Rust
    iced::widget::text

    Struct State

    pub struct State<P>(pub Plain<P>)
    +State in iced::widget::text - Rust
    iced::widget::text

    Struct State

    source
    pub struct State<P>(pub Plain<P>)
     where
         P: Paragraph;
    Expand description

    The internal state of a Text widget.

    -

    Tuple Fields§

    §0: Plain<P>

    Trait Implementations§

    §

    impl<P> Debug for State<P>
    where - P: Debug + Paragraph,

    §

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

    Formats the value using the given formatter. Read more
    §

    impl<P> Default for State<P>
    where - P: Default + Paragraph,

    §

    fn default() -> State<P>

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<P> Freeze for State<P>
    where +

    Tuple Fields§

    §0: Plain<P>

    Trait Implementations§

    source§

    impl<P> Debug for State<P>
    where + P: Debug + Paragraph,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<P> Default for State<P>
    where + P: Default + Paragraph,

    source§

    fn default() -> State<P>

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<P> Freeze for State<P>
    where P: Freeze,

    §

    impl<P> RefUnwindSafe for State<P>
    where P: RefUnwindSafe,

    §

    impl<P> Send for State<P>
    where P: Send,

    §

    impl<P> Sync for State<P>
    where diff --git a/iced/widget/text/struct.Style.html b/iced/widget/text/struct.Style.html index 51acd0258e..fe878287a6 100644 --- a/iced/widget/text/struct.Style.html +++ b/iced/widget/text/struct.Style.html @@ -1,10 +1,10 @@ -Style in iced::widget::text - Rust
    iced::widget::text

    Struct Style

    pub struct Style {
    +Style in iced::widget::text - Rust
    iced::widget::text

    Struct Style

    source
    pub struct Style {
         pub color: Option<Color>,
     }
    Expand description

    The appearance of some text.

    Fields§

    §color: Option<Color>

    The Color of the text.

    The default, None, means using the inherited color.

    -

    Trait Implementations§

    §

    impl Clone for Style

    §

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Style

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Style

    §

    fn default() -> Style

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for Style

    §

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Style

    §

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Style

    source§

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Style

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Style

    source§

    fn default() -> Style

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for Style

    source§

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Style

    source§

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/text/trait.Catalog.html b/iced/widget/text/trait.Catalog.html index c6472816e2..70bf4c8e9e 100644 --- a/iced/widget/text/trait.Catalog.html +++ b/iced/widget/text/trait.Catalog.html @@ -1,11 +1,11 @@ -Catalog in iced::widget::text - Rust
    iced::widget::text

    Trait Catalog

    pub trait Catalog: Sized {
    +Catalog in iced::widget::text - Rust
    iced::widget::text

    Trait Catalog

    source
    pub trait Catalog: Sized {
         type Class<'a>;
     
         // Required methods
         fn default<'a>() -> Self::Class<'a>;
         fn style(&self, item: &Self::Class<'_>) -> Style;
     }
    Expand description

    The theme catalog of a Text.

    -

    Required Associated Types§

    type Class<'a>

    The item class of this Catalog.

    -

    Required Methods§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by this Catalog.

    -

    fn style(&self, item: &Self::Class<'_>) -> Style

    The Style of a class with the given status.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    \ No newline at end of file +

    Required Associated Types§

    source

    type Class<'a>

    The item class of this Catalog.

    +

    Required Methods§

    source

    fn default<'a>() -> Self::Class<'a>

    The default class produced by this Catalog.

    +
    source

    fn style(&self, item: &Self::Class<'_>) -> Style

    The Style of a class with the given status.

    +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    \ No newline at end of file diff --git a/iced/widget/text/trait.Highlighter.html b/iced/widget/text/trait.Highlighter.html index 65b2b67d24..0b7487dd85 100644 --- a/iced/widget/text/trait.Highlighter.html +++ b/iced/widget/text/trait.Highlighter.html @@ -1,4 +1,4 @@ -Highlighter in iced::widget::text - Rust
    iced::widget::text

    Trait Highlighter

    pub trait Highlighter: 'static {
    +Highlighter in iced::widget::text - Rust
    iced::widget::text

    Trait Highlighter

    source
    pub trait Highlighter: 'static {
         type Settings: PartialEq + Clone;
         type Highlight;
         type Iterator<'a>: Iterator<Item = (Range<usize>, Self::Highlight)>
    @@ -14,21 +14,21 @@
     

    A Highlighter highlights lines in sequence. When a line changes, it must be notified and the lines after the changed one must be fed again to the Highlighter.

    -

    Required Associated Types§

    type Settings: PartialEq + Clone

    The settings to configure the Highlighter.

    -

    type Highlight

    The output of the Highlighter.

    -

    type Iterator<'a>: Iterator<Item = (Range<usize>, Self::Highlight)> +

    Required Associated Types§

    source

    type Settings: PartialEq + Clone

    The settings to configure the Highlighter.

    +
    source

    type Highlight

    The output of the Highlighter.

    +
    source

    type Iterator<'a>: Iterator<Item = (Range<usize>, Self::Highlight)> where Self: 'a

    The highlight iterator type.

    -

    Required Methods§

    fn new(settings: &Self::Settings) -> Self

    Creates a new Highlighter from its Self::Settings.

    -

    fn update(&mut self, new_settings: &Self::Settings)

    Updates the Highlighter with some new Self::Settings.

    -

    fn change_line(&mut self, line: usize)

    Notifies the Highlighter that the line at the given index has changed.

    -

    fn highlight_line(&mut self, line: &str) -> Self::Iterator<'_>

    Highlights the given line.

    +

    Required Methods§

    source

    fn new(settings: &Self::Settings) -> Self

    Creates a new Highlighter from its Self::Settings.

    +
    source

    fn update(&mut self, new_settings: &Self::Settings)

    Updates the Highlighter with some new Self::Settings.

    +
    source

    fn change_line(&mut self, line: usize)

    Notifies the Highlighter that the line at the given index has changed.

    +
    source

    fn highlight_line(&mut self, line: &str) -> Self::Iterator<'_>

    Highlights the given line.

    If a line changed prior to this, the first line provided here will be the line that changed.

    -

    fn current_line(&self) -> usize

    Returns the current line of the Highlighter.

    +
    source

    fn current_line(&self) -> usize

    Returns the current line of the Highlighter.

    If change_line has been called, this will normally be the least index that changed.

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl Highlighter for Highlighter

    Implementors§

    \ No newline at end of file +) -> <Highlighter as Highlighter>::Iterator<'_>

    source§

    fn current_line(&self) -> usize

    Implementors§

    \ No newline at end of file diff --git a/iced/widget/text/trait.IntoFragment.html b/iced/widget/text/trait.IntoFragment.html index d1b808e6d7..e824bbc892 100644 --- a/iced/widget/text/trait.IntoFragment.html +++ b/iced/widget/text/trait.IntoFragment.html @@ -1,6 +1,6 @@ -IntoFragment in iced::widget::text - Rust
    iced::widget::text

    Trait IntoFragment

    pub trait IntoFragment<'a> {
    +IntoFragment in iced::widget::text - Rust
    iced::widget::text

    Trait IntoFragment

    source
    pub trait IntoFragment<'a> {
         // Required method
         fn into_fragment(self) -> Cow<'a, str>;
     }
    Expand description

    A trait for converting a value to some text Fragment.

    -

    Required Methods§

    fn into_fragment(self) -> Cow<'a, str>

    Converts the value to some text Fragment.

    -

    Implementations on Foreign Types§

    §

    impl<'a> IntoFragment<'a> for &'a str

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &'a String

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &bool

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &char

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &f32

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &f64

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &i8

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &i16

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &i32

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &i64

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &i128

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &isize

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &u8

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &u16

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &u32

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &u64

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &u128

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for &usize

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for Cow<'a, str>

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for bool

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for char

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for f32

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for f64

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for i8

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for i16

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for i32

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for i64

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for i128

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for isize

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for u8

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for u16

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for u32

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for u64

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for u128

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for usize

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a> IntoFragment<'a> for String

    §

    fn into_fragment(self) -> Cow<'a, str>

    §

    impl<'a, 'b> IntoFragment<'a> for &'a Cow<'b, str>

    §

    fn into_fragment(self) -> Cow<'a, str>

    Implementors§

    \ No newline at end of file +

    Required Methods§

    source

    fn into_fragment(self) -> Cow<'a, str>

    Converts the value to some text Fragment.

    +

    Implementations on Foreign Types§

    source§

    impl<'a> IntoFragment<'a> for &'a str

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &'a String

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &bool

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &char

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &f32

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &f64

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &i8

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &i16

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &i32

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &i64

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &i128

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &isize

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &u8

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &u16

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &u32

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &u64

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &u128

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for &usize

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for Cow<'a, str>

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for bool

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for char

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for f32

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for f64

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for i8

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for i16

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for i32

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for i64

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for i128

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for isize

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for u8

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for u16

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for u32

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for u64

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for u128

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for usize

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a> IntoFragment<'a> for String

    source§

    fn into_fragment(self) -> Cow<'a, str>

    source§

    impl<'a, 'b> IntoFragment<'a> for &'a Cow<'b, str>

    source§

    fn into_fragment(self) -> Cow<'a, str>

    Implementors§

    \ No newline at end of file diff --git a/iced/widget/text/type.Fragment.html b/iced/widget/text/type.Fragment.html index a159d27200..023c4966da 100644 --- a/iced/widget/text/type.Fragment.html +++ b/iced/widget/text/type.Fragment.html @@ -1,4 +1,4 @@ -Fragment in iced::widget::text - Rust
    iced::widget::text

    Type Alias Fragment

    pub type Fragment<'a> = Cow<'a, str>;
    Expand description

    A fragment of Text.

    +Fragment in iced::widget::text - Rust
    iced::widget::text

    Type Alias Fragment

    source
    pub type Fragment<'a> = Cow<'a, str>;
    Expand description

    A fragment of Text.

    This is just an alias to a string that may be either borrowed or owned.

    Aliased Type§

    enum Fragment<'a> {
    diff --git a/iced/widget/text/type.StyleFn.html b/iced/widget/text/type.StyleFn.html
    index 347b6645bd..a0ad94ca06 100644
    --- a/iced/widget/text/type.StyleFn.html
    +++ b/iced/widget/text/type.StyleFn.html
    @@ -1,3 +1,3 @@
    -StyleFn in iced::widget::text - Rust
    iced::widget::text

    Type Alias StyleFn

    pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme) -> Style + 'a>;
    Expand description

    A styling function for a Text.

    +StyleFn in iced::widget::text - Rust
    iced::widget::text

    Type Alias StyleFn

    source
    pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme) -> Style + 'a>;
    Expand description

    A styling function for a Text.

    This is just a boxed closure: Fn(&Theme, Status) -> Style.

    Aliased Type§

    struct StyleFn<'a, Theme>(/* private fields */);
    \ No newline at end of file diff --git a/iced/widget/text_editor/enum.Action.html b/iced/widget/text_editor/enum.Action.html index ac112237be..3a55d4b99d 100644 --- a/iced/widget/text_editor/enum.Action.html +++ b/iced/widget/text_editor/enum.Action.html @@ -1,4 +1,4 @@ -Action in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Enum Action

    pub enum Action {
    +Action in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Enum Action

    source
    pub enum Action {
         Move(Motion),
         Select(Motion),
         SelectWord,
    @@ -21,9 +21,9 @@
     
    §

    Drag(Point)

    Drag the mouse on the Editor to the given Point.

    §

    Scroll

    Scroll the Editor a certain amount of lines.

    Fields

    §lines: i32

    The amount of lines to scroll.

    -

    Implementations§

    §

    impl Action

    pub fn is_edit(&self) -> bool

    Available on crate feature advanced only.

    Returns whether the Action is an editing action.

    -

    Trait Implementations§

    §

    impl Clone for Action

    §

    fn clone(&self) -> Action

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Action

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Action

    §

    fn eq(&self, other: &Action) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Action

    Auto Trait Implementations§

    §

    impl Freeze for Action

    §

    impl RefUnwindSafe for Action

    §

    impl Send for Action

    §

    impl Sync for Action

    §

    impl Unpin for Action

    §

    impl UnwindSafe for Action

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Action

    source

    pub fn is_edit(&self) -> bool

    Available on crate feature advanced only.

    Returns whether the Action is an editing action.

    +

    Trait Implementations§

    source§

    impl Clone for Action

    source§

    fn clone(&self) -> Action

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Action

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Action

    source§

    fn eq(&self, other: &Action) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Action

    Auto Trait Implementations§

    §

    impl Freeze for Action

    §

    impl RefUnwindSafe for Action

    §

    impl Send for Action

    §

    impl Sync for Action

    §

    impl Unpin for Action

    §

    impl UnwindSafe for Action

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/text_editor/enum.Edit.html b/iced/widget/text_editor/enum.Edit.html index d9884b8dc4..95c4df7d3a 100644 --- a/iced/widget/text_editor/enum.Edit.html +++ b/iced/widget/text_editor/enum.Edit.html @@ -1,4 +1,4 @@ -Edit in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Enum Edit

    pub enum Edit {
    +Edit in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Enum Edit

    source
    pub enum Edit {
         Insert(char),
         Paste(Arc<String>),
         Enter,
    @@ -10,8 +10,8 @@
     
    §

    Enter

    Break the current line.

    §

    Backspace

    Delete the previous character.

    §

    Delete

    Delete the next character.

    -

    Trait Implementations§

    §

    impl Clone for Edit

    §

    fn clone(&self) -> Edit

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Edit

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Edit

    §

    fn eq(&self, other: &Edit) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Edit

    Auto Trait Implementations§

    §

    impl Freeze for Edit

    §

    impl RefUnwindSafe for Edit

    §

    impl Send for Edit

    §

    impl Sync for Edit

    §

    impl Unpin for Edit

    §

    impl UnwindSafe for Edit

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Edit

    source§

    fn clone(&self) -> Edit

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Edit

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Edit

    source§

    fn eq(&self, other: &Edit) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Edit

    Auto Trait Implementations§

    §

    impl Freeze for Edit

    §

    impl RefUnwindSafe for Edit

    §

    impl Send for Edit

    §

    impl Sync for Edit

    §

    impl Unpin for Edit

    §

    impl UnwindSafe for Edit

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/text_editor/enum.Motion.html b/iced/widget/text_editor/enum.Motion.html index ffb56ffd97..45801d191e 100644 --- a/iced/widget/text_editor/enum.Motion.html +++ b/iced/widget/text_editor/enum.Motion.html @@ -1,4 +1,4 @@ -Motion in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Enum Motion

    pub enum Motion {
    +Motion in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Enum Motion

    source
    pub enum Motion {
         Left,
         Right,
         Up,
    @@ -24,10 +24,10 @@
     
    §

    PageDown

    Move to the start of the next window.

    §

    DocumentStart

    Move to the start of the text.

    §

    DocumentEnd

    Move to the end of the text.

    -

    Implementations§

    §

    impl Motion

    pub fn widen(self) -> Motion

    Available on crate feature advanced only.

    Widens the Motion, if possible.

    -

    pub fn direction(&self) -> Direction

    Available on crate feature advanced only.

    Returns the Direction of the Motion.

    -

    Trait Implementations§

    §

    impl Clone for Motion

    §

    fn clone(&self) -> Motion

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Motion

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Motion

    §

    fn eq(&self, other: &Motion) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Motion

    §

    impl StructuralPartialEq for Motion

    Auto Trait Implementations§

    §

    impl Freeze for Motion

    §

    impl RefUnwindSafe for Motion

    §

    impl Send for Motion

    §

    impl Sync for Motion

    §

    impl Unpin for Motion

    §

    impl UnwindSafe for Motion

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Motion

    source

    pub fn widen(self) -> Motion

    Available on crate feature advanced only.

    Widens the Motion, if possible.

    +
    source

    pub fn direction(&self) -> Direction

    Available on crate feature advanced only.

    Returns the Direction of the Motion.

    +

    Trait Implementations§

    source§

    impl Clone for Motion

    source§

    fn clone(&self) -> Motion

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Motion

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Motion

    source§

    fn eq(&self, other: &Motion) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Motion

    source§

    impl StructuralPartialEq for Motion

    Auto Trait Implementations§

    §

    impl Freeze for Motion

    §

    impl RefUnwindSafe for Motion

    §

    impl Send for Motion

    §

    impl Sync for Motion

    §

    impl Unpin for Motion

    §

    impl UnwindSafe for Motion

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/text_editor/enum.Status.html b/iced/widget/text_editor/enum.Status.html index 12804e7128..5f634f5d73 100644 --- a/iced/widget/text_editor/enum.Status.html +++ b/iced/widget/text_editor/enum.Status.html @@ -1,4 +1,4 @@ -Status in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Enum Status

    source
    pub enum Status {
    +Status in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Enum Status

    source
    pub enum Status {
         Active,
         Hovered,
         Focused,
    @@ -8,8 +8,8 @@
     
    §

    Hovered

    The TextEditor is being hovered.

    §

    Focused

    The TextEditor is focused.

    §

    Disabled

    The TextEditor cannot be interacted with.

    -

    Trait Implementations§

    source§

    impl Clone for Status

    source§

    fn clone(&self) -> Status

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Status

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Status

    source§

    fn eq(&self, other: &Status) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Status

    source§

    impl Eq for Status

    source§

    impl StructuralPartialEq for Status

    Auto Trait Implementations§

    §

    impl Freeze for Status

    §

    impl RefUnwindSafe for Status

    §

    impl Send for Status

    §

    impl Sync for Status

    §

    impl Unpin for Status

    §

    impl UnwindSafe for Status

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Status

    source§

    fn clone(&self) -> Status

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Status

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Status

    source§

    fn eq(&self, other: &Status) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Status

    source§

    impl Eq for Status

    source§

    impl StructuralPartialEq for Status

    Auto Trait Implementations§

    §

    impl Freeze for Status

    §

    impl RefUnwindSafe for Status

    §

    impl Send for Status

    §

    impl Sync for Status

    §

    impl Unpin for Status

    §

    impl UnwindSafe for Status

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/text_editor/fn.default.html b/iced/widget/text_editor/fn.default.html index 9d32aa643f..3ac5e21aa6 100644 --- a/iced/widget/text_editor/fn.default.html +++ b/iced/widget/text_editor/fn.default.html @@ -1,2 +1,2 @@ -default in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Function default

    source
    pub fn default(theme: &Theme, status: Status) -> Style
    Expand description

    The default style of a TextEditor.

    +default in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Function default

    source
    pub fn default(theme: &Theme, status: Status) -> Style
    Expand description

    The default style of a TextEditor.

    \ No newline at end of file diff --git a/iced/widget/text_editor/struct.Style.html b/iced/widget/text_editor/struct.Style.html index 4ef621dbb7..bf38b1d0ee 100644 --- a/iced/widget/text_editor/struct.Style.html +++ b/iced/widget/text_editor/struct.Style.html @@ -1,4 +1,4 @@ -Style in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Struct Style

    source
    pub struct Style {
    +Style in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Struct Style

    source
    pub struct Style {
         pub background: Background,
         pub border: Border,
         pub icon: Color,
    @@ -12,8 +12,8 @@
     
    §placeholder: Color

    The Color of the placeholder of the text input.

    §value: Color

    The Color of the value of the text input.

    §selection: Color

    The Color of the selection of the text input.

    -

    Trait Implementations§

    source§

    impl Clone for Style

    source§

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Style

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Style

    source§

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Style

    source§

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Style

    source§

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Style

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Style

    source§

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Style

    source§

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/text_editor/struct.TextEditor.html b/iced/widget/text_editor/struct.TextEditor.html index c984eb29e2..02f54f58d3 100644 --- a/iced/widget/text_editor/struct.TextEditor.html +++ b/iced/widget/text_editor/struct.TextEditor.html @@ -101,13 +101,13 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> TextEditor<'a, Highlighter, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the TextEditor.

    -

    Trait Implementations§

    source§

    impl<'a, Highlighter, Message, Theme, Renderer> From<TextEditor<'a, Highlighter, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Highlighter, Message, Theme, Renderer> From<TextEditor<'a, Highlighter, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Highlighter: Highlighter, Message: 'a, Theme: Catalog + 'a, Renderer: Renderer,

    source§

    fn from( text_editor: TextEditor<'a, Highlighter, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.

    source§

    impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where Highlighter: Highlighter, Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( @@ -142,7 +142,7 @@

    §Example

    _layout: Layout<'_>, _renderer: &Renderer, operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/text_editor/trait.Catalog.html b/iced/widget/text_editor/trait.Catalog.html index 38443c1a89..9790b99ac0 100644 --- a/iced/widget/text_editor/trait.Catalog.html +++ b/iced/widget/text_editor/trait.Catalog.html @@ -1,11 +1,11 @@ -Catalog in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Trait Catalog

    source
    pub trait Catalog {
    +Catalog in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Trait Catalog

    source
    pub trait Catalog {
         type Class<'a>;
     
         // Required methods
         fn default<'a>() -> Self::Class<'a>;
         fn style(&self, class: &Self::Class<'_>, status: Status) -> Style;
     }
    Expand description

    The theme catalog of a TextEditor.

    -

    Required Associated Types§

    source

    type Class<'a>

    The item class of the Catalog.

    -

    Required Methods§

    source

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.

    -
    source

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    \ No newline at end of file +

    Required Associated Types§

    source

    type Class<'a>

    The item class of the Catalog.

    +

    Required Methods§

    source

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.

    +
    source

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.

    +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    \ No newline at end of file diff --git a/iced/widget/text_editor/type.StyleFn.html b/iced/widget/text_editor/type.StyleFn.html index 524117c0dc..b4f6bddd76 100644 --- a/iced/widget/text_editor/type.StyleFn.html +++ b/iced/widget/text_editor/type.StyleFn.html @@ -1,2 +1,2 @@ -StyleFn in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Type Alias StyleFn

    source
    pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme, Status) -> Style + 'a>;
    Expand description

    A styling function for a TextEditor.

    +StyleFn in iced::widget::text_editor - Rust
    iced::widget::text_editor

    Type Alias StyleFn

    source
    pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme, Status) -> Style + 'a>;
    Expand description

    A styling function for a TextEditor.

    Aliased Type§

    struct StyleFn<'a, Theme>(/* private fields */);
    \ No newline at end of file diff --git a/iced/widget/text_input/struct.TextInput.html b/iced/widget/text_input/struct.TextInput.html index 29bbbffa1e..7b4e46b3dc 100644 --- a/iced/widget/text_input/struct.TextInput.html +++ b/iced/widget/text_input/struct.TextInput.html @@ -121,12 +121,12 @@

    §Example

    viewport: &Rectangle, )

    Draws the TextInput with the given Renderer, overriding its Value if provided.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<TextInput<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<TextInput<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( text_input: TextInput<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextInput<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextInput<'a, Message, Theme, Renderer>
    where Message: Clone, Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn operate( @@ -161,7 +161,7 @@

    §Example

    cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction
    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn overlay<'a>( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/theme/enum.Theme.html b/iced/widget/theme/enum.Theme.html index 4ea8731315..a4ed1bf6cc 100644 --- a/iced/widget/theme/enum.Theme.html +++ b/iced/widget/theme/enum.Theme.html @@ -1,4 +1,4 @@ -Theme in iced::widget::theme - Rust
    iced::widget::theme

    Enum Theme

    pub enum Theme {
    +Theme in iced::widget::theme - Rust
    iced::widget::theme

    Enum Theme

    source
    pub enum Theme {
     
    Show 23 variants Light, Dark, Dracula, @@ -46,22 +46,22 @@
    §

    Oxocarbon

    The built-in Oxocarbon variant.

    §

    Ferra

    The built-in Ferra variant:

    §

    Custom(Arc<Custom>)

    A Theme that uses a Custom palette.

    -

    Implementations§

    §

    impl Theme

    pub const ALL: &'static [Theme] = _

    A list with all the defined themes.

    -

    pub fn custom(name: String, palette: Palette) -> Theme

    Creates a new custom Theme from the given Palette.

    -

    pub fn custom_with_fn( +

    Implementations§

    source§

    impl Theme

    source

    pub const ALL: &'static [Theme] = _

    A list with all the defined themes.

    +
    source

    pub fn custom(name: String, palette: Palette) -> Theme

    Creates a new custom Theme from the given Palette.

    +
    source

    pub fn custom_with_fn( name: String, palette: Palette, generate: impl FnOnce(Palette) -> Extended, ) -> Theme

    Creates a new custom Theme from the given Palette, with a custom generator of a palette::Extended.

    -

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    -

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    -

    Trait Implementations§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn code_block<'a>() -> <Theme as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    §

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    §

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> Self::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> Self::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style( +

    source

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    +
    source

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    +

    Trait Implementations§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn code_block<'a>() -> <Theme as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> Self::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> Self::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme) -> Style + 'a>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &Box<dyn Fn(&Theme) -> Style + '_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The default class produced by the Catalog.
    source§

    fn style( &self, class: &Box<dyn Fn(&Theme, Status) -> Style + '_>, status: Status, -) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the PickList.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    §

    impl Clone for Theme

    §

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Theme

    §

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    source§

    impl DefaultStyle for Theme

    source§

    fn default_style(&self) -> Appearance

    Returns the default style of a Program.
    §

    impl Display for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Theme

    §

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> Self::Class<'a>

    The default class for the menu of the PickList.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Clone for Theme

    source§

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Theme

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Theme

    source§

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    source§

    impl DefaultStyle for Theme

    source§

    fn default_style(&self) -> Appearance

    Returns the default style of a Program.
    source§

    impl Display for Theme

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Theme

    source§

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/index.html b/iced/widget/theme/index.html index 8a130744e3..a963356110 100644 --- a/iced/widget/theme/index.html +++ b/iced/widget/theme/index.html @@ -1,2 +1,2 @@ -iced::widget::theme - Rust
    iced::widget

    Module theme

    Expand description

    Use the built-in theme and styles.

    +iced::widget::theme - Rust
    iced::widget

    Module theme

    source
    Expand description

    Use the built-in theme and styles.

    Modules§

    • Define the colors of a theme.

    Structs§

    Enums§

    \ No newline at end of file diff --git a/iced/widget/theme/palette/index.html b/iced/widget/theme/palette/index.html index 76a702b6a1..4efb7c3764 100644 --- a/iced/widget/theme/palette/index.html +++ b/iced/widget/theme/palette/index.html @@ -1,2 +1,2 @@ -iced::widget::theme::palette - Rust
    iced::widget::theme

    Module palette

    Expand description

    Define the colors of a theme.

    +iced::widget::theme::palette - Rust
    iced::widget::theme

    Module palette

    source
    Expand description

    Define the colors of a theme.

    Structs§

    Statics§

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_FRAPPE.html b/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_FRAPPE.html index bf9cbdfcd4..5cebbf05d2 100644 --- a/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_FRAPPE.html +++ b/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_FRAPPE.html @@ -1,2 +1,2 @@ -EXTENDED_CATPPUCCIN_FRAPPE in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_CATPPUCCIN_FRAPPE

    pub static EXTENDED_CATPPUCCIN_FRAPPE: Lazy<Extended>
    Expand description

    The built-in Catppuccin Frappé variant of an Extended palette.

    +EXTENDED_CATPPUCCIN_FRAPPE in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_CATPPUCCIN_FRAPPE

    source
    pub static EXTENDED_CATPPUCCIN_FRAPPE: Lazy<Extended>
    Expand description

    The built-in Catppuccin Frappé variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_LATTE.html b/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_LATTE.html index aa392ec4d2..85c5a83f8f 100644 --- a/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_LATTE.html +++ b/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_LATTE.html @@ -1,2 +1,2 @@ -EXTENDED_CATPPUCCIN_LATTE in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_CATPPUCCIN_LATTE

    pub static EXTENDED_CATPPUCCIN_LATTE: Lazy<Extended>
    Expand description

    The built-in Catppuccin Latte variant of an Extended palette.

    +EXTENDED_CATPPUCCIN_LATTE in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_CATPPUCCIN_LATTE

    source
    pub static EXTENDED_CATPPUCCIN_LATTE: Lazy<Extended>
    Expand description

    The built-in Catppuccin Latte variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_MACCHIATO.html b/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_MACCHIATO.html index 2648ed0a7b..47d26d63b9 100644 --- a/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_MACCHIATO.html +++ b/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_MACCHIATO.html @@ -1,2 +1,2 @@ -EXTENDED_CATPPUCCIN_MACCHIATO in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_CATPPUCCIN_MACCHIATO

    pub static EXTENDED_CATPPUCCIN_MACCHIATO: Lazy<Extended>
    Expand description

    The built-in Catppuccin Macchiato variant of an Extended palette.

    +EXTENDED_CATPPUCCIN_MACCHIATO in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_CATPPUCCIN_MACCHIATO

    source
    pub static EXTENDED_CATPPUCCIN_MACCHIATO: Lazy<Extended>
    Expand description

    The built-in Catppuccin Macchiato variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_MOCHA.html b/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_MOCHA.html index f9312205e4..3ba63f576d 100644 --- a/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_MOCHA.html +++ b/iced/widget/theme/palette/static.EXTENDED_CATPPUCCIN_MOCHA.html @@ -1,2 +1,2 @@ -EXTENDED_CATPPUCCIN_MOCHA in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_CATPPUCCIN_MOCHA

    pub static EXTENDED_CATPPUCCIN_MOCHA: Lazy<Extended>
    Expand description

    The built-in Catppuccin Mocha variant of an Extended palette.

    +EXTENDED_CATPPUCCIN_MOCHA in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_CATPPUCCIN_MOCHA

    source
    pub static EXTENDED_CATPPUCCIN_MOCHA: Lazy<Extended>
    Expand description

    The built-in Catppuccin Mocha variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_DARK.html b/iced/widget/theme/palette/static.EXTENDED_DARK.html index 7db5a58697..c5031fdfd6 100644 --- a/iced/widget/theme/palette/static.EXTENDED_DARK.html +++ b/iced/widget/theme/palette/static.EXTENDED_DARK.html @@ -1,2 +1,2 @@ -EXTENDED_DARK in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_DARK

    pub static EXTENDED_DARK: Lazy<Extended>
    Expand description

    The built-in dark variant of an Extended palette.

    +EXTENDED_DARK in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_DARK

    source
    pub static EXTENDED_DARK: Lazy<Extended>
    Expand description

    The built-in dark variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_DRACULA.html b/iced/widget/theme/palette/static.EXTENDED_DRACULA.html index 82b9d624a9..22b845fd50 100644 --- a/iced/widget/theme/palette/static.EXTENDED_DRACULA.html +++ b/iced/widget/theme/palette/static.EXTENDED_DRACULA.html @@ -1,2 +1,2 @@ -EXTENDED_DRACULA in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_DRACULA

    pub static EXTENDED_DRACULA: Lazy<Extended>
    Expand description

    The built-in Dracula variant of an Extended palette.

    +EXTENDED_DRACULA in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_DRACULA

    source
    pub static EXTENDED_DRACULA: Lazy<Extended>
    Expand description

    The built-in Dracula variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_FERRA.html b/iced/widget/theme/palette/static.EXTENDED_FERRA.html index b6ccf94257..136ca53f4a 100644 --- a/iced/widget/theme/palette/static.EXTENDED_FERRA.html +++ b/iced/widget/theme/palette/static.EXTENDED_FERRA.html @@ -1,2 +1,2 @@ -EXTENDED_FERRA in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_FERRA

    pub static EXTENDED_FERRA: Lazy<Extended>
    Expand description

    The built-in Ferra variant of an Extended palette.

    +EXTENDED_FERRA in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_FERRA

    source
    pub static EXTENDED_FERRA: Lazy<Extended>
    Expand description

    The built-in Ferra variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_GRUVBOX_DARK.html b/iced/widget/theme/palette/static.EXTENDED_GRUVBOX_DARK.html index 2802bb3f92..367db27049 100644 --- a/iced/widget/theme/palette/static.EXTENDED_GRUVBOX_DARK.html +++ b/iced/widget/theme/palette/static.EXTENDED_GRUVBOX_DARK.html @@ -1,2 +1,2 @@ -EXTENDED_GRUVBOX_DARK in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_GRUVBOX_DARK

    pub static EXTENDED_GRUVBOX_DARK: Lazy<Extended>
    Expand description

    The built-in Gruvbox Dark variant of an Extended palette.

    +EXTENDED_GRUVBOX_DARK in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_GRUVBOX_DARK

    source
    pub static EXTENDED_GRUVBOX_DARK: Lazy<Extended>
    Expand description

    The built-in Gruvbox Dark variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_GRUVBOX_LIGHT.html b/iced/widget/theme/palette/static.EXTENDED_GRUVBOX_LIGHT.html index 6ee1207073..7f5a90a360 100644 --- a/iced/widget/theme/palette/static.EXTENDED_GRUVBOX_LIGHT.html +++ b/iced/widget/theme/palette/static.EXTENDED_GRUVBOX_LIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_GRUVBOX_LIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_GRUVBOX_LIGHT

    pub static EXTENDED_GRUVBOX_LIGHT: Lazy<Extended>
    Expand description

    The built-in Gruvbox Light variant of an Extended palette.

    +EXTENDED_GRUVBOX_LIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_GRUVBOX_LIGHT

    source
    pub static EXTENDED_GRUVBOX_LIGHT: Lazy<Extended>
    Expand description

    The built-in Gruvbox Light variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_DRAGON.html b/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_DRAGON.html index 95a83c5d72..c233d33de6 100644 --- a/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_DRAGON.html +++ b/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_DRAGON.html @@ -1,2 +1,2 @@ -EXTENDED_KANAGAWA_DRAGON in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_KANAGAWA_DRAGON

    pub static EXTENDED_KANAGAWA_DRAGON: Lazy<Extended>
    Expand description

    The built-in Kanagawa Dragon variant of an Extended palette.

    +EXTENDED_KANAGAWA_DRAGON in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_KANAGAWA_DRAGON

    source
    pub static EXTENDED_KANAGAWA_DRAGON: Lazy<Extended>
    Expand description

    The built-in Kanagawa Dragon variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_LOTUS.html b/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_LOTUS.html index a350786369..57ac47753e 100644 --- a/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_LOTUS.html +++ b/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_LOTUS.html @@ -1,2 +1,2 @@ -EXTENDED_KANAGAWA_LOTUS in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_KANAGAWA_LOTUS

    pub static EXTENDED_KANAGAWA_LOTUS: Lazy<Extended>
    Expand description

    The built-in Kanagawa Lotus variant of an Extended palette.

    +EXTENDED_KANAGAWA_LOTUS in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_KANAGAWA_LOTUS

    source
    pub static EXTENDED_KANAGAWA_LOTUS: Lazy<Extended>
    Expand description

    The built-in Kanagawa Lotus variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_WAVE.html b/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_WAVE.html index 1621c8ea7c..054bb5ad33 100644 --- a/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_WAVE.html +++ b/iced/widget/theme/palette/static.EXTENDED_KANAGAWA_WAVE.html @@ -1,2 +1,2 @@ -EXTENDED_KANAGAWA_WAVE in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_KANAGAWA_WAVE

    pub static EXTENDED_KANAGAWA_WAVE: Lazy<Extended>
    Expand description

    The built-in Kanagawa Wave variant of an Extended palette.

    +EXTENDED_KANAGAWA_WAVE in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_KANAGAWA_WAVE

    source
    pub static EXTENDED_KANAGAWA_WAVE: Lazy<Extended>
    Expand description

    The built-in Kanagawa Wave variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_LIGHT.html b/iced/widget/theme/palette/static.EXTENDED_LIGHT.html index 309dc93b80..6be7d53784 100644 --- a/iced/widget/theme/palette/static.EXTENDED_LIGHT.html +++ b/iced/widget/theme/palette/static.EXTENDED_LIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_LIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_LIGHT

    pub static EXTENDED_LIGHT: Lazy<Extended>
    Expand description

    The built-in light variant of an Extended palette.

    +EXTENDED_LIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_LIGHT

    source
    pub static EXTENDED_LIGHT: Lazy<Extended>
    Expand description

    The built-in light variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_MOONFLY.html b/iced/widget/theme/palette/static.EXTENDED_MOONFLY.html index 9ac39aa093..3396a54347 100644 --- a/iced/widget/theme/palette/static.EXTENDED_MOONFLY.html +++ b/iced/widget/theme/palette/static.EXTENDED_MOONFLY.html @@ -1,2 +1,2 @@ -EXTENDED_MOONFLY in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_MOONFLY

    pub static EXTENDED_MOONFLY: Lazy<Extended>
    Expand description

    The built-in Moonfly variant of an Extended palette.

    +EXTENDED_MOONFLY in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_MOONFLY

    source
    pub static EXTENDED_MOONFLY: Lazy<Extended>
    Expand description

    The built-in Moonfly variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_NIGHTFLY.html b/iced/widget/theme/palette/static.EXTENDED_NIGHTFLY.html index d4613ef7d7..e9291d06fe 100644 --- a/iced/widget/theme/palette/static.EXTENDED_NIGHTFLY.html +++ b/iced/widget/theme/palette/static.EXTENDED_NIGHTFLY.html @@ -1,2 +1,2 @@ -EXTENDED_NIGHTFLY in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_NIGHTFLY

    pub static EXTENDED_NIGHTFLY: Lazy<Extended>
    Expand description

    The built-in Nightfly variant of an Extended palette.

    +EXTENDED_NIGHTFLY in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_NIGHTFLY

    source
    pub static EXTENDED_NIGHTFLY: Lazy<Extended>
    Expand description

    The built-in Nightfly variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_NORD.html b/iced/widget/theme/palette/static.EXTENDED_NORD.html index 4a3bc8ec0f..71e3a641f0 100644 --- a/iced/widget/theme/palette/static.EXTENDED_NORD.html +++ b/iced/widget/theme/palette/static.EXTENDED_NORD.html @@ -1,2 +1,2 @@ -EXTENDED_NORD in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_NORD

    pub static EXTENDED_NORD: Lazy<Extended>
    Expand description

    The built-in Nord variant of an Extended palette.

    +EXTENDED_NORD in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_NORD

    source
    pub static EXTENDED_NORD: Lazy<Extended>
    Expand description

    The built-in Nord variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_OXOCARBON.html b/iced/widget/theme/palette/static.EXTENDED_OXOCARBON.html index 058166f907..30daec5435 100644 --- a/iced/widget/theme/palette/static.EXTENDED_OXOCARBON.html +++ b/iced/widget/theme/palette/static.EXTENDED_OXOCARBON.html @@ -1,2 +1,2 @@ -EXTENDED_OXOCARBON in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_OXOCARBON

    pub static EXTENDED_OXOCARBON: Lazy<Extended>
    Expand description

    The built-in Oxocarbon variant of an Extended palette.

    +EXTENDED_OXOCARBON in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_OXOCARBON

    source
    pub static EXTENDED_OXOCARBON: Lazy<Extended>
    Expand description

    The built-in Oxocarbon variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_SOLARIZED_DARK.html b/iced/widget/theme/palette/static.EXTENDED_SOLARIZED_DARK.html index 3c66e9f5f0..cc6c5f63d9 100644 --- a/iced/widget/theme/palette/static.EXTENDED_SOLARIZED_DARK.html +++ b/iced/widget/theme/palette/static.EXTENDED_SOLARIZED_DARK.html @@ -1,2 +1,2 @@ -EXTENDED_SOLARIZED_DARK in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_SOLARIZED_DARK

    pub static EXTENDED_SOLARIZED_DARK: Lazy<Extended>
    Expand description

    The built-in Solarized Dark variant of an Extended palette.

    +EXTENDED_SOLARIZED_DARK in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_SOLARIZED_DARK

    source
    pub static EXTENDED_SOLARIZED_DARK: Lazy<Extended>
    Expand description

    The built-in Solarized Dark variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_SOLARIZED_LIGHT.html b/iced/widget/theme/palette/static.EXTENDED_SOLARIZED_LIGHT.html index c1a53d8c03..e6e236f09e 100644 --- a/iced/widget/theme/palette/static.EXTENDED_SOLARIZED_LIGHT.html +++ b/iced/widget/theme/palette/static.EXTENDED_SOLARIZED_LIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_SOLARIZED_LIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_SOLARIZED_LIGHT

    pub static EXTENDED_SOLARIZED_LIGHT: Lazy<Extended>
    Expand description

    The built-in Solarized Light variant of an Extended palette.

    +EXTENDED_SOLARIZED_LIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_SOLARIZED_LIGHT

    source
    pub static EXTENDED_SOLARIZED_LIGHT: Lazy<Extended>
    Expand description

    The built-in Solarized Light variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT.html b/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT.html index ce8acfa18a..305423920b 100644 --- a/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT.html +++ b/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_TOKYO_NIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_TOKYO_NIGHT

    pub static EXTENDED_TOKYO_NIGHT: Lazy<Extended>
    Expand description

    The built-in Tokyo Night variant of an Extended palette.

    +EXTENDED_TOKYO_NIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_TOKYO_NIGHT

    source
    pub static EXTENDED_TOKYO_NIGHT: Lazy<Extended>
    Expand description

    The built-in Tokyo Night variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT_LIGHT.html b/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT_LIGHT.html index edc3ecc203..a90ab7f492 100644 --- a/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT_LIGHT.html +++ b/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT_LIGHT.html @@ -1,2 +1,2 @@ -EXTENDED_TOKYO_NIGHT_LIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_TOKYO_NIGHT_LIGHT

    pub static EXTENDED_TOKYO_NIGHT_LIGHT: Lazy<Extended>
    Expand description

    The built-in Tokyo Night variant of an Extended palette.

    +EXTENDED_TOKYO_NIGHT_LIGHT in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_TOKYO_NIGHT_LIGHT

    source
    pub static EXTENDED_TOKYO_NIGHT_LIGHT: Lazy<Extended>
    Expand description

    The built-in Tokyo Night variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT_STORM.html b/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT_STORM.html index 59b05eb0a2..121c53e5c2 100644 --- a/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT_STORM.html +++ b/iced/widget/theme/palette/static.EXTENDED_TOKYO_NIGHT_STORM.html @@ -1,2 +1,2 @@ -EXTENDED_TOKYO_NIGHT_STORM in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_TOKYO_NIGHT_STORM

    pub static EXTENDED_TOKYO_NIGHT_STORM: Lazy<Extended>
    Expand description

    The built-in Tokyo Night Storm variant of an Extended palette.

    +EXTENDED_TOKYO_NIGHT_STORM in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Static EXTENDED_TOKYO_NIGHT_STORM

    source
    pub static EXTENDED_TOKYO_NIGHT_STORM: Lazy<Extended>
    Expand description

    The built-in Tokyo Night Storm variant of an Extended palette.

    \ No newline at end of file diff --git a/iced/widget/theme/palette/struct.Background.html b/iced/widget/theme/palette/struct.Background.html index d935cafc20..c6645242fb 100644 --- a/iced/widget/theme/palette/struct.Background.html +++ b/iced/widget/theme/palette/struct.Background.html @@ -1,4 +1,4 @@ -Background in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Background

    pub struct Background {
    +Background in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Background

    source
    pub struct Background {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base background color.

    §weak: Pair

    A weaker version of the base background color.

    §strong: Pair

    A stronger version of the base background color.

    -

    Implementations§

    §

    impl Background

    pub fn new(base: Color, text: Color) -> Background

    Generates a set of Background colors from the base and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Background

    §

    fn clone(&self) -> Background

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Background

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Background

    §

    fn eq(&self, other: &Background) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Background

    §

    impl StructuralPartialEq for Background

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Background

    source

    pub fn new(base: Color, text: Color) -> Background

    Generates a set of Background colors from the base and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Background

    source§

    fn clone(&self) -> Background

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Background

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Background

    source§

    fn eq(&self, other: &Background) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Background

    source§

    impl StructuralPartialEq for Background

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/palette/struct.Danger.html b/iced/widget/theme/palette/struct.Danger.html index de8e870ea1..dc48ccad53 100644 --- a/iced/widget/theme/palette/struct.Danger.html +++ b/iced/widget/theme/palette/struct.Danger.html @@ -1,4 +1,4 @@ -Danger in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Danger

    pub struct Danger {
    +Danger in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Danger

    source
    pub struct Danger {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base danger color.

    §weak: Pair

    A weaker version of the base danger color.

    §strong: Pair

    A stronger version of the base danger color.

    -

    Implementations§

    §

    impl Danger

    pub fn generate(base: Color, background: Color, text: Color) -> Danger

    Generates a set of Danger colors from the base, background, and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Danger

    §

    fn clone(&self) -> Danger

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Danger

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Danger

    §

    fn eq(&self, other: &Danger) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Danger

    §

    impl StructuralPartialEq for Danger

    Auto Trait Implementations§

    §

    impl Freeze for Danger

    §

    impl RefUnwindSafe for Danger

    §

    impl Send for Danger

    §

    impl Sync for Danger

    §

    impl Unpin for Danger

    §

    impl UnwindSafe for Danger

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Danger

    source

    pub fn generate(base: Color, background: Color, text: Color) -> Danger

    Generates a set of Danger colors from the base, background, and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Danger

    source§

    fn clone(&self) -> Danger

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Danger

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Danger

    source§

    fn eq(&self, other: &Danger) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Danger

    source§

    impl StructuralPartialEq for Danger

    Auto Trait Implementations§

    §

    impl Freeze for Danger

    §

    impl RefUnwindSafe for Danger

    §

    impl Send for Danger

    §

    impl Sync for Danger

    §

    impl Unpin for Danger

    §

    impl UnwindSafe for Danger

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/palette/struct.Extended.html b/iced/widget/theme/palette/struct.Extended.html index 8b86efe422..98cbb1ce21 100644 --- a/iced/widget/theme/palette/struct.Extended.html +++ b/iced/widget/theme/palette/struct.Extended.html @@ -1,4 +1,4 @@ -Extended in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Extended

    pub struct Extended {
    +Extended in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Extended

    source
    pub struct Extended {
         pub background: Background,
         pub primary: Primary,
         pub secondary: Secondary,
    @@ -12,9 +12,9 @@
     
    §success: Success

    The set of success colors.

    §danger: Danger

    The set of danger colors.

    §is_dark: bool

    Whether the palette is dark or not.

    -

    Implementations§

    §

    impl Extended

    pub fn generate(palette: Palette) -> Extended

    Generates an Extended palette from a simple Palette.

    -

    Trait Implementations§

    §

    impl Clone for Extended

    §

    fn clone(&self) -> Extended

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Extended

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Extended

    §

    fn eq(&self, other: &Extended) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Extended

    §

    impl StructuralPartialEq for Extended

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Extended

    source

    pub fn generate(palette: Palette) -> Extended

    Generates an Extended palette from a simple Palette.

    +

    Trait Implementations§

    source§

    impl Clone for Extended

    source§

    fn clone(&self) -> Extended

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Extended

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Extended

    source§

    fn eq(&self, other: &Extended) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Extended

    source§

    impl StructuralPartialEq for Extended

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/palette/struct.Pair.html b/iced/widget/theme/palette/struct.Pair.html index 9505c77791..2411d8042a 100644 --- a/iced/widget/theme/palette/struct.Pair.html +++ b/iced/widget/theme/palette/struct.Pair.html @@ -1,13 +1,13 @@ -Pair in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Pair

    pub struct Pair {
    +Pair in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Pair

    source
    pub struct Pair {
         pub color: Color,
         pub text: Color,
     }
    Expand description

    A pair of background and text colors.

    Fields§

    §color: Color

    The background color.

    §text: Color

    The text color.

    It’s guaranteed to be readable on top of the background color.

    -

    Implementations§

    §

    impl Pair

    pub fn new(color: Color, text: Color) -> Pair

    Creates a new Pair from a background Color and some text Color.

    -

    Trait Implementations§

    §

    impl Clone for Pair

    §

    fn clone(&self) -> Pair

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Pair

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Pair

    §

    fn eq(&self, other: &Pair) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Pair

    §

    impl StructuralPartialEq for Pair

    Auto Trait Implementations§

    §

    impl Freeze for Pair

    §

    impl RefUnwindSafe for Pair

    §

    impl Send for Pair

    §

    impl Sync for Pair

    §

    impl Unpin for Pair

    §

    impl UnwindSafe for Pair

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Pair

    source

    pub fn new(color: Color, text: Color) -> Pair

    Creates a new Pair from a background Color and some text Color.

    +

    Trait Implementations§

    source§

    impl Clone for Pair

    source§

    fn clone(&self) -> Pair

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Pair

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Pair

    source§

    fn eq(&self, other: &Pair) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Pair

    source§

    impl StructuralPartialEq for Pair

    Auto Trait Implementations§

    §

    impl Freeze for Pair

    §

    impl RefUnwindSafe for Pair

    §

    impl Send for Pair

    §

    impl Sync for Pair

    §

    impl Unpin for Pair

    §

    impl UnwindSafe for Pair

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/palette/struct.Palette.html b/iced/widget/theme/palette/struct.Palette.html index 68d792895a..336ae2bea7 100644 --- a/iced/widget/theme/palette/struct.Palette.html +++ b/iced/widget/theme/palette/struct.Palette.html @@ -1,4 +1,4 @@ -Palette in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Palette

    pub struct Palette {
    +Palette in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Palette

    source
    pub struct Palette {
         pub background: Color,
         pub text: Color,
         pub primary: Color,
    @@ -10,30 +10,30 @@
     
    §primary: Color

    The primary Color of the Palette.

    §success: Color

    The success Color of the Palette.

    §danger: Color

    The danger Color of the Palette.

    -

    Implementations§

    §

    impl Palette

    pub const LIGHT: Palette = _

    The built-in light variant of a Palette.

    -

    pub const DARK: Palette = _

    The built-in dark variant of a Palette.

    -

    pub const DRACULA: Palette = _

    The built-in Dracula variant of a Palette.

    -

    pub const NORD: Palette = _

    The built-in Nord variant of a Palette.

    -

    pub const SOLARIZED_LIGHT: Palette = _

    The built-in Solarized Light variant of a Palette.

    -

    pub const SOLARIZED_DARK: Palette = _

    The built-in Solarized Dark variant of a Palette.

    -

    pub const GRUVBOX_LIGHT: Palette = _

    The built-in Gruvbox Light variant of a Palette.

    -

    pub const GRUVBOX_DARK: Palette = _

    The built-in Gruvbox Dark variant of a Palette.

    -

    pub const CATPPUCCIN_LATTE: Palette = _

    The built-in Catppuccin Latte variant of a Palette.

    -

    pub const CATPPUCCIN_FRAPPE: Palette = _

    The built-in Catppuccin Frappé variant of a Palette.

    -

    pub const CATPPUCCIN_MACCHIATO: Palette = _

    The built-in Catppuccin Macchiato variant of a Palette.

    -

    pub const CATPPUCCIN_MOCHA: Palette = _

    The built-in Catppuccin Mocha variant of a Palette.

    -

    pub const TOKYO_NIGHT: Palette = _

    The built-in Tokyo Night variant of a Palette.

    -

    pub const TOKYO_NIGHT_STORM: Palette = _

    The built-in Tokyo Night Storm variant of a Palette.

    -

    pub const TOKYO_NIGHT_LIGHT: Palette = _

    The built-in Tokyo Night Light variant of a Palette.

    -

    pub const KANAGAWA_WAVE: Palette = _

    The built-in Kanagawa Wave variant of a Palette.

    -

    pub const KANAGAWA_DRAGON: Palette = _

    The built-in Kanagawa Dragon variant of a Palette.

    -

    pub const KANAGAWA_LOTUS: Palette = _

    The built-in Kanagawa Lotus variant of a Palette.

    -

    pub const MOONFLY: Palette = _

    The built-in Moonfly variant of a Palette.

    -

    pub const NIGHTFLY: Palette = _

    The built-in Nightfly variant of a Palette.

    -

    pub const OXOCARBON: Palette = _

    The built-in Oxocarbon variant of a Palette.

    -

    pub const FERRA: Palette = _

    The built-in Ferra variant of a Palette.

    -

    Trait Implementations§

    §

    impl Clone for Palette

    §

    fn clone(&self) -> Palette

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Palette

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Palette

    §

    fn eq(&self, other: &Palette) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Palette

    §

    impl StructuralPartialEq for Palette

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Palette

    source

    pub const LIGHT: Palette = _

    The built-in light variant of a Palette.

    +
    source

    pub const DARK: Palette = _

    The built-in dark variant of a Palette.

    +
    source

    pub const DRACULA: Palette = _

    The built-in Dracula variant of a Palette.

    +
    source

    pub const NORD: Palette = _

    The built-in Nord variant of a Palette.

    +
    source

    pub const SOLARIZED_LIGHT: Palette = _

    The built-in Solarized Light variant of a Palette.

    +
    source

    pub const SOLARIZED_DARK: Palette = _

    The built-in Solarized Dark variant of a Palette.

    +
    source

    pub const GRUVBOX_LIGHT: Palette = _

    The built-in Gruvbox Light variant of a Palette.

    +
    source

    pub const GRUVBOX_DARK: Palette = _

    The built-in Gruvbox Dark variant of a Palette.

    +
    source

    pub const CATPPUCCIN_LATTE: Palette = _

    The built-in Catppuccin Latte variant of a Palette.

    +
    source

    pub const CATPPUCCIN_FRAPPE: Palette = _

    The built-in Catppuccin Frappé variant of a Palette.

    +
    source

    pub const CATPPUCCIN_MACCHIATO: Palette = _

    The built-in Catppuccin Macchiato variant of a Palette.

    +
    source

    pub const CATPPUCCIN_MOCHA: Palette = _

    The built-in Catppuccin Mocha variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT: Palette = _

    The built-in Tokyo Night variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT_STORM: Palette = _

    The built-in Tokyo Night Storm variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT_LIGHT: Palette = _

    The built-in Tokyo Night Light variant of a Palette.

    +
    source

    pub const KANAGAWA_WAVE: Palette = _

    The built-in Kanagawa Wave variant of a Palette.

    +
    source

    pub const KANAGAWA_DRAGON: Palette = _

    The built-in Kanagawa Dragon variant of a Palette.

    +
    source

    pub const KANAGAWA_LOTUS: Palette = _

    The built-in Kanagawa Lotus variant of a Palette.

    +
    source

    pub const MOONFLY: Palette = _

    The built-in Moonfly variant of a Palette.

    +
    source

    pub const NIGHTFLY: Palette = _

    The built-in Nightfly variant of a Palette.

    +
    source

    pub const OXOCARBON: Palette = _

    The built-in Oxocarbon variant of a Palette.

    +
    source

    pub const FERRA: Palette = _

    The built-in Ferra variant of a Palette.

    +

    Trait Implementations§

    source§

    impl Clone for Palette

    source§

    fn clone(&self) -> Palette

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Palette

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Palette

    source§

    fn eq(&self, other: &Palette) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Palette

    source§

    impl StructuralPartialEq for Palette

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/palette/struct.Primary.html b/iced/widget/theme/palette/struct.Primary.html index a724681dae..8de3024a5d 100644 --- a/iced/widget/theme/palette/struct.Primary.html +++ b/iced/widget/theme/palette/struct.Primary.html @@ -1,4 +1,4 @@ -Primary in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Primary

    pub struct Primary {
    +Primary in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Primary

    source
    pub struct Primary {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base primary color.

    §weak: Pair

    A weaker version of the base primary color.

    §strong: Pair

    A stronger version of the base primary color.

    -

    Implementations§

    §

    impl Primary

    pub fn generate(base: Color, background: Color, text: Color) -> Primary

    Generates a set of Primary colors from the base, background, and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Primary

    §

    fn clone(&self) -> Primary

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Primary

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Primary

    §

    fn eq(&self, other: &Primary) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Primary

    §

    impl StructuralPartialEq for Primary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Primary

    source

    pub fn generate(base: Color, background: Color, text: Color) -> Primary

    Generates a set of Primary colors from the base, background, and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Primary

    source§

    fn clone(&self) -> Primary

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Primary

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Primary

    source§

    fn eq(&self, other: &Primary) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Primary

    source§

    impl StructuralPartialEq for Primary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/palette/struct.Secondary.html b/iced/widget/theme/palette/struct.Secondary.html index 1dcfee67ec..bb7dc57996 100644 --- a/iced/widget/theme/palette/struct.Secondary.html +++ b/iced/widget/theme/palette/struct.Secondary.html @@ -1,4 +1,4 @@ -Secondary in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Secondary

    pub struct Secondary {
    +Secondary in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Secondary

    source
    pub struct Secondary {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base secondary color.

    §weak: Pair

    A weaker version of the base secondary color.

    §strong: Pair

    A stronger version of the base secondary color.

    -

    Implementations§

    §

    impl Secondary

    pub fn generate(base: Color, text: Color) -> Secondary

    Generates a set of Secondary colors from the base and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Secondary

    §

    fn clone(&self) -> Secondary

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Secondary

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Secondary

    §

    fn eq(&self, other: &Secondary) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Secondary

    §

    impl StructuralPartialEq for Secondary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Secondary

    source

    pub fn generate(base: Color, text: Color) -> Secondary

    Generates a set of Secondary colors from the base and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Secondary

    source§

    fn clone(&self) -> Secondary

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Secondary

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Secondary

    source§

    fn eq(&self, other: &Secondary) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Secondary

    source§

    impl StructuralPartialEq for Secondary

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/palette/struct.Success.html b/iced/widget/theme/palette/struct.Success.html index 09948e8977..207bfe0305 100644 --- a/iced/widget/theme/palette/struct.Success.html +++ b/iced/widget/theme/palette/struct.Success.html @@ -1,4 +1,4 @@ -Success in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Success

    pub struct Success {
    +Success in iced::widget::theme::palette - Rust
    iced::widget::theme::palette

    Struct Success

    source
    pub struct Success {
         pub base: Pair,
         pub weak: Pair,
         pub strong: Pair,
    @@ -6,9 +6,9 @@
     

    Fields§

    §base: Pair

    The base success color.

    §weak: Pair

    A weaker version of the base success color.

    §strong: Pair

    A stronger version of the base success color.

    -

    Implementations§

    §

    impl Success

    pub fn generate(base: Color, background: Color, text: Color) -> Success

    Generates a set of Success colors from the base, background, and text colors.

    -

    Trait Implementations§

    §

    impl Clone for Success

    §

    fn clone(&self) -> Success

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Success

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Success

    §

    fn eq(&self, other: &Success) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Success

    §

    impl StructuralPartialEq for Success

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Success

    source

    pub fn generate(base: Color, background: Color, text: Color) -> Success

    Generates a set of Success colors from the base, background, and text colors.

    +

    Trait Implementations§

    source§

    impl Clone for Success

    source§

    fn clone(&self) -> Success

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Success

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Success

    source§

    fn eq(&self, other: &Success) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Success

    source§

    impl StructuralPartialEq for Success

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/struct.Custom.html b/iced/widget/theme/struct.Custom.html index 8dfcc10763..701b909c49 100644 --- a/iced/widget/theme/struct.Custom.html +++ b/iced/widget/theme/struct.Custom.html @@ -1,13 +1,13 @@ -Custom in iced::widget::theme - Rust
    iced::widget::theme

    Struct Custom

    pub struct Custom { /* private fields */ }
    Expand description

    A Theme with a customized Palette.

    -

    Implementations§

    §

    impl Custom

    pub fn new(name: String, palette: Palette) -> Custom

    Creates a Custom theme from the given Palette.

    -

    pub fn with_fn( +Custom in iced::widget::theme - Rust
    iced::widget::theme

    Struct Custom

    source
    pub struct Custom { /* private fields */ }
    Expand description

    A Theme with a customized Palette.

    +

    Implementations§

    source§

    impl Custom

    source

    pub fn new(name: String, palette: Palette) -> Custom

    Creates a Custom theme from the given Palette.

    +
    source

    pub fn with_fn( name: String, palette: Palette, generate: impl FnOnce(Palette) -> Extended, ) -> Custom

    Creates a Custom theme from the given Palette with a custom generator of a palette::Extended.

    -

    Trait Implementations§

    §

    impl Clone for Custom

    §

    fn clone(&self) -> Custom

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Custom

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Display for Custom

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Custom

    §

    fn eq(&self, other: &Custom) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Custom

    Auto Trait Implementations§

    §

    impl Freeze for Custom

    §

    impl RefUnwindSafe for Custom

    §

    impl Send for Custom

    §

    impl Sync for Custom

    §

    impl Unpin for Custom

    §

    impl UnwindSafe for Custom

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Custom

    source§

    fn clone(&self) -> Custom

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Custom

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Display for Custom

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Custom

    source§

    fn eq(&self, other: &Custom) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Custom

    Auto Trait Implementations§

    §

    impl Freeze for Custom

    §

    impl RefUnwindSafe for Custom

    §

    impl Send for Custom

    §

    impl Sync for Custom

    §

    impl Unpin for Custom

    §

    impl UnwindSafe for Custom

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/theme/struct.Palette.html b/iced/widget/theme/struct.Palette.html index c296086485..d459227137 100644 --- a/iced/widget/theme/struct.Palette.html +++ b/iced/widget/theme/struct.Palette.html @@ -1,4 +1,4 @@ -Palette in iced::widget::theme - Rust
    iced::widget::theme

    Struct Palette

    pub struct Palette {
    +Palette in iced::widget::theme - Rust
    iced::widget::theme

    Struct Palette

    source
    pub struct Palette {
         pub background: Color,
         pub text: Color,
         pub primary: Color,
    @@ -10,30 +10,30 @@
     
    §primary: Color

    The primary Color of the Palette.

    §success: Color

    The success Color of the Palette.

    §danger: Color

    The danger Color of the Palette.

    -

    Implementations§

    §

    impl Palette

    pub const LIGHT: Palette = _

    The built-in light variant of a Palette.

    -

    pub const DARK: Palette = _

    The built-in dark variant of a Palette.

    -

    pub const DRACULA: Palette = _

    The built-in Dracula variant of a Palette.

    -

    pub const NORD: Palette = _

    The built-in Nord variant of a Palette.

    -

    pub const SOLARIZED_LIGHT: Palette = _

    The built-in Solarized Light variant of a Palette.

    -

    pub const SOLARIZED_DARK: Palette = _

    The built-in Solarized Dark variant of a Palette.

    -

    pub const GRUVBOX_LIGHT: Palette = _

    The built-in Gruvbox Light variant of a Palette.

    -

    pub const GRUVBOX_DARK: Palette = _

    The built-in Gruvbox Dark variant of a Palette.

    -

    pub const CATPPUCCIN_LATTE: Palette = _

    The built-in Catppuccin Latte variant of a Palette.

    -

    pub const CATPPUCCIN_FRAPPE: Palette = _

    The built-in Catppuccin Frappé variant of a Palette.

    -

    pub const CATPPUCCIN_MACCHIATO: Palette = _

    The built-in Catppuccin Macchiato variant of a Palette.

    -

    pub const CATPPUCCIN_MOCHA: Palette = _

    The built-in Catppuccin Mocha variant of a Palette.

    -

    pub const TOKYO_NIGHT: Palette = _

    The built-in Tokyo Night variant of a Palette.

    -

    pub const TOKYO_NIGHT_STORM: Palette = _

    The built-in Tokyo Night Storm variant of a Palette.

    -

    pub const TOKYO_NIGHT_LIGHT: Palette = _

    The built-in Tokyo Night Light variant of a Palette.

    -

    pub const KANAGAWA_WAVE: Palette = _

    The built-in Kanagawa Wave variant of a Palette.

    -

    pub const KANAGAWA_DRAGON: Palette = _

    The built-in Kanagawa Dragon variant of a Palette.

    -

    pub const KANAGAWA_LOTUS: Palette = _

    The built-in Kanagawa Lotus variant of a Palette.

    -

    pub const MOONFLY: Palette = _

    The built-in Moonfly variant of a Palette.

    -

    pub const NIGHTFLY: Palette = _

    The built-in Nightfly variant of a Palette.

    -

    pub const OXOCARBON: Palette = _

    The built-in Oxocarbon variant of a Palette.

    -

    pub const FERRA: Palette = _

    The built-in Ferra variant of a Palette.

    -

    Trait Implementations§

    §

    impl Clone for Palette

    §

    fn clone(&self) -> Palette

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Palette

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Palette

    §

    fn eq(&self, other: &Palette) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Palette

    §

    impl StructuralPartialEq for Palette

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Implementations§

    source§

    impl Palette

    source

    pub const LIGHT: Palette = _

    The built-in light variant of a Palette.

    +
    source

    pub const DARK: Palette = _

    The built-in dark variant of a Palette.

    +
    source

    pub const DRACULA: Palette = _

    The built-in Dracula variant of a Palette.

    +
    source

    pub const NORD: Palette = _

    The built-in Nord variant of a Palette.

    +
    source

    pub const SOLARIZED_LIGHT: Palette = _

    The built-in Solarized Light variant of a Palette.

    +
    source

    pub const SOLARIZED_DARK: Palette = _

    The built-in Solarized Dark variant of a Palette.

    +
    source

    pub const GRUVBOX_LIGHT: Palette = _

    The built-in Gruvbox Light variant of a Palette.

    +
    source

    pub const GRUVBOX_DARK: Palette = _

    The built-in Gruvbox Dark variant of a Palette.

    +
    source

    pub const CATPPUCCIN_LATTE: Palette = _

    The built-in Catppuccin Latte variant of a Palette.

    +
    source

    pub const CATPPUCCIN_FRAPPE: Palette = _

    The built-in Catppuccin Frappé variant of a Palette.

    +
    source

    pub const CATPPUCCIN_MACCHIATO: Palette = _

    The built-in Catppuccin Macchiato variant of a Palette.

    +
    source

    pub const CATPPUCCIN_MOCHA: Palette = _

    The built-in Catppuccin Mocha variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT: Palette = _

    The built-in Tokyo Night variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT_STORM: Palette = _

    The built-in Tokyo Night Storm variant of a Palette.

    +
    source

    pub const TOKYO_NIGHT_LIGHT: Palette = _

    The built-in Tokyo Night Light variant of a Palette.

    +
    source

    pub const KANAGAWA_WAVE: Palette = _

    The built-in Kanagawa Wave variant of a Palette.

    +
    source

    pub const KANAGAWA_DRAGON: Palette = _

    The built-in Kanagawa Dragon variant of a Palette.

    +
    source

    pub const KANAGAWA_LOTUS: Palette = _

    The built-in Kanagawa Lotus variant of a Palette.

    +
    source

    pub const MOONFLY: Palette = _

    The built-in Moonfly variant of a Palette.

    +
    source

    pub const NIGHTFLY: Palette = _

    The built-in Nightfly variant of a Palette.

    +
    source

    pub const OXOCARBON: Palette = _

    The built-in Oxocarbon variant of a Palette.

    +
    source

    pub const FERRA: Palette = _

    The built-in Ferra variant of a Palette.

    +

    Trait Implementations§

    source§

    impl Clone for Palette

    source§

    fn clone(&self) -> Palette

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Palette

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Palette

    source§

    fn eq(&self, other: &Palette) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Palette

    source§

    impl StructuralPartialEq for Palette

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/widget/toggler/struct.Toggler.html b/iced/widget/toggler/struct.Toggler.html index 47b2a6defd..0d51d4528e 100644 --- a/iced/widget/toggler/struct.Toggler.html +++ b/iced/widget/toggler/struct.Toggler.html @@ -99,12 +99,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Toggler<'a, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the Toggler.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Toggler<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Toggler<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( toggler: Toggler<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Toggler<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Toggler<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( &mut self, @@ -132,13 +132,13 @@

    §Example

    layout: Layout<'_>, cursor: Cursor, viewport: &Rectangle, -)

    Draws the Widget using the associated Renderer.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +)

    Draws the Widget using the associated Renderer.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/tooltip/struct.Tooltip.html b/iced/widget/tooltip/struct.Tooltip.html index 1404507c49..bfcfd1e531 100644 --- a/iced/widget/tooltip/struct.Tooltip.html +++ b/iced/widget/tooltip/struct.Tooltip.html @@ -20,8 +20,8 @@

    §Example

    Implementations§

    source§

    impl<'a, Message, Theme, Renderer> Tooltip<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source

    pub fn new( - content: impl Into<Element<'a, Message, Theme, Renderer>>, - tooltip: impl Into<Element<'a, Message, Theme, Renderer>>, + content: impl Into<Element<'a, Message, Theme, Renderer>>, + tooltip: impl Into<Element<'a, Message, Theme, Renderer>>, position: Position, ) -> Tooltip<'a, Message, Theme, Renderer>

    Creates a new Tooltip.

    source

    pub fn gap( @@ -45,12 +45,12 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> Tooltip<'a, Message, Theme, Renderer>

    Available on crate feature advanced only.

    Sets the style class of the Tooltip.

    -

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Tooltip<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Tooltip<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( tooltip: Tooltip<'a, Message, Theme, Renderer>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Tooltip<'a, Message, Theme, Renderer>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Tooltip<'a, Message, Theme, Renderer>
    where Theme: Catalog, Renderer: Renderer,

    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn state(&self) -> State

    Returns the State of the Widget.
    source§

    fn tag(&self) -> Tag

    Returns the Tag of the Widget.
    source§

    fn size(&self) -> Size<Length>

    Returns the Size of the Widget in lengths.
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn layout(&self, tree: &mut Tree, renderer: &Renderer, limits: &Limits) -> Node

    Returns the layout::Node of the Widget. Read more
    source§

    fn on_event( &mut self, @@ -84,7 +84,7 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    §

    fn operate( +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the Widget, if there is any.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, diff --git a/iced/widget/trait.Component.html b/iced/widget/trait.Component.html index 068bc808f4..2b1e973598 100644 --- a/iced/widget/trait.Component.html +++ b/iced/widget/trait.Component.html @@ -11,7 +11,7 @@ fn view( &self, state: &Self::State, - ) -> Element<'_, Self::Event, Theme, Renderer>; + ) -> Element<'_, Self::Event, Theme, Renderer>; // Provided methods fn operate(&self, _state: &mut Self::State, _operation: &mut dyn Operation) { ... } @@ -43,7 +43,7 @@

    §State

    event: Self::Event, ) -> Option<Message>

    👎Deprecated since 0.13.0: components introduce encapsulated state and hamper the use of a single source of truth. Instead, leverage the Elm Architecture directly, or implement a custom widget

    Processes an Event and updates the Component state accordingly.

    It can produce a Message for the parent application.

    -
    source

    fn view(&self, state: &Self::State) -> Element<'_, Self::Event, Theme, Renderer>

    👎Deprecated since 0.13.0: components introduce encapsulated state and hamper the use of a single source of truth. Instead, leverage the Elm Architecture directly, or implement a custom widget

    Produces the widgets of the Component, which may trigger an Event +

    source

    fn view(&self, state: &Self::State) -> Element<'_, Self::Event, Theme, Renderer>

    👎Deprecated since 0.13.0: components introduce encapsulated state and hamper the use of a single source of truth. Instead, leverage the Elm Architecture directly, or implement a custom widget

    Produces the widgets of the Component, which may trigger an Event on user interaction.

    Provided Methods§

    source

    fn operate(&self, _state: &mut Self::State, _operation: &mut dyn Operation)

    👎Deprecated since 0.13.0: components introduce encapsulated state and hamper the use of a single source of truth. Instead, leverage the Elm Architecture directly, or implement a custom widget

    Update the Component state based on the provided Operation

    By default, it does nothing.

    diff --git a/iced/widget/vertical_slider/struct.VerticalSlider.html b/iced/widget/vertical_slider/struct.VerticalSlider.html index 26bda33a0f..a32630ad8d 100644 --- a/iced/widget/vertical_slider/struct.VerticalSlider.html +++ b/iced/widget/vertical_slider/struct.VerticalSlider.html @@ -81,13 +81,13 @@

    §Example

    self, class: impl Into<<Theme as Catalog>::Class<'a>>, ) -> VerticalSlider<'a, T, Message, Theme>
    Available on crate feature advanced only.

    Sets the style class of the VerticalSlider.

    -

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<VerticalSlider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where +

    Trait Implementations§

    source§

    impl<'a, T, Message, Theme, Renderer> From<VerticalSlider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where T: Copy + Into<f64> + FromPrimitive + 'a, Message: Clone + 'a, Theme: Catalog + 'a, Renderer: Renderer + 'a,

    source§

    fn from( slider: VerticalSlider<'a, T, Message, Theme>, -) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for VerticalSlider<'a, T, Message, Theme>
    where +) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for VerticalSlider<'a, T, Message, Theme>
    where T: Copy + Into<f64> + FromPrimitive, Message: Clone, Theme: Catalog, @@ -122,13 +122,13 @@

    §Example

    cursor: Cursor, _viewport: &Rectangle, _renderer: &Renderer, -) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    §

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    §

    fn operate( +) -> Interaction

    Returns the current mouse::Interaction of the Widget. Read more
    source§

    fn size_hint(&self) -> Size<Length>

    Returns a Size hint for laying out the Widget. Read more
    source§

    fn children(&self) -> Vec<Tree>

    Returns the state Tree of the children of the Widget.
    source§

    fn diff(&self, _tree: &mut Tree)

    Reconciles the Widget with the provided Tree.
    source§

    fn operate( &self, _state: &mut Tree, _layout: Layout<'_>, _renderer: &Renderer, _operation: &mut dyn Operation, -)

    Applies an Operation to the Widget.
    §

    fn overlay<'a>( +)

    Applies an Operation to the Widget.
    source§

    fn overlay<'a>( &'a mut self, _state: &'a mut Tree, _layout: Layout<'_>, diff --git a/iced/window/enum.Event.html b/iced/window/enum.Event.html index 1856320b71..9910577d62 100644 --- a/iced/window/enum.Event.html +++ b/iced/window/enum.Event.html @@ -1,4 +1,4 @@ -Event in iced::window - Rust
    iced::window

    Enum Event

    pub enum Event {
    +Event in iced::window - Rust
    iced::window

    Enum Event

    source
    pub enum Event {
         Opened {
             position: Option<Point>,
             size: Size,
    @@ -50,8 +50,8 @@ 
    • Wayland: Not implemented.
    -

    Trait Implementations§

    §

    impl Clone for Event

    §

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Event

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Event

    §

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Event

    source§

    fn clone(&self) -> Event

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Event

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Event

    source§

    fn eq(&self, other: &Event) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl StructuralPartialEq for Event

    Auto Trait Implementations§

    §

    impl Freeze for Event

    §

    impl RefUnwindSafe for Event

    §

    impl Send for Event

    §

    impl Sync for Event

    §

    impl Unpin for Event

    §

    impl UnwindSafe for Event

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/enum.Level.html b/iced/window/enum.Level.html index 69aa52ff45..a957d800eb 100644 --- a/iced/window/enum.Level.html +++ b/iced/window/enum.Level.html @@ -1,4 +1,4 @@ -Level in iced::window - Rust
    iced::window

    Enum Level

    pub enum Level {
    +Level in iced::window - Rust
    iced::window

    Enum Level

    source
    pub enum Level {
         Normal,
         AlwaysOnBottom,
         AlwaysOnTop,
    @@ -10,8 +10,8 @@
     
    §

    AlwaysOnBottom

    The window will always be below normal windows.

    This is useful for a widget-based app.

    §

    AlwaysOnTop

    The window will always be on top of normal windows.

    -

    Trait Implementations§

    §

    impl Clone for Level

    §

    fn clone(&self) -> Level

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Level

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Level

    §

    fn default() -> Level

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for Level

    §

    fn eq(&self, other: &Level) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Level

    §

    impl Eq for Level

    §

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl Freeze for Level

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Level

    source§

    fn clone(&self) -> Level

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Level

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Level

    source§

    fn default() -> Level

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for Level

    source§

    fn eq(&self, other: &Level) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Level

    source§

    impl Eq for Level

    source§

    impl StructuralPartialEq for Level

    Auto Trait Implementations§

    §

    impl Freeze for Level

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/enum.Mode.html b/iced/window/enum.Mode.html index 6160a67559..b140ea9639 100644 --- a/iced/window/enum.Mode.html +++ b/iced/window/enum.Mode.html @@ -1,4 +1,4 @@ -Mode in iced::window - Rust
    iced::window

    Enum Mode

    pub enum Mode {
    +Mode in iced::window - Rust
    iced::window

    Enum Mode

    source
    pub enum Mode {
         Windowed,
         Fullscreen,
         Hidden,
    @@ -6,8 +6,8 @@
     

    Variants§

    §

    Windowed

    The application appears in its own window.

    §

    Fullscreen

    The application takes the whole screen of its current monitor.

    §

    Hidden

    The application is hidden

    -

    Trait Implementations§

    §

    impl Clone for Mode

    §

    fn clone(&self) -> Mode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Mode

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Mode

    §

    fn eq(&self, other: &Mode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Mode

    §

    impl Eq for Mode

    §

    impl StructuralPartialEq for Mode

    Auto Trait Implementations§

    §

    impl Freeze for Mode

    §

    impl RefUnwindSafe for Mode

    §

    impl Send for Mode

    §

    impl Sync for Mode

    §

    impl Unpin for Mode

    §

    impl UnwindSafe for Mode

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Mode

    source§

    fn clone(&self) -> Mode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Mode

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Mode

    source§

    fn eq(&self, other: &Mode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Mode

    source§

    impl Eq for Mode

    source§

    impl StructuralPartialEq for Mode

    Auto Trait Implementations§

    §

    impl Freeze for Mode

    §

    impl RefUnwindSafe for Mode

    §

    impl Send for Mode

    §

    impl Sync for Mode

    §

    impl Unpin for Mode

    §

    impl UnwindSafe for Mode

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/enum.Position.html b/iced/window/enum.Position.html index ed92ef9d54..858f9372b8 100644 --- a/iced/window/enum.Position.html +++ b/iced/window/enum.Position.html @@ -1,4 +1,4 @@ -Position in iced::window - Rust
    iced::window

    Enum Position

    pub enum Position {
    +Position in iced::window - Rust
    iced::window

    Enum Position

    source
    pub enum Position {
         Default,
         Centered,
         Specific(Point),
    @@ -14,8 +14,8 @@
     (PADDING_X, PADDING_Y).

    §

    SpecificWith(fn(_: Size, _: Size) -> Point)

    Like Specific, but the window is positioned with the specific coordinates returned by the function.

    The function receives the window size and the monitor’s resolution as input.

    -

    Trait Implementations§

    §

    impl Clone for Position

    §

    fn clone(&self) -> Position

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Position

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Position

    §

    fn default() -> Position

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for Position

    §

    fn eq(&self, other: &Position) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Copy for Position

    §

    impl StructuralPartialEq for Position

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Position

    source§

    fn clone(&self) -> Position

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Position

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Position

    source§

    fn default() -> Position

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for Position

    source§

    fn eq(&self, other: &Position) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Position

    source§

    impl StructuralPartialEq for Position

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/enum.RedrawRequest.html b/iced/window/enum.RedrawRequest.html index aaf0300a0a..47cf1aaf10 100644 --- a/iced/window/enum.RedrawRequest.html +++ b/iced/window/enum.RedrawRequest.html @@ -1,17 +1,17 @@ -RedrawRequest in iced::window - Rust
    iced::window

    Enum RedrawRequest

    pub enum RedrawRequest {
    +RedrawRequest in iced::window - Rust
    iced::window

    Enum RedrawRequest

    source
    pub enum RedrawRequest {
         NextFrame,
         At(Instant),
     }
    Expand description

    A request to redraw a window.

    Variants§

    §

    NextFrame

    Redraw the next frame.

    §

    At(Instant)

    Redraw at the given time.

    -

    Trait Implementations§

    §

    impl Clone for RedrawRequest

    §

    fn clone(&self) -> RedrawRequest

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for RedrawRequest

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Ord for RedrawRequest

    §

    fn cmp(&self, other: &RedrawRequest) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +

    Trait Implementations§

    source§

    impl Clone for RedrawRequest

    source§

    fn clone(&self) -> RedrawRequest

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for RedrawRequest

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Ord for RedrawRequest

    source§

    fn cmp(&self, other: &RedrawRequest) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for RedrawRequest

    §

    fn eq(&self, other: &RedrawRequest) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for RedrawRequest

    §

    fn partial_cmp(&self, other: &RedrawRequest) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for RedrawRequest

    source§

    fn eq(&self, other: &RedrawRequest) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for RedrawRequest

    source§

    fn partial_cmp(&self, other: &RedrawRequest) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for RedrawRequest

    §

    impl Eq for RedrawRequest

    §

    impl StructuralPartialEq for RedrawRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for RedrawRequest

    source§

    impl Eq for RedrawRequest

    source§

    impl StructuralPartialEq for RedrawRequest

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/enum.UserAttention.html b/iced/window/enum.UserAttention.html index f04a6b8583..6d8d48a3ff 100644 --- a/iced/window/enum.UserAttention.html +++ b/iced/window/enum.UserAttention.html @@ -1,4 +1,4 @@ -UserAttention in iced::window - Rust
    iced::window

    Enum UserAttention

    pub enum UserAttention {
    +UserAttention in iced::window - Rust
    iced::window

    Enum UserAttention

    source
    pub enum UserAttention {
         Critical,
         Informational,
     }
    Expand description

    The type of user attention to request.

    @@ -16,7 +16,7 @@

    §macOS: Bounces the dock icon once.
  • Windows: Flashes the taskbar button until the application is in focus.
  • -

    Trait Implementations§

    §

    impl Clone for UserAttention

    §

    fn clone(&self) -> UserAttention

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for UserAttention

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Copy for UserAttention

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for UserAttention

    source§

    fn clone(&self) -> UserAttention

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for UserAttention

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Copy for UserAttention

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/icon/enum.Error.html b/iced/window/icon/enum.Error.html index 27ef3f5fba..b276682fe8 100644 --- a/iced/window/icon/enum.Error.html +++ b/iced/window/icon/enum.Error.html @@ -1,12 +1,12 @@ Error in iced::window::icon - Rust
    iced::window::icon

    Enum Error

    source
    pub enum Error {
    -    InvalidError(Error),
    +    InvalidError(Error),
         OsError(Error),
         ImageError(ImageError),
     }
    Expand description

    An error produced when creating an Icon.

    -

    Variants§

    §

    InvalidError(Error)

    The Icon is not valid.

    +

    Variants§

    §

    InvalidError(Error)

    The Icon is not valid.

    §

    OsError(Error)

    The underlying OS failed to create the icon.

    §

    ImageError(ImageError)

    Available on crate feature image only.

    The image crate reported an error.

    -

    Trait Implementations§

    source§

    impl Debug for Error

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Display for Error

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Error for Error

    source§

    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
    source§

    impl From<Error> for Error

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Error

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<ImageError> for Error

    source§

    fn from(source: ImageError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl !RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl !UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Debug for Error

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Display for Error

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Error for Error

    source§

    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
    source§

    impl From<Error> for Error

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<Error> for Error

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<ImageError> for Error

    source§

    fn from(source: ImageError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl Freeze for Error

    §

    impl !RefUnwindSafe for Error

    §

    impl Send for Error

    §

    impl Sync for Error

    §

    impl Unpin for Error

    §

    impl !UnwindSafe for Error

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/icon/fn.from_rgba.html b/iced/window/icon/fn.from_rgba.html index 1d62834b74..cda78aaf5c 100644 --- a/iced/window/icon/fn.from_rgba.html +++ b/iced/window/icon/fn.from_rgba.html @@ -1,2 +1,2 @@ -from_rgba in iced::window::icon - Rust
    iced::window::icon

    Function from_rgba

    pub fn from_rgba(rgba: Vec<u8>, width: u32, height: u32) -> Result<Icon, Error>
    Expand description

    Builds an Icon from its RGBA pixels in the sRGB color space.

    +from_rgba in iced::window::icon - Rust
    iced::window::icon

    Function from_rgba

    source
    pub fn from_rgba(rgba: Vec<u8>, width: u32, height: u32) -> Result<Icon, Error>
    Expand description

    Builds an Icon from its RGBA pixels in the sRGB color space.

    \ No newline at end of file diff --git a/iced/window/icon/struct.Icon.html b/iced/window/icon/struct.Icon.html index c9a98deef1..3b469a534e 100644 --- a/iced/window/icon/struct.Icon.html +++ b/iced/window/icon/struct.Icon.html @@ -1,6 +1,6 @@ -Icon in iced::window::icon - Rust
    iced::window::icon

    Struct Icon

    pub struct Icon { /* private fields */ }
    Expand description

    An window icon normally used for the titlebar or taskbar.

    -

    Implementations§

    §

    impl Icon

    pub fn into_raw(self) -> (Vec<u8>, Size<u32>)

    Returns the raw data of the Icon.

    -

    Trait Implementations§

    §

    impl Clone for Icon

    §

    fn clone(&self) -> Icon

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Icon

    §

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Icon

    §

    impl RefUnwindSafe for Icon

    §

    impl Send for Icon

    §

    impl Sync for Icon

    §

    impl Unpin for Icon

    §

    impl UnwindSafe for Icon

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +Icon in iced::window::icon - Rust
    iced::window::icon

    Struct Icon

    source
    pub struct Icon { /* private fields */ }
    Expand description

    An window icon normally used for the titlebar or taskbar.

    +

    Implementations§

    source§

    impl Icon

    source

    pub fn into_raw(self) -> (Vec<u8>, Size<u32>)

    Returns the raw data of the Icon.

    +

    Trait Implementations§

    source§

    impl Clone for Icon

    source§

    fn clone(&self) -> Icon

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Icon

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Icon

    §

    impl RefUnwindSafe for Icon

    §

    impl Send for Icon

    §

    impl Sync for Icon

    §

    impl Unpin for Icon

    §

    impl UnwindSafe for Icon

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/settings/index.html b/iced/window/settings/index.html index aa54363c44..b081830c9b 100644 --- a/iced/window/settings/index.html +++ b/iced/window/settings/index.html @@ -1,2 +1,2 @@ -iced::window::settings - Rust
    iced::window

    Module settings

    Expand description

    Configure your windows.

    +iced::window::settings - Rust
    iced::window

    Module settings

    source
    Expand description

    Configure your windows.

    Structs§

    \ No newline at end of file diff --git a/iced/window/settings/struct.PlatformSpecific.html b/iced/window/settings/struct.PlatformSpecific.html index 2d400c6c61..c7d0260a86 100644 --- a/iced/window/settings/struct.PlatformSpecific.html +++ b/iced/window/settings/struct.PlatformSpecific.html @@ -1,4 +1,4 @@ -PlatformSpecific in iced::window::settings - Rust
    iced::window::settings

    Struct PlatformSpecific

    pub struct PlatformSpecific {
    +PlatformSpecific in iced::window::settings - Rust
    iced::window::settings

    Struct PlatformSpecific

    source
    pub struct PlatformSpecific {
         pub application_id: String,
         pub override_redirect: bool,
     }
    Expand description

    The platform specific window settings of an application.

    @@ -8,8 +8,8 @@
    §override_redirect: bool

    Whether bypass the window manager mapping for x11 windows

    This flag is particularly useful for creating UI elements that need precise positioning and immediate display without window manager interference.

    -

    Trait Implementations§

    §

    impl Clone for PlatformSpecific

    §

    fn clone(&self) -> PlatformSpecific

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for PlatformSpecific

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for PlatformSpecific

    §

    fn default() -> PlatformSpecific

    Returns the “default value” for a type. Read more
    §

    impl PartialEq for PlatformSpecific

    §

    fn eq(&self, other: &PlatformSpecific) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl Eq for PlatformSpecific

    §

    impl StructuralPartialEq for PlatformSpecific

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for PlatformSpecific

    source§

    fn clone(&self) -> PlatformSpecific

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PlatformSpecific

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for PlatformSpecific

    source§

    fn default() -> PlatformSpecific

    Returns the “default value” for a type. Read more
    source§

    impl PartialEq for PlatformSpecific

    source§

    fn eq(&self, other: &PlatformSpecific) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Eq for PlatformSpecific

    source§

    impl StructuralPartialEq for PlatformSpecific

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/settings/struct.Settings.html b/iced/window/settings/struct.Settings.html index 298784c4dd..80fc22b33e 100644 --- a/iced/window/settings/struct.Settings.html +++ b/iced/window/settings/struct.Settings.html @@ -1,4 +1,4 @@ -Settings in iced::window::settings - Rust
    iced::window::settings

    Struct Settings

    pub struct Settings {
    +Settings in iced::window::settings - Rust
    iced::window::settings

    Struct Settings

    source
    pub struct Settings {
         pub size: Size,
         pub position: Position,
         pub min_size: Option<Size>,
    @@ -29,7 +29,7 @@
     actually destroyed. If you disable this, you must manually close the window with the
     window::close command.

    By default this is enabled.

    -

    Trait Implementations§

    §

    impl Clone for Settings

    §

    fn clone(&self) -> Settings

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Settings

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Settings

    §

    fn default() -> Settings

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Settings

    source§

    fn clone(&self) -> Settings

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Settings

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Settings

    source§

    fn default() -> Settings

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/struct.Icon.html b/iced/window/struct.Icon.html index 6e517a71cd..e66ff6e8eb 100644 --- a/iced/window/struct.Icon.html +++ b/iced/window/struct.Icon.html @@ -1,6 +1,6 @@ -Icon in iced::window - Rust
    iced::window

    Struct Icon

    pub struct Icon { /* private fields */ }
    Expand description

    An window icon normally used for the titlebar or taskbar.

    -

    Implementations§

    §

    impl Icon

    pub fn into_raw(self) -> (Vec<u8>, Size<u32>)

    Returns the raw data of the Icon.

    -

    Trait Implementations§

    §

    impl Clone for Icon

    §

    fn clone(&self) -> Icon

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Icon

    §

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Icon

    §

    impl RefUnwindSafe for Icon

    §

    impl Send for Icon

    §

    impl Sync for Icon

    §

    impl Unpin for Icon

    §

    impl UnwindSafe for Icon

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +Icon in iced::window - Rust
    iced::window

    Struct Icon

    source
    pub struct Icon { /* private fields */ }
    Expand description

    An window icon normally used for the titlebar or taskbar.

    +

    Implementations§

    source§

    impl Icon

    source

    pub fn into_raw(self) -> (Vec<u8>, Size<u32>)

    Returns the raw data of the Icon.

    +

    Trait Implementations§

    source§

    impl Clone for Icon

    source§

    fn clone(&self) -> Icon

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Icon

    source§

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

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Icon

    §

    impl RefUnwindSafe for Icon

    §

    impl Send for Icon

    §

    impl Sync for Icon

    §

    impl Unpin for Icon

    §

    impl UnwindSafe for Icon

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/struct.Id.html b/iced/window/struct.Id.html index cc3ed3cef4..d389fc6c87 100644 --- a/iced/window/struct.Id.html +++ b/iced/window/struct.Id.html @@ -1,16 +1,16 @@ -Id in iced::window - Rust
    iced::window

    Struct Id

    pub struct Id(/* private fields */);
    Expand description

    The id of the window.

    -

    Implementations§

    §

    impl Id

    pub fn unique() -> Id

    Creates a new unique window Id.

    -

    Trait Implementations§

    §

    impl Clone for Id

    §

    fn clone(&self) -> Id

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Id

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Display for Id

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Hash for Id

    §

    fn hash<__H>(&self, state: &mut __H)
    where +Id in iced::window - Rust
    iced::window

    Struct Id

    source
    pub struct Id(/* private fields */);
    Expand description

    The id of the window.

    +

    Implementations§

    source§

    impl Id

    source

    pub fn unique() -> Id

    Creates a new unique window Id.

    +

    Trait Implementations§

    source§

    impl Clone for Id

    source§

    fn clone(&self) -> Id

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Id

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Display for Id

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Hash for Id

    source§

    fn hash<__H>(&self, state: &mut __H)
    where __H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    §

    impl Ord for Id

    §

    fn cmp(&self, other: &Id) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Id

    source§

    fn cmp(&self, other: &Id) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized,

    Restrict a value to a certain interval. Read more
    §

    impl PartialEq for Id

    §

    fn eq(&self, other: &Id) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    §

    impl PartialOrd for Id

    §

    fn partial_cmp(&self, other: &Id) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Id

    source§

    fn eq(&self, other: &Id) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Id

    source§

    fn partial_cmp(&self, other: &Id) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    §

    impl Copy for Id

    §

    impl Eq for Id

    §

    impl StructuralPartialEq for Id

    Auto Trait Implementations§

    §

    impl Freeze for Id

    §

    impl RefUnwindSafe for Id

    §

    impl Send for Id

    §

    impl Sync for Id

    §

    impl Unpin for Id

    §

    impl UnwindSafe for Id

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +the >= operator. Read more

    source§

    impl Copy for Id

    source§

    impl Eq for Id

    source§

    impl StructuralPartialEq for Id

    Auto Trait Implementations§

    §

    impl Freeze for Id

    §

    impl RefUnwindSafe for Id

    §

    impl Send for Id

    §

    impl Sync for Id

    §

    impl Unpin for Id

    §

    impl UnwindSafe for Id

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced/window/struct.Settings.html b/iced/window/struct.Settings.html index f0d2afffc0..99a2f52362 100644 --- a/iced/window/struct.Settings.html +++ b/iced/window/struct.Settings.html @@ -1,4 +1,4 @@ -Settings in iced::window - Rust
    iced::window

    Struct Settings

    pub struct Settings {
    +Settings in iced::window - Rust
    iced::window

    Struct Settings

    source
    pub struct Settings {
         pub size: Size,
         pub position: Position,
         pub min_size: Option<Size>,
    @@ -29,7 +29,7 @@
     actually destroyed. If you disable this, you must manually close the window with the
     window::close command.

    By default this is enabled.

    -

    Trait Implementations§

    §

    impl Clone for Settings

    §

    fn clone(&self) -> Settings

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Settings

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Settings

    §

    fn default() -> Settings

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Settings

    source§

    fn clone(&self) -> Settings

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Settings

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Settings

    source§

    fn default() -> Settings

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_futures/fn.boxed_stream.html b/iced_futures/fn.boxed_stream.html index 167859ae0a..ce93c8981d 100644 --- a/iced_futures/fn.boxed_stream.html +++ b/iced_futures/fn.boxed_stream.html @@ -1,5 +1,5 @@ boxed_stream in iced_futures - Rust
    iced_futures

    Function boxed_stream

    source
    pub fn boxed_stream<T, S>(stream: S) -> BoxStream<T>
    where - S: Stream<Item = T> + Send + 'static,
    Available on non-WebAssembly only.
    Expand description

    Boxes a stream.

    + S: Stream<Item = T> + Send + 'static,

    Available on non-WebAssembly only.
    Expand description

    Boxes a stream.

    • On native platforms, it needs a Send requirement.
    • On the Web platform, it does not need a Send requirement.
    • diff --git a/iced_futures/stream/fn.channel.html b/iced_futures/stream/fn.channel.html index c040c009ef..764ce224a2 100644 --- a/iced_futures/stream/fn.channel.html +++ b/iced_futures/stream/fn.channel.html @@ -1,8 +1,8 @@ channel in iced_futures::stream - Rust
      iced_futures::stream

      Function channel

      source
      pub fn channel<T, F>(
           size: usize,
           f: impl FnOnce(Sender<T>) -> F,
      -) -> impl Stream<Item = T>
      where - F: Future<Output = ()>,
      Expand description

      Creates a new [Stream] that produces the items sent from a Future +) -> impl Stream<Item = T>

      where + F: Future<Output = ()>,

    Expand description

    Creates a new Stream that produces the items sent from a Future to the [mpsc::Sender] provided to the closure.

    This is a more ergonomic [stream::unfold], which allows you to go from the “world of futures” to the “world of streams” by simply looping diff --git a/iced_futures/stream/fn.try_channel.html b/iced_futures/stream/fn.try_channel.html index a6d4b627ae..27978c2097 100644 --- a/iced_futures/stream/fn.try_channel.html +++ b/iced_futures/stream/fn.try_channel.html @@ -1,7 +1,7 @@ try_channel in iced_futures::stream - Rust

    iced_futures::stream

    Function try_channel

    source
    pub fn try_channel<T, E, F>(
         size: usize,
         f: impl FnOnce(Sender<T>) -> F,
    -) -> impl Stream<Item = Result<T, E>>
    where - F: Future<Output = Result<(), E>>,
    Expand description

    Creates a new [Stream] that produces the items sent from a Future +) -> impl Stream<Item = Result<T, E>>

    where + F: Future<Output = Result<(), E>>,

    Expand description

    Creates a new Stream that produces the items sent from a Future that can fail to the [mpsc::Sender] provided to the closure.

    \ No newline at end of file diff --git a/iced_futures/stream/index.html b/iced_futures/stream/index.html index 4bcebef7c8..187e345f66 100644 --- a/iced_futures/stream/index.html +++ b/iced_futures/stream/index.html @@ -1,4 +1,4 @@ iced_futures::stream - Rust
    iced_futures

    Module stream

    source
    Expand description

    Create asynchronous streams of data.

    -

    Functions§

    • Creates a new [Stream] that produces the items sent from a Future -to the [mpsc::Sender] provided to the closure.
    • Creates a new [Stream] that produces the items sent from a Future +

    Functions§

    • Creates a new Stream that produces the items sent from a Future +to the [mpsc::Sender] provided to the closure.
    • Creates a new Stream that produces the items sent from a Future that can fail to the [mpsc::Sender] provided to the closure.
    \ No newline at end of file diff --git a/iced_futures/subscription/struct.Subscription.html b/iced_futures/subscription/struct.Subscription.html index 955de788e1..0621a519c3 100644 --- a/iced_futures/subscription/struct.Subscription.html +++ b/iced_futures/subscription/struct.Subscription.html @@ -6,16 +6,16 @@

    For instance, you can use a Subscription to listen to a WebSocket connection, keyboard presses, mouse events, time ticks, etc.

    §The Lifetime of a Subscription

    -

    Much like a Future or a [Stream], a Subscription does not produce any effects +

    Much like a Future or a Stream, a Subscription does not produce any effects on its own. For a Subscription to run, it must be returned to the iced runtime—normally in the subscription function of an application or a daemon.

    When a Subscription is provided to the runtime for the first time, the runtime will start running it asynchronously. Running a Subscription consists in building its underlying -[Stream] and executing it in an async runtime.

    +Stream and executing it in an async runtime.

    Therefore, you can think of a Subscription as a “stream builder”. It simply represents a way -to build a certain [Stream] together with some way to identify it.

    +to build a certain Stream together with some way to identify it.

    Identification is important because when a specific Subscription stops being returned to the -iced runtime, the runtime will kill its associated [Stream]. The runtime uses the identity of a +iced runtime, the runtime will kill its associated Stream. The runtime uses the identity of a Subscription to keep track of it.

    This way, iced allows you to declaratively subscribe to particular streams of data temporarily and whenever necessary.

    @@ -36,9 +36,9 @@

    Implementations§

    source§

    impl<T> Subscription<T>

    source

    pub fn none() -> Self

    Returns an empty Subscription that will not produce any output.

    source

    pub fn run<S>(builder: fn() -> S) -> Self
    where - S: Stream<Item = T> + MaybeSend + 'static, + S: Stream<Item = T> + MaybeSend + 'static, T: 'static,

    Returns a Subscription that will call the given function to create and -asynchronously run the given [Stream].

    +asynchronously run the given Stream.

    §Creating an asynchronous worker with bidirectional communication

    You can leverage this helper to create a Subscription that spawns an asynchronous worker in the background and establish a channel of @@ -97,9 +97,9 @@

    source

    pub fn run_with_id<I, S>(id: I, stream: S) -> Subscription<T>
    where I: Hash + 'static, - S: Stream<Item = T> + MaybeSend + 'static, + S: Stream<Item = T> + MaybeSend + 'static, T: 'static,

    Returns a Subscription that will create and asynchronously run the -given [Stream].

    +given Stream.

    The id will be used to uniquely identify the Subscription.

    source

    pub fn batch(subscriptions: impl IntoIterator<Item = Subscription<T>>) -> Self

    Batches all the provided subscriptions and returns the resulting Subscription.

    diff --git a/iced_futures/type.BoxFuture.html b/iced_futures/type.BoxFuture.html index 0e22d80e3c..a581818786 100644 --- a/iced_futures/type.BoxFuture.html +++ b/iced_futures/type.BoxFuture.html @@ -1,4 +1,4 @@ -BoxFuture in iced_futures - Rust
    iced_futures

    Type Alias BoxFuture

    source
    pub type BoxFuture<T> = BoxFuture<'static, T>;
    Available on non-WebAssembly only.
    Expand description

    A boxed static future.

    +BoxFuture in iced_futures - Rust
    iced_futures

    Type Alias BoxFuture

    source
    pub type BoxFuture<T> = BoxFuture<'static, T>;
    Available on non-WebAssembly only.
    Expand description

    A boxed static future.

    • On native platforms, it needs a Send requirement.
    • On the Web platform, it does not need a Send requirement.
    • diff --git a/iced_futures/type.BoxStream.html b/iced_futures/type.BoxStream.html index fb5f3e6155..e626596734 100644 --- a/iced_futures/type.BoxStream.html +++ b/iced_futures/type.BoxStream.html @@ -1,4 +1,4 @@ -BoxStream in iced_futures - Rust
      iced_futures

      Type Alias BoxStream

      source
      pub type BoxStream<T> = BoxStream<'static, T>;
      Available on non-WebAssembly only.
      Expand description

      A boxed static stream.

      +BoxStream in iced_futures - Rust
      iced_futures

      Type Alias BoxStream

      source
      pub type BoxStream<T> = BoxStream<'static, T>;
      Available on non-WebAssembly only.
      Expand description

      A boxed static stream.

      • On native platforms, it needs a Send requirement.
      • On the Web platform, it does not need a Send requirement.
      • diff --git a/iced_widget/button/struct.Button.html b/iced_widget/button/struct.Button.html index 385851d335..c7f52aee1d 100644 --- a/iced_widget/button/struct.Button.html +++ b/iced_widget/button/struct.Button.html @@ -93,9 +93,9 @@

        §Example

        translation: Vector, ) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a [Size] hint for laying out the [Widget]. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Button<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, - Message: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Button<'a, Message, Theme, Renderer>
    where + Message: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Button<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Button<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, - Message: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Button<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Message: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Button<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/checkbox/struct.Checkbox.html b/iced_widget/checkbox/struct.Checkbox.html index 2a5fabcc1c..c4389eb1b7 100644 --- a/iced_widget/checkbox/struct.Checkbox.html +++ b/iced_widget/checkbox/struct.Checkbox.html @@ -102,9 +102,9 @@

    §Example

    _translation: Vector, ) -> Option<Element<'a, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Checkbox<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, - <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Checkbox<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Checkbox<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Checkbox<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Checkbox<'a, Message, Theme, Renderer>
    where + <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Checkbox<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Checkbox<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Checkbox<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Checkbox<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, - <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Checkbox<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Checkbox<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/combo_box/struct.ComboBox.html b/iced_widget/combo_box/struct.ComboBox.html index ff7d1d0cf1..feaf60f3e4 100644 --- a/iced_widget/combo_box/struct.ComboBox.html +++ b/iced_widget/combo_box/struct.ComboBox.html @@ -137,11 +137,11 @@

    §Example

    <Theme as Catalog>::Class<'a>: Freeze, <Theme as Catalog>::Class<'a>: Freeze, <Renderer as Renderer>::Font: Freeze, - Message: Freeze,

    §

    impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for ComboBox<'a, T, Message, Theme, Renderer>

    §

    impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for ComboBox<'a, T, Message, Theme, Renderer>

    §

    impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for ComboBox<'a, T, Message, Theme, Renderer>

    §

    impl<'a, T, Message, Theme, Renderer> Unpin for ComboBox<'a, T, Message, Theme, Renderer>
    where + Message: Freeze,

    §

    impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for ComboBox<'a, T, Message, Theme, Renderer>

    §

    impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for ComboBox<'a, T, Message, Theme, Renderer>

    §

    impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for ComboBox<'a, T, Message, Theme, Renderer>

    §

    impl<'a, T, Message, Theme, Renderer> Unpin for ComboBox<'a, T, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, <Theme as Catalog>::Class<'a>: Unpin, <Renderer as Renderer>::Font: Unpin, - Message: Unpin,

    §

    impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for ComboBox<'a, T, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Message: Unpin,

    §

    impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for ComboBox<'a, T, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/container/struct.Container.html b/iced_widget/container/struct.Container.html index 10c6dabd98..db7ce4a820 100644 --- a/iced_widget/container/struct.Container.html +++ b/iced_widget/container/struct.Container.html @@ -86,8 +86,8 @@

    §Example

    renderer: &Renderer, translation: Vector, ) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a [Size] hint for laying out the [Widget]. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Container<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Container<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Container<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Container<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Container<'a, Message, Theme, Renderer>
    where + <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Container<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/enum.Theme.html b/iced_widget/enum.Theme.html index 00f3d4626c..70d76f541b 100644 --- a/iced_widget/enum.Theme.html +++ b/iced_widget/enum.Theme.html @@ -56,7 +56,7 @@ a custom generator of a palette::Extended.

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    -

    Trait Implementations§

    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    §

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    §

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature svg only.
    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature qr_code only.
    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature markdown only.
    source§

    fn code_block<'a>() -> <Self as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the menu of the PickList.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    §

    impl Clone for Theme

    §

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Theme

    §

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    §

    impl Display for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Theme

    §

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +

    Trait Implementations§

    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    §

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    §

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature svg only.
    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature qr_code only.
    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature markdown only.
    source§

    fn code_block<'a>() -> <Self as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the menu of the PickList.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    §

    impl Clone for Theme

    §

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Theme

    §

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    §

    impl Display for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Theme

    §

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, diff --git a/iced_widget/keyed/column/struct.Column.html b/iced_widget/keyed/column/struct.Column.html index a5355e29ab..5a94fda4a4 100644 --- a/iced_widget/keyed/column/struct.Column.html +++ b/iced_widget/keyed/column/struct.Column.html @@ -96,8 +96,8 @@

    §Example

    layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a [Size] hint for laying out the [Widget]. Read more

    Auto Trait Implementations§

    §

    impl<'a, Key, Message, Theme, Renderer> Freeze for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme, Renderer> Unpin for Column<'a, Key, Message, Theme, Renderer>
    where - Key: Unpin,

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a [Size] hint for laying out the [Widget]. Read more

    Auto Trait Implementations§

    §

    impl<'a, Key, Message, Theme, Renderer> Freeze for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Key, Message, Theme, Renderer>

    §

    impl<'a, Key, Message, Theme, Renderer> Unpin for Column<'a, Key, Message, Theme, Renderer>
    where + Key: Unpin,

    §

    impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Column<'a, Key, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/overlay/menu/struct.Menu.html b/iced_widget/overlay/menu/struct.Menu.html index b6e86058bb..4776212d1f 100644 --- a/iced_widget/overlay/menu/struct.Menu.html +++ b/iced_widget/overlay/menu/struct.Menu.html @@ -32,8 +32,8 @@ of the target or under it, depending on the screen position and the dimensions of the Menu.

    Auto Trait Implementations§

    §

    impl<'a, 'b, T, Message, Theme, Renderer> Freeze for Menu<'a, 'b, T, Message, Theme, Renderer>
    where - <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Menu<'a, 'b, T, Message, Theme, Renderer>

    §

    impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Menu<'a, 'b, T, Message, Theme, Renderer>

    §

    impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Menu<'a, 'b, T, Message, Theme, Renderer>

    §

    impl<'a, 'b, T, Message, Theme, Renderer> Unpin for Menu<'a, 'b, T, Message, Theme, Renderer>
    where - <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Menu<'a, 'b, T, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Menu<'a, 'b, T, Message, Theme, Renderer>

    §

    impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Menu<'a, 'b, T, Message, Theme, Renderer>

    §

    impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Menu<'a, 'b, T, Message, Theme, Renderer>

    §

    impl<'a, 'b, T, Message, Theme, Renderer> Unpin for Menu<'a, 'b, T, Message, Theme, Renderer>
    where + <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Menu<'a, 'b, T, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/pane_grid/struct.Content.html b/iced_widget/pane_grid/struct.Content.html index 15cde8175a..c70b9f839f 100644 --- a/iced_widget/pane_grid/struct.Content.html +++ b/iced_widget/pane_grid/struct.Content.html @@ -30,8 +30,8 @@ T: Into<Element<'a, Message, Theme, Renderer>>, Theme: Catalog + 'a, Renderer: Renderer,

    source§

    fn from(element: T) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Content<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Content<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Content<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Content<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Content<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Content<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Content<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Content<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Content<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Content<'a, Message, Theme, Renderer>
    where + <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Content<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/pane_grid/struct.Controls.html b/iced_widget/pane_grid/struct.Controls.html index 26c240ac81..fd51c2c036 100644 --- a/iced_widget/pane_grid/struct.Controls.html +++ b/iced_widget/pane_grid/struct.Controls.html @@ -12,7 +12,7 @@ then the compact variant will be shown instead.

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer> From<Element<'a, Message, Theme, Renderer>> for Controls<'a, Message, Theme, Renderer>
    where Theme: Catalog, - Renderer: Renderer,

    source§

    fn from(value: Element<'a, Message, Theme, Renderer>) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Controls<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Renderer: Renderer,

    source§

    fn from(value: Element<'a, Message, Theme, Renderer>) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Controls<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Controls<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/pane_grid/struct.PaneGrid.html b/iced_widget/pane_grid/struct.PaneGrid.html index c996eb5a4d..a96c5c1928 100644 --- a/iced_widget/pane_grid/struct.PaneGrid.html +++ b/iced_widget/pane_grid/struct.PaneGrid.html @@ -119,9 +119,9 @@

    §Example

    translation: Vector, ) -> Option<Element<'_, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a [Size] hint for laying out the [Widget]. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for PaneGrid<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, - <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for PaneGrid<'a, Message, Theme, Renderer>
    where + <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PaneGrid<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for PaneGrid<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, - <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for PaneGrid<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for PaneGrid<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/pane_grid/struct.TitleBar.html b/iced_widget/pane_grid/struct.TitleBar.html index 2b2aa36b8d..b108c3fdf3 100644 --- a/iced_widget/pane_grid/struct.TitleBar.html +++ b/iced_widget/pane_grid/struct.TitleBar.html @@ -37,8 +37,8 @@ TitleBar or not.

    The whole TitleBar is a pick area, except its controls.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for TitleBar<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TitleBar<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TitleBar<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TitleBar<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for TitleBar<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TitleBar<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TitleBar<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TitleBar<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TitleBar<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for TitleBar<'a, Message, Theme, Renderer>
    where + <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TitleBar<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/pick_list/struct.PickList.html b/iced_widget/pick_list/struct.PickList.html index 1d97ce8a40..6de20ac71b 100644 --- a/iced_widget/pick_list/struct.PickList.html +++ b/iced_widget/pick_list/struct.PickList.html @@ -143,13 +143,13 @@

    §Example

    <Theme as Catalog>::Class<'a>: Freeze, Message: Freeze, V: Freeze, - <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PickList<'a, T, L, V, Message, Theme, Renderer>

    §

    impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PickList<'a, T, L, V, Message, Theme, Renderer>

    §

    impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PickList<'a, T, L, V, Message, Theme, Renderer>

    §

    impl<'a, T, L, V, Message, Theme, Renderer> Unpin for PickList<'a, T, L, V, Message, Theme, Renderer>
    where + <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PickList<'a, T, L, V, Message, Theme, Renderer>

    §

    impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PickList<'a, T, L, V, Message, Theme, Renderer>

    §

    impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PickList<'a, T, L, V, Message, Theme, Renderer>

    §

    impl<'a, T, L, V, Message, Theme, Renderer> Unpin for PickList<'a, T, L, V, Message, Theme, Renderer>
    where L: Unpin, <Theme as Catalog>::Class<'a>: Unpin, <Theme as Catalog>::Class<'a>: Unpin, Message: Unpin, V: Unpin, - <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for PickList<'a, T, L, V, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for PickList<'a, T, L, V, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/qr_code/struct.QRCode.html b/iced_widget/qr_code/struct.QRCode.html index bddcd899c4..28afd7d64d 100644 --- a/iced_widget/qr_code/struct.QRCode.html +++ b/iced_widget/qr_code/struct.QRCode.html @@ -24,7 +24,7 @@

    §Example

    Theme::Class<'a>: From<StyleFn<'a, Theme>>,

    Sets the style of the QRCode.

    source

    pub fn class(self, class: impl Into<Theme::Class<'a>>) -> Self

    Available on crate feature advanced only.

    Sets the style class of the QRCode.

    Trait Implementations§

    source§

    impl<'a, Message, Theme> From<QRCode<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where - Theme: Catalog + 'a,

    source§

    fn from(qr_code: QRCode<'a, Theme>) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme> Widget<Message, Theme, Renderer<Renderer, Renderer>> for QRCode<'a, Theme>
    where + Theme: Catalog + 'a,

    source§

    fn from(qr_code: QRCode<'a, Theme>) -> Self

    Converts to this type from the input type.
    source§

    impl<'a, Message, Theme> Widget<Message, Theme, Renderer<Renderer, Renderer>> for QRCode<'a, Theme>
    where Theme: Catalog,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the [Widget].
    source§

    fn state(&self) -> State

    Returns the State of the [Widget].
    source§

    fn size(&self) -> Size<Length>

    Returns the [Size] of the [Widget] in lengths.
    source§

    fn layout( &self, _tree: &mut Tree, diff --git a/iced_widget/scrollable/struct.Scrollable.html b/iced_widget/scrollable/struct.Scrollable.html index 2a834f418b..9a00cc3772 100644 --- a/iced_widget/scrollable/struct.Scrollable.html +++ b/iced_widget/scrollable/struct.Scrollable.html @@ -88,8 +88,8 @@

    §Example

    renderer: &Renderer, translation: Vector, ) -> Option<Element<'b, Message, Theme, Renderer>>
    Returns the overlay of the [Widget], if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a [Size] hint for laying out the [Widget]. Read more

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Scrollable<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Scrollable<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Scrollable<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Scrollable<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Scrollable<'a, Message, Theme, Renderer>
    where + <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Scrollable<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/shader/struct.Shader.html b/iced_widget/shader/struct.Shader.html index a731087092..95ca3769f9 100644 --- a/iced_widget/shader/struct.Shader.html +++ b/iced_widget/shader/struct.Shader.html @@ -6,10 +6,10 @@

    source

    pub fn height(self, height: impl Into<Length>) -> Self

    Set the height of the custom Shader.

    Trait Implementations§

    source§

    impl<'a, Message, Theme, Renderer, P> From<Shader<Message, P>> for Element<'a, Message, Theme, Renderer>
    where Message: 'a, - Renderer: Renderer, + Renderer: Renderer, P: Program<Message> + 'a,

    source§

    fn from(custom: Shader<Message, P>) -> Element<'a, Message, Theme, Renderer>

    Converts to this type from the input type.
    source§

    impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Shader<Message, P>
    where P: Program<Message>, - Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the [Widget].
    source§

    fn state(&self) -> State

    Returns the State of the [Widget].
    source§

    fn size(&self) -> Size<Length>

    Returns the [Size] of the [Widget] in lengths.
    source§

    fn layout( + Renderer: Renderer,

    source§

    fn tag(&self) -> Tag

    Returns the Tag of the [Widget].
    source§

    fn state(&self) -> State

    Returns the State of the [Widget].
    source§

    fn size(&self) -> Size<Length>

    Returns the [Size] of the [Widget] in lengths.
    source§

    fn layout( &self, _tree: &mut Tree, _renderer: &Renderer, diff --git a/iced_widget/shader/struct.Storage.html b/iced_widget/shader/struct.Storage.html index 4d98dbf01b..3b8a5663a4 100644 --- a/iced_widget/shader/struct.Storage.html +++ b/iced_widget/shader/struct.Storage.html @@ -1,13 +1,13 @@ -Storage in iced_widget::shader - Rust
    iced_widget::shader

    Struct Storage

    pub struct Storage { /* private fields */ }
    Available on crate feature wgpu only.
    Expand description

    Stores custom, user-provided types.

    -

    Implementations§

    §

    impl Storage

    pub fn has<T>(&self) -> bool
    where +Storage in iced_widget::shader - Rust
    iced_widget::shader

    Struct Storage

    source
    pub struct Storage { /* private fields */ }
    Available on crate feature wgpu only.
    Expand description

    Stores custom, user-provided types.

    +

    Implementations§

    source§

    impl Storage

    source

    pub fn has<T>(&self) -> bool
    where T: 'static,

    Returns true if Storage contains a type T.

    -

    pub fn store<T>(&mut self, data: T)
    where +

    source

    pub fn store<T>(&mut self, data: T)
    where T: 'static + Send,

    Inserts the data T in to Storage.

    -

    pub fn get<T>(&self) -> Option<&T>
    where +

    source

    pub fn get<T>(&self) -> Option<&T>
    where T: 'static,

    Returns a reference to the data with type T if it exists in Storage.

    -

    pub fn get_mut<T>(&mut self) -> Option<&mut T>
    where +

    source

    pub fn get_mut<T>(&mut self) -> Option<&mut T>
    where T: 'static,

    Returns a mutable reference to the data with type T if it exists in Storage.

    -

    Trait Implementations§

    §

    impl Debug for Storage

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Storage

    §

    fn default() -> Storage

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Debug for Storage

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl Default for Storage

    source§

    fn default() -> Storage

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/shader/trait.Primitive.html b/iced_widget/shader/trait.Primitive.html index 112e49d48d..77eb3ec3b7 100644 --- a/iced_widget/shader/trait.Primitive.html +++ b/iced_widget/shader/trait.Primitive.html @@ -1,4 +1,4 @@ -Primitive in iced_widget::shader - Rust
    iced_widget::shader

    Trait Primitive

    pub trait Primitive:
    +Primitive in iced_widget::shader - Rust
    iced_widget::shader

    Trait Primitive

    source
    pub trait Primitive:
         Debug
         + Send
         + Sync
    @@ -21,7 +21,7 @@
             clip_bounds: &Rectangle<u32>,
         );
     }
    Available on crate feature wgpu only.
    Expand description

    A set of methods which allows a Primitive to be rendered.

    -

    Required Methods§

    fn prepare( +

    Required Methods§

    source

    fn prepare( &self, device: &Device, queue: &Queue, @@ -30,7 +30,7 @@ bounds: &Rectangle, viewport: &Viewport, )

    Processes the Primitive, allowing for GPU buffer allocation.

    -

    fn render( +

    source

    fn render( &self, encoder: &mut CommandEncoder, storage: &Storage, diff --git a/iced_widget/struct.Responsive.html b/iced_widget/struct.Responsive.html index 67b4bd351e..248d9850f4 100644 --- a/iced_widget/struct.Responsive.html +++ b/iced_widget/struct.Responsive.html @@ -56,7 +56,7 @@ layout: Layout<'_>, renderer: &Renderer, translation: Vector, -) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a [Size] hint for laying out the [Widget]. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state [Tree] of the children of the [Widget].
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the [Widget] with the provided [Tree].

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Freeze for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Responsive<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +) -> Option<Element<'b, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.
    §

    fn size_hint(&self) -> Size<Length>

    Returns a [Size] hint for laying out the [Widget]. Read more
    §

    fn children(&self) -> Vec<Tree>

    Returns the state [Tree] of the children of the [Widget].
    §

    fn diff(&self, _tree: &mut Tree)

    Reconciles the [Widget] with the provided [Tree].

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Freeze for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Responsive<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Responsive<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/text/struct.Rich.html b/iced_widget/text/struct.Rich.html index c2f9ea878f..1b3952cb58 100644 --- a/iced_widget/text/struct.Rich.html +++ b/iced_widget/text/struct.Rich.html @@ -84,9 +84,9 @@ _translation: Vector, ) -> Option<Element<'a, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.

    Auto Trait Implementations§

    §

    impl<'a, Link, Theme, Renderer> Freeze for Rich<'a, Link, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, - <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Rich<'a, Link, Theme, Renderer>

    §

    impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Rich<'a, Link, Theme, Renderer>

    §

    impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Rich<'a, Link, Theme, Renderer>

    §

    impl<'a, Link, Theme, Renderer> Unpin for Rich<'a, Link, Theme, Renderer>
    where + <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Rich<'a, Link, Theme, Renderer>

    §

    impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Rich<'a, Link, Theme, Renderer>

    §

    impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Rich<'a, Link, Theme, Renderer>

    §

    impl<'a, Link, Theme, Renderer> Unpin for Rich<'a, Link, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, - <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Rich<'a, Link, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Rich<'a, Link, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/text_editor/enum.Binding.html b/iced_widget/text_editor/enum.Binding.html index 6ee510ff6d..9849d86bdb 100644 --- a/iced_widget/text_editor/enum.Binding.html +++ b/iced_widget/text_editor/enum.Binding.html @@ -30,7 +30,7 @@
    §

    Delete

    Delete the next character.

    §

    Sequence(Vec<Self>)

    A sequence of bindings to execute.

    §

    Custom(Message)

    Produce the given message.

    -

    Implementations§

    source§

    impl<Message> Binding<Message>

    source

    pub fn from_key_press(event: KeyPress) -> Option<Self>

    Returns the default Binding for the given key press.

    +

    Implementations§

    source§

    impl<Message> Binding<Message>

    source

    pub fn from_key_press(event: KeyPress) -> Option<Self>

    Returns the default Binding for the given key press.

    Trait Implementations§

    source§

    impl<Message: Clone> Clone for Binding<Message>

    source§

    fn clone(&self) -> Binding<Message>

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl<Message: Debug> Debug for Binding<Message>

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<Message: PartialEq> PartialEq for Binding<Message>

    source§

    fn eq(&self, other: &Binding<Message>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl<Message> StructuralPartialEq for Binding<Message>

    Auto Trait Implementations§

    §

    impl<Message> Freeze for Binding<Message>
    where Message: Freeze,

    §

    impl<Message> RefUnwindSafe for Binding<Message>
    where diff --git a/iced_widget/text_editor/enum.Status.html b/iced_widget/text_editor/enum.Status.html index 84a961ebdf..36ae027991 100644 --- a/iced_widget/text_editor/enum.Status.html +++ b/iced_widget/text_editor/enum.Status.html @@ -1,4 +1,4 @@ -Status in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Enum Status

    source
    pub enum Status {
    +Status in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Enum Status

    source
    pub enum Status {
         Active,
         Hovered,
         Focused,
    @@ -8,8 +8,8 @@
     
    §

    Hovered

    The TextEditor is being hovered.

    §

    Focused

    The TextEditor is focused.

    §

    Disabled

    The TextEditor cannot be interacted with.

    -

    Trait Implementations§

    source§

    impl Clone for Status

    source§

    fn clone(&self) -> Status

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Status

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Status

    source§

    fn eq(&self, other: &Status) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Status

    source§

    impl Eq for Status

    source§

    impl StructuralPartialEq for Status

    Auto Trait Implementations§

    §

    impl Freeze for Status

    §

    impl RefUnwindSafe for Status

    §

    impl Send for Status

    §

    impl Sync for Status

    §

    impl Unpin for Status

    §

    impl UnwindSafe for Status

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Status

    source§

    fn clone(&self) -> Status

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Status

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Status

    source§

    fn eq(&self, other: &Status) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Status

    source§

    impl Eq for Status

    source§

    impl StructuralPartialEq for Status

    Auto Trait Implementations§

    §

    impl Freeze for Status

    §

    impl RefUnwindSafe for Status

    §

    impl Send for Status

    §

    impl Sync for Status

    §

    impl Unpin for Status

    §

    impl UnwindSafe for Status

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/text_editor/fn.default.html b/iced_widget/text_editor/fn.default.html index b047a90448..dc8c2e8661 100644 --- a/iced_widget/text_editor/fn.default.html +++ b/iced_widget/text_editor/fn.default.html @@ -1,2 +1,2 @@ -default in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Function default

    source
    pub fn default(theme: &Theme, status: Status) -> Style
    Expand description

    The default style of a TextEditor.

    +default in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Function default

    source
    pub fn default(theme: &Theme, status: Status) -> Style
    Expand description

    The default style of a TextEditor.

    \ No newline at end of file diff --git a/iced_widget/text_editor/index.html b/iced_widget/text_editor/index.html index abb7180a22..2e780e8478 100644 --- a/iced_widget/text_editor/index.html +++ b/iced_widget/text_editor/index.html @@ -1,4 +1,4 @@ -iced_widget::text_editor - Rust
    iced_widget

    Module text_editor

    source
    Expand description

    Text editors display a multi-line text input for text editing.

    +iced_widget::text_editor - Rust
    iced_widget

    Module text_editor

    source
    Expand description

    Text editors display a multi-line text input for text editing.

    §Example

    use iced::widget::text_editor;
     
    diff --git a/iced_widget/text_editor/struct.Content.html b/iced_widget/text_editor/struct.Content.html
    index 35ae466e92..ae62b0eaf7 100644
    --- a/iced_widget/text_editor/struct.Content.html
    +++ b/iced_widget/text_editor/struct.Content.html
    @@ -15,8 +15,8 @@
     

    Trait Implementations§

    source§

    impl<Renderer> Debug for Content<Renderer>
    where Renderer: Renderer, Renderer::Editor: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl<Renderer> Default for Content<Renderer>
    where - Renderer: Renderer,

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<R = Renderer<Renderer, Renderer>> !Freeze for Content<R>

    §

    impl<R = Renderer<Renderer, Renderer>> !RefUnwindSafe for Content<R>

    §

    impl<R> Send for Content<R>
    where - <R as Renderer>::Editor: Send,

    §

    impl<R = Renderer<Renderer, Renderer>> !Sync for Content<R>

    §

    impl<R> Unpin for Content<R>
    where + Renderer: Renderer,

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    §

    impl<R = Renderer<Renderer, Renderer>> !Freeze for Content<R>

    §

    impl<R = Renderer<Renderer, Renderer>> !RefUnwindSafe for Content<R>

    §

    impl<R> Send for Content<R>
    where + <R as Renderer>::Editor: Send,

    §

    impl<R = Renderer<Renderer, Renderer>> !Sync for Content<R>

    §

    impl<R> Unpin for Content<R>
    where <R as Renderer>::Editor: Unpin,

    §

    impl<R> UnwindSafe for Content<R>
    where <R as Renderer>::Editor: UnwindSafe,

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, diff --git a/iced_widget/text_editor/struct.Style.html b/iced_widget/text_editor/struct.Style.html index 953731af36..f777ee4175 100644 --- a/iced_widget/text_editor/struct.Style.html +++ b/iced_widget/text_editor/struct.Style.html @@ -1,4 +1,4 @@ -Style in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Struct Style

    source
    pub struct Style {
    +Style in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Struct Style

    source
    pub struct Style {
         pub background: Background,
         pub border: Border,
         pub icon: Color,
    @@ -12,8 +12,8 @@
     
    §placeholder: Color

    The [Color] of the placeholder of the text input.

    §value: Color

    The [Color] of the value of the text input.

    §selection: Color

    The [Color] of the selection of the text input.

    -

    Trait Implementations§

    source§

    impl Clone for Style

    source§

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Style

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Style

    source§

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for Style

    source§

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where +

    Trait Implementations§

    source§

    impl Clone for Style

    source§

    fn clone(&self) -> Style

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Style

    source§

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

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Style

    source§

    fn eq(&self, other: &Style) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for Style

    source§

    impl StructuralPartialEq for Style

    Auto Trait Implementations§

    §

    impl Freeze for Style

    §

    impl RefUnwindSafe for Style

    §

    impl Send for Style

    §

    impl Sync for Style

    §

    impl Unpin for Style

    §

    impl UnwindSafe for Style

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/text_editor/struct.TextEditor.html b/iced_widget/text_editor/struct.TextEditor.html index 96b86bd9f1..3eaadb550e 100644 --- a/iced_widget/text_editor/struct.TextEditor.html +++ b/iced_widget/text_editor/struct.TextEditor.html @@ -115,10 +115,10 @@

    §Example

    ) -> Option<Element<'a, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.

    Auto Trait Implementations§

    §

    impl<'a, Highlighter, Message, Theme, Renderer> Freeze for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, <Highlighter as Highlighter>::Settings: Freeze, - <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TextEditor<'a, Highlighter, Message, Theme, Renderer>

    §

    impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TextEditor<'a, Highlighter, Message, Theme, Renderer>

    §

    impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TextEditor<'a, Highlighter, Message, Theme, Renderer>

    §

    impl<'a, Highlighter, Message, Theme, Renderer> Unpin for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where + <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TextEditor<'a, Highlighter, Message, Theme, Renderer>

    §

    impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TextEditor<'a, Highlighter, Message, Theme, Renderer>

    §

    impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TextEditor<'a, Highlighter, Message, Theme, Renderer>

    §

    impl<'a, Highlighter, Message, Theme, Renderer> Unpin for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, <Highlighter as Highlighter>::Settings: Unpin, - <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TextEditor<'a, Highlighter, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TextEditor<'a, Highlighter, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/text_editor/trait.Catalog.html b/iced_widget/text_editor/trait.Catalog.html index 488af7ab88..bd145fb358 100644 --- a/iced_widget/text_editor/trait.Catalog.html +++ b/iced_widget/text_editor/trait.Catalog.html @@ -1,11 +1,11 @@ -Catalog in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Trait Catalog

    source
    pub trait Catalog {
    +Catalog in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Trait Catalog

    source
    pub trait Catalog {
         type Class<'a>;
     
         // Required methods
         fn default<'a>() -> Self::Class<'a>;
         fn style(&self, class: &Self::Class<'_>, status: Status) -> Style;
     }
    Expand description

    The theme catalog of a TextEditor.

    -

    Required Associated Types§

    source

    type Class<'a>

    The item class of the Catalog.

    -

    Required Methods§

    source

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.

    -
    source

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    \ No newline at end of file +

    Required Associated Types§

    source

    type Class<'a>

    The item class of the Catalog.

    +

    Required Methods§

    source

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.

    +
    source

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.

    +

    Object Safety§

    This trait is not object safe.

    Implementors§

    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    \ No newline at end of file diff --git a/iced_widget/text_editor/type.StyleFn.html b/iced_widget/text_editor/type.StyleFn.html index cfa3420929..83771e6dfc 100644 --- a/iced_widget/text_editor/type.StyleFn.html +++ b/iced_widget/text_editor/type.StyleFn.html @@ -1,2 +1,2 @@ -StyleFn in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Type Alias StyleFn

    source
    pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme, Status) -> Style + 'a>;
    Expand description

    A styling function for a TextEditor.

    +StyleFn in iced_widget::text_editor - Rust
    iced_widget::text_editor

    Type Alias StyleFn

    source
    pub type StyleFn<'a, Theme> = Box<dyn Fn(&Theme, Status) -> Style + 'a>;
    Expand description

    A styling function for a TextEditor.

    Aliased Type§

    struct StyleFn<'a, Theme>(/* private fields */);
    \ No newline at end of file diff --git a/iced_widget/text_input/struct.TextInput.html b/iced_widget/text_input/struct.TextInput.html index 18e1f1d793..5998288e80 100644 --- a/iced_widget/text_input/struct.TextInput.html +++ b/iced_widget/text_input/struct.TextInput.html @@ -130,10 +130,10 @@

    §Example

    ) -> Option<Element<'a, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for TextInput<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, <Renderer as Renderer>::Font: Freeze, - Message: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TextInput<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TextInput<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TextInput<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for TextInput<'a, Message, Theme, Renderer>
    where + Message: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TextInput<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TextInput<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TextInput<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for TextInput<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, <Renderer as Renderer>::Font: Unpin, - Message: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TextInput<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + Message: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TextInput<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/theme/enum.Theme.html b/iced_widget/theme/enum.Theme.html index da4f7891dc..355fdf233e 100644 --- a/iced_widget/theme/enum.Theme.html +++ b/iced_widget/theme/enum.Theme.html @@ -56,7 +56,7 @@ a custom generator of a palette::Extended.

    pub fn palette(&self) -> Palette

    Returns the Palette of the Theme.

    pub fn extended_palette(&self) -> &Extended

    Returns the palette::Extended of the Theme.

    -

    Trait Implementations§

    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    §

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    §

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature svg only.
    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature qr_code only.
    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature markdown only.
    source§

    fn code_block<'a>() -> <Self as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the menu of the PickList.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    §

    impl Clone for Theme

    §

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Theme

    §

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    §

    impl Display for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Theme

    §

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +

    Trait Implementations§

    §

    impl Catalog for Theme

    §

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    §

    fn default<'a>() -> <Theme as Catalog>::Class<'a>

    The default class produced by this Catalog.
    §

    fn style(&self, class: &<Theme as Catalog>::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature svg only.
    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature qr_code only.
    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    Available on crate feature markdown only.
    source§

    fn code_block<'a>() -> <Self as Catalog>::Class<'a>

    The styling class of a Markdown code block.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    fn default_input<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the text input of the ComboBox.
    source§

    fn default_menu<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the menu of the ComboBox.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>) -> Style

    The Style of a class with the given status.
    source§

    fn default_scrollable<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the scrollable of the Menu.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of this Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by this Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> StyleFn<'a, Self>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &StyleFn<'_, Self>, status: Status) -> Style

    The Style of a class with the given status.
    source§

    fn default_menu<'a>() -> <Self as Catalog>::Class<'a>

    The default class for the menu of the PickList.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>) -> Style

    The Style of a class with the given status.
    source§

    impl Catalog for Theme

    source§

    type Class<'a> = Box<dyn Fn(&Theme, Status) -> Style + 'a>

    The item class of the Catalog.
    source§

    fn default<'a>() -> Self::Class<'a>

    The default class produced by the Catalog.
    source§

    fn style(&self, class: &Self::Class<'_>, status: Status) -> Style

    The Style of a class with the given status.
    §

    impl Clone for Theme

    §

    fn clone(&self) -> Theme

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    §

    impl Debug for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl Default for Theme

    §

    fn default() -> Theme

    Returns the “default value” for a type. Read more
    §

    impl Display for Theme

    §

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

    Formats the value using the given formatter. Read more
    §

    impl PartialEq for Theme

    §

    fn eq(&self, other: &Theme) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    §

    impl StructuralPartialEq for Theme

    Auto Trait Implementations§

    §

    impl Freeze for Theme

    §

    impl RefUnwindSafe for Theme

    §

    impl Send for Theme

    §

    impl Sync for Theme

    §

    impl Unpin for Theme

    §

    impl UnwindSafe for Theme

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, diff --git a/iced_widget/toggler/struct.Toggler.html b/iced_widget/toggler/struct.Toggler.html index 00141788e8..d8c60f2291 100644 --- a/iced_widget/toggler/struct.Toggler.html +++ b/iced_widget/toggler/struct.Toggler.html @@ -107,9 +107,9 @@

    §Example

    _translation: Vector, ) -> Option<Element<'a, Message, Theme, Renderer>>

    Returns the overlay of the [Widget], if there is any.

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Toggler<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Freeze, - <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Toggler<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Toggler<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Toggler<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Toggler<'a, Message, Theme, Renderer>
    where + <Renderer as Renderer>::Font: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Toggler<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Toggler<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Toggler<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Toggler<'a, Message, Theme, Renderer>
    where <Theme as Catalog>::Class<'a>: Unpin, - <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Toggler<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Renderer as Renderer>::Font: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Toggler<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/tooltip/struct.Tooltip.html b/iced_widget/tooltip/struct.Tooltip.html index eac3afb7d0..711b7b6a61 100644 --- a/iced_widget/tooltip/struct.Tooltip.html +++ b/iced_widget/tooltip/struct.Tooltip.html @@ -76,8 +76,8 @@

    §Example

    _renderer: &Renderer, _operation: &mut dyn Operation, )

    Applies an [Operation] to the [Widget].

    Auto Trait Implementations§

    §

    impl<'a, Message, Theme, Renderer> Freeze for Tooltip<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Tooltip<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Tooltip<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Tooltip<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Tooltip<'a, Message, Theme, Renderer>
    where - <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Tooltip<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where + <Theme as Catalog>::Class<'a>: Freeze,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Tooltip<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Tooltip<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Tooltip<'a, Message, Theme, Renderer>

    §

    impl<'a, Message, Theme, Renderer> Unpin for Tooltip<'a, Message, Theme, Renderer>
    where + <Theme as Catalog>::Class<'a>: Unpin,

    §

    impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Tooltip<'a, Message, Theme, Renderer>

    Blanket Implementations§

    source§

    impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
    where T: Real + Zero + Arithmetics + Clone, Swp: WhitePoint<T>, Dwp: WhitePoint<T>, diff --git a/iced_widget/type.Renderer.html b/iced_widget/type.Renderer.html index 0745f60a60..950cd45bdd 100644 --- a/iced_widget/type.Renderer.html +++ b/iced_widget/type.Renderer.html @@ -1,7 +1,7 @@ -Renderer in iced_widget - Rust
    iced_widget

    Type Alias Renderer

    source
    pub type Renderer = Renderer<Renderer, Renderer>;
    Expand description

    The default graphics renderer for iced.

    +Renderer in iced_widget - Rust
    iced_widget

    Type Alias Renderer

    source
    pub type Renderer = Renderer<Renderer, Renderer>;
    Expand description

    The default graphics renderer for iced.

    Aliased Type§

    enum Renderer {
    -    Primary(Renderer),
    +    Primary(Renderer),
         Secondary(Renderer),
    -}

    Variants§

    §

    Primary(Renderer)

    The primary rendering option.

    +}

    Variants§

    §

    Primary(Renderer)

    The primary rendering option.

    §

    Secondary(Renderer)

    The secondary (or fallback) rendering option.

    \ No newline at end of file diff --git a/src/iced_widget/text_editor.rs.html b/src/iced_widget/text_editor.rs.html index 0a4e2edd7b..940c63f2ac 100644 --- a/src/iced_widget/text_editor.rs.html +++ b/src/iced_widget/text_editor.rs.html @@ -1309,7 +1309,9 @@ 1308 1309 1310 -1311
    //! Text editors display a multi-line text input for text editing.
    +1311
    +1312
    +1313
    //! Text editors display a multi-line text input for text editing.
     //!
     //! # Example
     //! ```no_run
    @@ -2356,7 +2358,9 @@
                 keyboard::Key::Named(key::Named::Backspace) => {
                     Some(Self::Backspace)
                 }
    -            keyboard::Key::Named(key::Named::Delete) if text.is_none() => {
    +            keyboard::Key::Named(key::Named::Delete)
    +                if text.is_none() || text.as_deref() == Some("\u{7f}") =>
    +            {
                     Some(Self::Delete)
                 }
                 keyboard::Key::Named(key::Named::Escape) => Some(Self::Unfocus),
    diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js
    index 865e92d1d9..e141723cde 100644
    --- a/trait.impl/core/convert/trait.From.js
    +++ b/trait.impl/core/convert/trait.From.js
    @@ -1,9 +1,9 @@
     (function() {
    -    var implementors = Object.fromEntries([["iced",[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Settings> for Settings"],["impl From<Error> for Error"],["impl From<ImageError> for Error"]]],["iced_core",[["impl From<&Handle> for Handle"],["impl From<&Handle> for Image"],["impl From<&Handle> for Svg"],["impl From<Alignment> for Horizontal"],["impl From<Alignment> for Vertical"],["impl From<Horizontal> for Alignment"],["impl From<Vertical> for Alignment"],["impl From<Gradient> for Background"],["impl From<f32> for Length"],["impl From<f32> for Rotation"],["impl From<f32> for LineHeight"],["impl From<f32> for Radius"],["impl From<f32> for Padding"],["impl From<f32> for Degrees"],["impl From<f32> for Pixels"],["impl From<f32> for Radians"],["impl From<i32> for Radius"],["impl From<u16> for Length"],["impl From<u16> for Radius"],["impl From<u16> for Padding"],["impl From<u16> for Pixels"],["impl From<u8> for Radius"],["impl From<u8> for Degrees"],["impl From<u8> for Radians"],["impl From<Alpha<Rgb, f32>> for Color"],["impl From<Rgb> for Color"],["impl From<Radius> for [f32; 4]"],["impl From<Linear> for Background"],["impl From<Linear> for Gradient"],["impl From<Padding> for Size"],["impl From<Color> for Background"],["impl From<Color> for Srgb"],["impl From<Color> for Srgba"],["impl From<Degrees> for f32"],["impl From<Degrees> for f64"],["impl From<Degrees> for Radians"],["impl From<Pixels> for Length"],["impl From<Pixels> for LineHeight"],["impl From<Pixels> for f32"],["impl From<Radians> for Rotation"],["impl From<Radians> for f32"],["impl From<Radians> for f64"],["impl From<Rectangle<u32>> for Rectangle<f32>"],["impl From<Transformation> for Mat4"],["impl From<Transformation> for [f32; 16]"],["impl From<[f32; 2]> for Padding"],["impl From<[f32; 3]> for Color"],["impl From<[f32; 4]> for Color"],["impl From<[u16; 2]> for Padding"],["impl<'a, Link, Font> From<&'a str> for Span<'a, Link, Font>"],["impl<'a, Message, Theme, Renderer> From<&'a str> for Element<'a, Message, Theme, Renderer>
    where\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Group<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Text<'a, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Theme, Renderer> From<&'a str> for Text<'a, Theme, Renderer>
    where\n Theme: Catalog + 'a,\n Renderer: Renderer,
    "],["impl<T> From<[T; 2]> for Point<T>
    where\n T: Num,
    "],["impl<T> From<[T; 2]> for Size<T>"],["impl<T> From<[T; 2]> for Vector<T>"],["impl<T> From<(T, T)> for Point<T>
    where\n T: Num,
    "],["impl<T> From<(T, T)> for Size<T>"],["impl<T> From<Point<T>> for [T; 2]"],["impl<T> From<Size<T>> for [T; 2]"],["impl<T> From<Size<T>> for Vector<T>"],["impl<T> From<Vector<T>> for [T; 2]
    where\n T: Copy,
    "],["impl<T> From<Vector<T>> for Size<T>"],["impl<T> From<T> for Handle
    where\n T: Into<PathBuf>,
    "],["impl<T> From<T> for Handle
    where\n T: Into<PathBuf>,
    "]]],["iced_graphics",[["impl From<&str> for Text"],["impl From<Gradient> for Style"],["impl From<Gradient> for Fill"],["impl From<String> for Text"],["impl From<Arc> for Elliptical"],["impl From<Linear> for Gradient"],["impl From<Linear> for Fill"],["impl From<Color> for Style"],["impl From<Color> for Fill"]]],["iced_runtime",[["impl From<Screenshot> for Bytes"],["impl<T> From<()> for Task<T>"]]],["iced_tiny_skia",[["impl From<Settings> for Settings"]]],["iced_wgpu",[["impl From<Error> for Error"],["impl From<CreateSurfaceError> for Error"],["impl From<Settings> for Settings"]]],["iced_widget",[["impl From<&'static str> for Id"],["impl From<ErrorCorrection> for EcLevel"],["impl From<Version> for Version"],["impl From<String> for Id"],["impl From<Id> for Id"],["impl From<Id> for Id"],["impl From<Id> for Id"],["impl From<Color> for Style"],["impl From<Gradient> for Style"],["impl From<Linear> for Style"],["impl From<QrError> for Error"],["impl<'a, Highlighter, Message, Theme, Renderer> From<TextEditor<'a, Highlighter, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Highlighter: Highlighter,\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer,
    "],["impl<'a, Key, Message, Theme, Renderer> From<Column<'a, Key, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Key: Copy + PartialEq + 'static,\n Message: 'a,\n Theme: 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Link, Theme, Renderer> From<Rich<'a, Link, Theme, Renderer>> for Element<'a, Link, Theme, Renderer>
    where\n Link: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme> From<QRCode<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n Theme: Catalog + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Button<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Checkbox<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Container<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<PaneGrid<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<ProgressBar<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Radio<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a + Clone,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Rule<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Scrollable<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Responsive<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Svg<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<TextInput<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Toggler<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Tooltip<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Element<'a, Message, Theme, Renderer>> for Controls<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer, Dependency, View> From<Lazy<'a, Message, Theme, Renderer, Dependency, View>> for Element<'a, Message, Theme, Renderer>
    where\n View: Into<Element<'static, Message, Theme, Renderer>> + 'static,\n Renderer: Renderer + 'static,\n Message: 'static,\n Theme: 'static,\n Dependency: Hash + 'a,
    "],["impl<'a, Message, Theme, Renderer, Handle> From<Image<Handle>> for Element<'a, Message, Theme, Renderer>
    where\n Renderer: Renderer<Handle = Handle>,\n Handle: Clone + 'a,
    "],["impl<'a, Message, Theme, Renderer, Handle> From<Viewer<Handle>> for Element<'a, Message, Theme, Renderer>
    where\n Renderer: 'a + Renderer<Handle = Handle>,\n Message: 'a,\n Handle: Clone + 'a,
    "],["impl<'a, Message, Theme, Renderer, P> From<Shader<Message, P>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Renderer: Renderer,\n P: Program<Message> + 'a,
    "],["impl<'a, P, Message, Theme, Renderer> From<Canvas<P, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a,\n Renderer: 'a + Renderer,\n P: 'a + Program<Message, Theme, Renderer>,
    "],["impl<'a, T, L, V, Message, Theme, Renderer> From<PickList<'a, T, L, V, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n T: Clone + ToString + PartialEq + 'a,\n L: Borrow<[T]> + 'a,\n V: Borrow<T> + 'a,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> From<ComboBox<'a, T, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n T: Display + Clone + 'static,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> From<Slider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n T: Copy + Into<f64> + FromPrimitive + 'a,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> From<VerticalSlider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n T: Copy + Into<f64> + FromPrimitive + 'a,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> From<T> for Content<'a, Message, Theme, Renderer>
    where\n T: Into<Element<'a, Message, Theme, Renderer>>,\n Theme: Catalog + 'a,\n Renderer: Renderer,
    "],["impl<'a, Theme> From<Style> for StyleFn<'a, Theme>"],["impl<'a, Theme> From<Style> for StyleFn<'a, Theme>"]]],["iced_winit",[["impl From<Error> for Error"]]]]); + var implementors = Object.fromEntries([["iced",[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Settings> for Settings"],["impl From<ImageError> for Error"]]],["iced_core",[["impl From<&Handle> for Handle"],["impl From<&Handle> for Image"],["impl From<&Handle> for Svg"],["impl From<Alignment> for Horizontal"],["impl From<Alignment> for Vertical"],["impl From<Horizontal> for Alignment"],["impl From<Vertical> for Alignment"],["impl From<Gradient> for Background"],["impl From<f32> for Length"],["impl From<f32> for Rotation"],["impl From<f32> for LineHeight"],["impl From<f32> for Radius"],["impl From<f32> for Padding"],["impl From<f32> for Degrees"],["impl From<f32> for Pixels"],["impl From<f32> for Radians"],["impl From<i32> for Radius"],["impl From<u16> for Length"],["impl From<u16> for Radius"],["impl From<u16> for Padding"],["impl From<u16> for Pixels"],["impl From<u8> for Radius"],["impl From<u8> for Degrees"],["impl From<u8> for Radians"],["impl From<Alpha<Rgb, f32>> for Color"],["impl From<Rgb> for Color"],["impl From<Radius> for [f32; 4]"],["impl From<Linear> for Background"],["impl From<Linear> for Gradient"],["impl From<Padding> for Size"],["impl From<Color> for Background"],["impl From<Color> for Srgb"],["impl From<Color> for Srgba"],["impl From<Degrees> for f32"],["impl From<Degrees> for f64"],["impl From<Degrees> for Radians"],["impl From<Pixels> for Length"],["impl From<Pixels> for LineHeight"],["impl From<Pixels> for f32"],["impl From<Radians> for Rotation"],["impl From<Radians> for f32"],["impl From<Radians> for f64"],["impl From<Rectangle<u32>> for Rectangle<f32>"],["impl From<Transformation> for Mat4"],["impl From<Transformation> for [f32; 16]"],["impl From<[f32; 2]> for Padding"],["impl From<[f32; 3]> for Color"],["impl From<[f32; 4]> for Color"],["impl From<[u16; 2]> for Padding"],["impl<'a, Link, Font> From<&'a str> for Span<'a, Link, Font>"],["impl<'a, Message, Theme, Renderer> From<&'a str> for Element<'a, Message, Theme, Renderer>
    where\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Group<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Text<'a, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Theme, Renderer> From<&'a str> for Text<'a, Theme, Renderer>
    where\n Theme: Catalog + 'a,\n Renderer: Renderer,
    "],["impl<T> From<[T; 2]> for Point<T>
    where\n T: Num,
    "],["impl<T> From<[T; 2]> for Size<T>"],["impl<T> From<[T; 2]> for Vector<T>"],["impl<T> From<(T, T)> for Point<T>
    where\n T: Num,
    "],["impl<T> From<(T, T)> for Size<T>"],["impl<T> From<Point<T>> for [T; 2]"],["impl<T> From<Size<T>> for [T; 2]"],["impl<T> From<Size<T>> for Vector<T>"],["impl<T> From<Vector<T>> for [T; 2]
    where\n T: Copy,
    "],["impl<T> From<Vector<T>> for Size<T>"],["impl<T> From<T> for Handle
    where\n T: Into<PathBuf>,
    "],["impl<T> From<T> for Handle
    where\n T: Into<PathBuf>,
    "]]],["iced_graphics",[["impl From<&str> for Text"],["impl From<Gradient> for Style"],["impl From<Gradient> for Fill"],["impl From<String> for Text"],["impl From<Arc> for Elliptical"],["impl From<Linear> for Gradient"],["impl From<Linear> for Fill"],["impl From<Color> for Style"],["impl From<Color> for Fill"]]],["iced_runtime",[["impl From<Screenshot> for Bytes"],["impl<T> From<()> for Task<T>"]]],["iced_tiny_skia",[["impl From<Settings> for Settings"]]],["iced_wgpu",[["impl From<Error> for Error"],["impl From<CreateSurfaceError> for Error"],["impl From<Settings> for Settings"]]],["iced_widget",[["impl From<&'static str> for Id"],["impl From<ErrorCorrection> for EcLevel"],["impl From<Version> for Version"],["impl From<String> for Id"],["impl From<Id> for Id"],["impl From<Id> for Id"],["impl From<Id> for Id"],["impl From<Color> for Style"],["impl From<Gradient> for Style"],["impl From<Linear> for Style"],["impl From<QrError> for Error"],["impl<'a, Highlighter, Message, Theme, Renderer> From<TextEditor<'a, Highlighter, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Highlighter: Highlighter,\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer,
    "],["impl<'a, Key, Message, Theme, Renderer> From<Column<'a, Key, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Key: Copy + PartialEq + 'static,\n Message: 'a,\n Theme: 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Link, Theme, Renderer> From<Rich<'a, Link, Theme, Renderer>> for Element<'a, Link, Theme, Renderer>
    where\n Link: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme> From<QRCode<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n Theme: Catalog + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Button<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Checkbox<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Container<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<PaneGrid<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<ProgressBar<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Radio<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a + Clone,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Rule<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Scrollable<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a + Catalog,\n Renderer: 'a + Renderer,
    "],["impl<'a, Message, Theme, Renderer> From<Responsive<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Svg<'a, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<TextInput<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Toggler<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Tooltip<'a, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, Message, Theme, Renderer> From<Element<'a, Message, Theme, Renderer>> for Controls<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer, Dependency, View> From<Lazy<'a, Message, Theme, Renderer, Dependency, View>> for Element<'a, Message, Theme, Renderer>
    where\n View: Into<Element<'static, Message, Theme, Renderer>> + 'static,\n Renderer: Renderer + 'static,\n Message: 'static,\n Theme: 'static,\n Dependency: Hash + 'a,
    "],["impl<'a, Message, Theme, Renderer, Handle> From<Image<Handle>> for Element<'a, Message, Theme, Renderer>
    where\n Renderer: Renderer<Handle = Handle>,\n Handle: Clone + 'a,
    "],["impl<'a, Message, Theme, Renderer, Handle> From<Viewer<Handle>> for Element<'a, Message, Theme, Renderer>
    where\n Renderer: 'a + Renderer<Handle = Handle>,\n Message: 'a,\n Handle: Clone + 'a,
    "],["impl<'a, Message, Theme, Renderer, P> From<Shader<Message, P>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Renderer: Renderer,\n P: Program<Message> + 'a,
    "],["impl<'a, P, Message, Theme, Renderer> From<Canvas<P, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n Message: 'a,\n Theme: 'a,\n Renderer: 'a + Renderer,\n P: 'a + Program<Message, Theme, Renderer>,
    "],["impl<'a, T, L, V, Message, Theme, Renderer> From<PickList<'a, T, L, V, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n T: Clone + ToString + PartialEq + 'a,\n L: Borrow<[T]> + 'a,\n V: Borrow<T> + 'a,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> From<ComboBox<'a, T, Message, Theme, Renderer>> for Element<'a, Message, Theme, Renderer>
    where\n T: Display + Clone + 'static,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> From<Slider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n T: Copy + Into<f64> + FromPrimitive + 'a,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> From<VerticalSlider<'a, T, Message, Theme>> for Element<'a, Message, Theme, Renderer>
    where\n T: Copy + Into<f64> + FromPrimitive + 'a,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> From<T> for Content<'a, Message, Theme, Renderer>
    where\n T: Into<Element<'a, Message, Theme, Renderer>>,\n Theme: Catalog + 'a,\n Renderer: Renderer,
    "],["impl<'a, Theme> From<Style> for StyleFn<'a, Theme>"],["impl<'a, Theme> From<Style> for StyleFn<'a, Theme>"]]],["iced_winit",[["impl From<Error> for Error"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1728,28436,3545,727,306,913,25769,276]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1843,28436,3545,727,306,913,25888,276]} \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Freeze.js b/trait.impl/core/marker/trait.Freeze.js index 6621372075..2953fccaaf 100644 --- a/trait.impl/core/marker/trait.Freeze.js +++ b/trait.impl/core/marker/trait.Freeze.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iced",[["impl Freeze for Error",1,["iced::error::Error"]],["impl Freeze for Error",1,["iced::window::icon::Error"]],["impl Freeze for Settings",1,["iced::settings::Settings"]],["impl<P> Freeze for Application<P>
    where\n P: Freeze,
    ",1,["iced::application::Application"]],["impl<P> Freeze for Daemon<P>
    where\n P: Freeze,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !Freeze for Handle",1,["iced_core::image::Handle"]],["impl Freeze for Alignment",1,["iced_core::alignment::Alignment"]],["impl Freeze for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl Freeze for Vertical",1,["iced_core::alignment::Vertical"]],["impl Freeze for Kind",1,["iced_core::clipboard::Kind"]],["impl Freeze for Background",1,["iced_core::background::Background"]],["impl Freeze for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl Freeze for Length",1,["iced_core::length::Length"]],["impl Freeze for Rotation",1,["iced_core::rotation::Rotation"]],["impl Freeze for Event",1,["iced_core::event::Event"]],["impl Freeze for Status",1,["iced_core::event::Status"]],["impl Freeze for Family",1,["iced_core::font::Family"]],["impl Freeze for Stretch",1,["iced_core::font::Stretch"]],["impl Freeze for Style",1,["iced_core::font::Style"]],["impl Freeze for Weight",1,["iced_core::font::Weight"]],["impl Freeze for Gradient",1,["iced_core::gradient::Gradient"]],["impl Freeze for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl Freeze for Event",1,["iced_core::keyboard::event::Event"]],["impl Freeze for Location",1,["iced_core::keyboard::location::Location"]],["impl Freeze for Code",1,["iced_core::keyboard::key::Code"]],["impl Freeze for Named",1,["iced_core::keyboard::key::Named"]],["impl Freeze for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl Freeze for Physical",1,["iced_core::keyboard::key::Physical"]],["impl Freeze for Axis",1,["iced_core::layout::flex::Axis"]],["impl Freeze for Kind",1,["iced_core::mouse::click::Kind"]],["impl Freeze for Button",1,["iced_core::mouse::button::Button"]],["impl Freeze for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl Freeze for Event",1,["iced_core::mouse::event::Event"]],["impl Freeze for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl Freeze for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl Freeze for Data",1,["iced_core::svg::Data"]],["impl Freeze for Action",1,["iced_core::text::editor::Action"]],["impl Freeze for Cursor",1,["iced_core::text::editor::Cursor"]],["impl Freeze for Direction",1,["iced_core::text::editor::Direction"]],["impl Freeze for Edit",1,["iced_core::text::editor::Edit"]],["impl Freeze for Motion",1,["iced_core::text::editor::Motion"]],["impl Freeze for Difference",1,["iced_core::text::Difference"]],["impl Freeze for Hit",1,["iced_core::text::Hit"]],["impl Freeze for LineHeight",1,["iced_core::text::LineHeight"]],["impl Freeze for Shaping",1,["iced_core::text::Shaping"]],["impl Freeze for Wrapping",1,["iced_core::text::Wrapping"]],["impl Freeze for Theme",1,["iced_core::theme::Theme"]],["impl Freeze for Event",1,["iced_core::touch::Event"]],["impl Freeze for State",1,["iced_core::widget::tree::State"]],["impl Freeze for Event",1,["iced_core::window::event::Event"]],["impl Freeze for Level",1,["iced_core::window::level::Level"]],["impl Freeze for Mode",1,["iced_core::window::mode::Mode"]],["impl Freeze for Position",1,["iced_core::window::position::Position"]],["impl Freeze for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl Freeze for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl Freeze for Error",1,["iced_core::window::icon::Error"]],["impl Freeze for Border",1,["iced_core::border::Border"]],["impl Freeze for Radius",1,["iced_core::border::Radius"]],["impl Freeze for Null",1,["iced_core::clipboard::Null"]],["impl Freeze for Font",1,["iced_core::font::Font"]],["impl Freeze for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl Freeze for Linear",1,["iced_core::gradient::Linear"]],["impl Freeze for Id",1,["iced_core::image::Id"]],["impl Freeze for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl Freeze for Limits",1,["iced_core::layout::limits::Limits"]],["impl Freeze for Node",1,["iced_core::layout::node::Node"]],["impl Freeze for Click",1,["iced_core::mouse::click::Click"]],["impl Freeze for Padding",1,["iced_core::padding::Padding"]],["impl Freeze for Quad",1,["iced_core::renderer::Quad"]],["impl Freeze for Style",1,["iced_core::renderer::Style"]],["impl Freeze for Color",1,["iced_core::color::Color"]],["impl Freeze for Degrees",1,["iced_core::angle::Degrees"]],["impl Freeze for Pixels",1,["iced_core::pixels::Pixels"]],["impl Freeze for Radians",1,["iced_core::angle::Radians"]],["impl Freeze for Shadow",1,["iced_core::shadow::Shadow"]],["impl Freeze for Transformation",1,["iced_core::transformation::Transformation"]],["impl Freeze for Handle",1,["iced_core::svg::Handle"]],["impl Freeze for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl Freeze for Highlight",1,["iced_core::text::Highlight"]],["impl Freeze for Background",1,["iced_core::theme::palette::Background"]],["impl Freeze for Danger",1,["iced_core::theme::palette::Danger"]],["impl Freeze for Extended",1,["iced_core::theme::palette::Extended"]],["impl Freeze for Pair",1,["iced_core::theme::palette::Pair"]],["impl Freeze for Palette",1,["iced_core::theme::palette::Palette"]],["impl Freeze for Primary",1,["iced_core::theme::palette::Primary"]],["impl Freeze for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl Freeze for Success",1,["iced_core::theme::palette::Success"]],["impl Freeze for Custom",1,["iced_core::theme::Custom"]],["impl Freeze for Finger",1,["iced_core::touch::Finger"]],["impl Freeze for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl Freeze for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl Freeze for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl Freeze for Id",1,["iced_core::widget::id::Id"]],["impl Freeze for Style",1,["iced_core::widget::text::Style"]],["impl Freeze for Tag",1,["iced_core::widget::tree::Tag"]],["impl Freeze for Tree",1,["iced_core::widget::tree::Tree"]],["impl Freeze for Icon",1,["iced_core::window::icon::Icon"]],["impl Freeze for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl Freeze for Settings",1,["iced_core::window::settings::Settings"]],["impl Freeze for Id",1,["iced_core::window::id::Id"]],["impl<'a> Freeze for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> Freeze for Span<'a, Link, Font>
    where\n Font: Freeze,\n Link: Freeze,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> Freeze for Shell<'a, Message>",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> Freeze for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> Freeze for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> Freeze for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> Freeze for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_core::widget::text::Text"]],["impl<C> Freeze for Key<C>
    where\n C: Freeze,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> Freeze for Text<Content, Font>
    where\n Content: Freeze,\n Font: Freeze,
    ",1,["iced_core::text::Text"]],["impl<Font> Freeze for Format<Font>
    where\n Font: Freeze,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> Freeze for Image<H>
    where\n H: Freeze,
    ",1,["iced_core::image::Image"]],["impl<H> Freeze for Svg<H>
    where\n H: Freeze,
    ",1,["iced_core::svg::Svg"]],["impl<P> Freeze for Plain<P>
    where\n P: Freeze,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> Freeze for State<P>
    where\n P: Freeze,
    ",1,["iced_core::widget::text::State"]],["impl<T> Freeze for Outcome<T>
    where\n T: Freeze,
    ",1,["iced_core::widget::operation::Outcome"]],["impl<T> Freeze for Point<T>
    where\n T: Freeze,
    ",1,["iced_core::point::Point"]],["impl<T> Freeze for Rectangle<T>
    where\n T: Freeze,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> Freeze for Size<T>
    where\n T: Freeze,
    ",1,["iced_core::size::Size"]],["impl<T> Freeze for Vector<T>
    where\n T: Freeze,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl Freeze for Event",1,["iced_futures::subscription::Event"]],["impl Freeze for MacOS",1,["iced_futures::subscription::MacOS"]],["impl Freeze for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl Freeze for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl Freeze for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl Freeze for Executor",1,["iced_futures::backend::null::Executor"]],["impl Freeze for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl<Executor, Sender, Message> Freeze for Runtime<Executor, Sender, Message>
    where\n Executor: Freeze,\n Sender: Freeze,
    ",1,["iced_futures::runtime::Runtime"]],["impl<T> Freeze for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl !Freeze for Image",1,["iced_graphics::image::Image"]],["impl Freeze for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl Freeze for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl Freeze for Error",1,["iced_graphics::error::Error"]],["impl Freeze for Reason",1,["iced_graphics::error::Reason"]],["impl Freeze for Style",1,["iced_graphics::geometry::style::Style"]],["impl Freeze for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl Freeze for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl Freeze for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl Freeze for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl Freeze for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl Freeze for Text",1,["iced_graphics::text::Text"]],["impl Freeze for Group",1,["iced_graphics::cache::Group"]],["impl Freeze for Packed",1,["iced_graphics::color::Packed"]],["impl Freeze for Information",1,["iced_graphics::compositor::Information"]],["impl Freeze for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl Freeze for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl Freeze for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl Freeze for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl Freeze for Path",1,["iced_graphics::geometry::path::Path"]],["impl Freeze for Text",1,["iced_graphics::geometry::text::Text"]],["impl Freeze for Linear",1,["iced_graphics::gradient::Linear"]],["impl Freeze for Packed",1,["iced_graphics::gradient::Packed"]],["impl Freeze for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl Freeze for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl Freeze for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl Freeze for Settings",1,["iced_graphics::settings::Settings"]],["impl Freeze for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl Freeze for Cache",1,["iced_graphics::text::cache::Cache"]],["impl Freeze for Entry",1,["iced_graphics::text::cache::Entry"]],["impl Freeze for Editor",1,["iced_graphics::text::editor::Editor"]],["impl Freeze for Weak",1,["iced_graphics::text::editor::Weak"]],["impl Freeze for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl Freeze for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl Freeze for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl Freeze for Raw",1,["iced_graphics::text::Raw"]],["impl Freeze for Version",1,["iced_graphics::text::Version"]],["impl<'a> Freeze for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> Freeze for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> Freeze for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> !Freeze for Cache<Renderer>",1,["iced_graphics::geometry::cache::Cache"]],["impl<Renderer> Freeze for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: Freeze,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<T> !Freeze for Cache<T>",1,["iced_graphics::cache::Cache"]],["impl<T> Freeze for State<T>
    where\n T: Freeze,
    ",1,["iced_graphics::cache::State"]],["impl<T> Freeze for Stack<T>",1,["iced_graphics::layer::Stack"]],["impl<T> Freeze for Indexed<T>",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl Freeze for Theme",1,["iced_highlighter::Theme"]],["impl Freeze for Highlight",1,["iced_highlighter::Highlight"]],["impl Freeze for Highlighter",1,["iced_highlighter::Highlighter"]],["impl Freeze for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> Freeze for Compositor<A, B>
    where\n A: Freeze,\n B: Freeze,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> Freeze for Renderer<A, B>
    where\n A: Freeze,\n B: Freeze,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> Freeze for Surface<A, B>
    where\n A: Freeze,\n B: Freeze,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !Freeze for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl Freeze for Action",1,["iced_runtime::clipboard::Action"]],["impl Freeze for Error",1,["iced_runtime::font::Error"]],["impl Freeze for Action",1,["iced_runtime::system::Action"]],["impl Freeze for State",1,["iced_runtime::user_interface::State"]],["impl Freeze for Action",1,["iced_runtime::window::Action"]],["impl Freeze for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl Freeze for Debug",1,["iced_runtime::debug::Debug"]],["impl Freeze for Information",1,["iced_runtime::system::Information"]],["impl Freeze for Handle",1,["iced_runtime::task::Handle"]],["impl Freeze for Cache",1,["iced_runtime::user_interface::Cache"]],["impl<'a, Message, Theme, Renderer> Freeze for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> Freeze for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> Freeze for State<P>
    where\n P: Freeze,
    ",1,["iced_runtime::multi_window::state::State"]],["impl<P> Freeze for State<P>
    where\n P: Freeze,
    ",1,["iced_runtime::program::state::State"]],["impl<T> Freeze for Action<T>
    where\n T: Freeze,
    ",1,["iced_runtime::Action"]],["impl<T> Freeze for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !Freeze for Renderer",1,["iced_tiny_skia::Renderer"]],["impl Freeze for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl Freeze for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl Freeze for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl Freeze for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl Freeze for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl Freeze for Settings",1,["iced_tiny_skia::settings::Settings"]],["impl Freeze for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]],["impl Freeze for Surface",1,["iced_tiny_skia::window::compositor::Surface"]]]],["iced_wgpu",[["impl !Freeze for Engine",1,["iced_wgpu::engine::Engine"]],["impl !Freeze for Renderer",1,["iced_wgpu::Renderer"]],["impl !Freeze for Compositor",1,["iced_wgpu::window::compositor::Compositor"]],["impl Freeze for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl Freeze for Error",1,["iced_wgpu::window::compositor::Error"]],["impl Freeze for Cache",1,["iced_wgpu::geometry::Cache"]],["impl Freeze for Frame",1,["iced_wgpu::geometry::Frame"]],["impl Freeze for Layer",1,["iced_wgpu::layer::Layer"]],["impl Freeze for Instance",1,["iced_wgpu::primitive::Instance"]],["impl Freeze for Storage",1,["iced_wgpu::primitive::Storage"]],["impl Freeze for Settings",1,["iced_wgpu::settings::Settings"]]]],["iced_widget",[["impl !Freeze for Item",1,["iced_widget::markdown::Item"]],["impl !Freeze for Text",1,["iced_widget::markdown::Text"]],["impl !Freeze for Data",1,["iced_widget::qr_code::Data"]],["impl Freeze for Status",1,["iced_widget::button::Status"]],["impl Freeze for Event",1,["iced_widget::canvas::event::Event"]],["impl Freeze for Status",1,["iced_widget::checkbox::Status"]],["impl Freeze for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl Freeze for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl Freeze for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl Freeze for Edge",1,["iced_widget::pane_grid::Edge"]],["impl Freeze for Node",1,["iced_widget::pane_grid::node::Node"]],["impl Freeze for Region",1,["iced_widget::pane_grid::Region"]],["impl Freeze for Target",1,["iced_widget::pane_grid::Target"]],["impl Freeze for Action",1,["iced_widget::pane_grid::state::Action"]],["impl Freeze for Status",1,["iced_widget::pick_list::Status"]],["impl Freeze for Error",1,["iced_widget::qr_code::Error"]],["impl Freeze for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl Freeze for Version",1,["iced_widget::qr_code::Version"]],["impl Freeze for Status",1,["iced_widget::radio::Status"]],["impl Freeze for FillMode",1,["iced_widget::rule::FillMode"]],["impl Freeze for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl Freeze for Direction",1,["iced_widget::scrollable::Direction"]],["impl Freeze for Status",1,["iced_widget::scrollable::Status"]],["impl Freeze for Event",1,["iced_widget::shader::event::Event"]],["impl Freeze for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl Freeze for Status",1,["iced_widget::slider::Status"]],["impl Freeze for Status",1,["iced_widget::svg::Status"]],["impl Freeze for Status",1,["iced_widget::text_editor::Status"]],["impl Freeze for State",1,["iced_widget::text_input::cursor::State"]],["impl Freeze for Side",1,["iced_widget::text_input::Side"]],["impl Freeze for Status",1,["iced_widget::text_input::Status"]],["impl Freeze for Status",1,["iced_widget::toggler::Status"]],["impl Freeze for Position",1,["iced_widget::tooltip::Position"]],["impl Freeze for Style",1,["iced_widget::button::Style"]],["impl Freeze for Style",1,["iced_widget::checkbox::Style"]],["impl Freeze for Id",1,["iced_widget::container::Id"]],["impl Freeze for Style",1,["iced_widget::container::Style"]],["impl Freeze for State",1,["iced_widget::image::viewer::State"]],["impl Freeze for Settings",1,["iced_widget::markdown::Settings"]],["impl Freeze for Style",1,["iced_widget::markdown::Style"]],["impl Freeze for State",1,["iced_widget::overlay::menu::State"]],["impl Freeze for Style",1,["iced_widget::overlay::menu::Style"]],["impl Freeze for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl Freeze for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl Freeze for Line",1,["iced_widget::pane_grid::Line"]],["impl Freeze for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl Freeze for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl Freeze for Split",1,["iced_widget::pane_grid::split::Split"]],["impl Freeze for Style",1,["iced_widget::pane_grid::Style"]],["impl Freeze for Style",1,["iced_widget::pick_list::Style"]],["impl Freeze for Style",1,["iced_widget::progress_bar::Style"]],["impl Freeze for Style",1,["iced_widget::qr_code::Style"]],["impl Freeze for Style",1,["iced_widget::radio::Style"]],["impl Freeze for Style",1,["iced_widget::rule::Style"]],["impl Freeze for Id",1,["iced_widget::scrollable::Id"]],["impl Freeze for Rail",1,["iced_widget::scrollable::Rail"]],["impl Freeze for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl Freeze for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl Freeze for Style",1,["iced_widget::scrollable::Style"]],["impl Freeze for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl Freeze for Handle",1,["iced_widget::slider::Handle"]],["impl Freeze for Rail",1,["iced_widget::slider::Rail"]],["impl Freeze for Style",1,["iced_widget::slider::Style"]],["impl Freeze for Style",1,["iced_widget::svg::Style"]],["impl Freeze for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl Freeze for Style",1,["iced_widget::text_editor::Style"]],["impl Freeze for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl Freeze for Id",1,["iced_widget::text_input::Id"]],["impl Freeze for Style",1,["iced_widget::text_input::Style"]],["impl Freeze for Value",1,["iced_widget::text_input::value::Value"]],["impl Freeze for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme, Renderer> Freeze for Menu<'a, 'b, T, Message, Theme, Renderer>
    where\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme, Renderer> Freeze for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Highlighter as Highlighter>::Settings: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme, Renderer> Freeze for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme, Renderer> Freeze for Rich<'a, Link, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Freeze for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme, Renderer> Freeze for Button<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n Message: Freeze,
    ",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme, Renderer> Freeze for Checkbox<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme, Renderer> Freeze for Container<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme, Renderer> Freeze for Content<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme, Renderer> Freeze for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme, Renderer> Freeze for PaneGrid<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme, Renderer> Freeze for TitleBar<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme, Renderer> Freeze for Radio<'a, Message, Theme, Renderer>
    where\n Message: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer> Freeze for Scrollable<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme, Renderer> Freeze for TextInput<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,\n Message: Freeze,
    ",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme, Renderer> Freeze for Toggler<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme, Renderer> Freeze for Tooltip<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !Freeze for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> Freeze for Contents<'a, T>
    where\n T: Freeze,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme, Renderer> Freeze for PickList<'a, T, L, V, Message, Theme, Renderer>
    where\n L: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n Message: Freeze,\n V: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme> Freeze for Slider<'a, T, Message, Theme>
    where\n T: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n Message: Freeze,
    ",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme> Freeze for VerticalSlider<'a, T, Message, Theme>
    where\n T: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n Message: Freeze,
    ",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme, Renderer> Freeze for ComboBox<'a, T, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,\n Message: Freeze,
    ",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme> Freeze for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> Freeze for QRCode<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> Freeze for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> Freeze for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> Freeze for Handle<Font>
    where\n Font: Freeze,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> Freeze for Icon<Font>
    where\n Font: Freeze,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> Freeze for Icon<Font>
    where\n Font: Freeze,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> Freeze for Icon<Font>
    where\n Font: Freeze,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> Freeze for Image<Handle>
    where\n Handle: Freeze,
    ",1,["iced_widget::image::Image"]],["impl<Handle> Freeze for Viewer<Handle>
    where\n Handle: Freeze,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> !Freeze for State<Highlighter>",1,["iced_widget::text_editor::State"]],["impl<Message> Freeze for Binding<Message>
    where\n Message: Freeze,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> Freeze for Shader<Message, P>
    where\n P: Freeze,
    ",1,["iced_widget::shader::Shader"]],["impl<P> Freeze for State<P>
    where\n P: Freeze,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> Freeze for Canvas<P, Message, Theme, Renderer>
    where\n P: Freeze,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R = Renderer<Renderer, Renderer>> !Freeze for Content<R>",1,["iced_widget::text_editor::Content"]],["impl<T> !Freeze for State<T>",1,["iced_widget::combo_box::State"]],["impl<T> Freeze for Configuration<T>
    where\n T: Freeze,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> Freeze for State<T>",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl Freeze for Error",1,["iced_winit::error::Error"]],["impl Freeze for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl Freeze for Appearance",1,["iced_winit::program::Appearance"]],["impl Freeze for Settings",1,["iced_winit::settings::Settings"]],["impl<P> Freeze for State<P>
    where\n <P as Program>::Theme: Freeze,
    ",1,["iced_winit::program::state::State"]],["impl<T> Freeze for Proxy<T>",1,["iced_winit::proxy::Proxy"]]]]]); + var implementors = Object.fromEntries([["iced",[["impl Freeze for Error",1,["iced::error::Error"]],["impl Freeze for Error",1,["iced::window::icon::Error"]],["impl Freeze for Settings",1,["iced::settings::Settings"]],["impl<P> Freeze for Application<P>
    where\n P: Freeze,
    ",1,["iced::application::Application"]],["impl<P> Freeze for Daemon<P>
    where\n P: Freeze,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !Freeze for Handle",1,["iced_core::image::Handle"]],["impl Freeze for Alignment",1,["iced_core::alignment::Alignment"]],["impl Freeze for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl Freeze for Vertical",1,["iced_core::alignment::Vertical"]],["impl Freeze for Kind",1,["iced_core::clipboard::Kind"]],["impl Freeze for Background",1,["iced_core::background::Background"]],["impl Freeze for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl Freeze for Length",1,["iced_core::length::Length"]],["impl Freeze for Rotation",1,["iced_core::rotation::Rotation"]],["impl Freeze for Event",1,["iced_core::event::Event"]],["impl Freeze for Status",1,["iced_core::event::Status"]],["impl Freeze for Family",1,["iced_core::font::Family"]],["impl Freeze for Stretch",1,["iced_core::font::Stretch"]],["impl Freeze for Style",1,["iced_core::font::Style"]],["impl Freeze for Weight",1,["iced_core::font::Weight"]],["impl Freeze for Gradient",1,["iced_core::gradient::Gradient"]],["impl Freeze for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl Freeze for Event",1,["iced_core::keyboard::event::Event"]],["impl Freeze for Location",1,["iced_core::keyboard::location::Location"]],["impl Freeze for Code",1,["iced_core::keyboard::key::Code"]],["impl Freeze for Named",1,["iced_core::keyboard::key::Named"]],["impl Freeze for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl Freeze for Physical",1,["iced_core::keyboard::key::Physical"]],["impl Freeze for Axis",1,["iced_core::layout::flex::Axis"]],["impl Freeze for Kind",1,["iced_core::mouse::click::Kind"]],["impl Freeze for Button",1,["iced_core::mouse::button::Button"]],["impl Freeze for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl Freeze for Event",1,["iced_core::mouse::event::Event"]],["impl Freeze for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl Freeze for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl Freeze for Data",1,["iced_core::svg::Data"]],["impl Freeze for Action",1,["iced_core::text::editor::Action"]],["impl Freeze for Cursor",1,["iced_core::text::editor::Cursor"]],["impl Freeze for Direction",1,["iced_core::text::editor::Direction"]],["impl Freeze for Edit",1,["iced_core::text::editor::Edit"]],["impl Freeze for Motion",1,["iced_core::text::editor::Motion"]],["impl Freeze for Difference",1,["iced_core::text::Difference"]],["impl Freeze for Hit",1,["iced_core::text::Hit"]],["impl Freeze for LineHeight",1,["iced_core::text::LineHeight"]],["impl Freeze for Shaping",1,["iced_core::text::Shaping"]],["impl Freeze for Wrapping",1,["iced_core::text::Wrapping"]],["impl Freeze for Theme",1,["iced_core::theme::Theme"]],["impl Freeze for Event",1,["iced_core::touch::Event"]],["impl Freeze for State",1,["iced_core::widget::tree::State"]],["impl Freeze for Event",1,["iced_core::window::event::Event"]],["impl Freeze for Level",1,["iced_core::window::level::Level"]],["impl Freeze for Mode",1,["iced_core::window::mode::Mode"]],["impl Freeze for Position",1,["iced_core::window::position::Position"]],["impl Freeze for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl Freeze for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl Freeze for Error",1,["iced_core::window::icon::Error"]],["impl Freeze for Border",1,["iced_core::border::Border"]],["impl Freeze for Radius",1,["iced_core::border::Radius"]],["impl Freeze for Null",1,["iced_core::clipboard::Null"]],["impl Freeze for Font",1,["iced_core::font::Font"]],["impl Freeze for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl Freeze for Linear",1,["iced_core::gradient::Linear"]],["impl Freeze for Id",1,["iced_core::image::Id"]],["impl Freeze for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl Freeze for Limits",1,["iced_core::layout::limits::Limits"]],["impl Freeze for Node",1,["iced_core::layout::node::Node"]],["impl Freeze for Click",1,["iced_core::mouse::click::Click"]],["impl Freeze for Padding",1,["iced_core::padding::Padding"]],["impl Freeze for Quad",1,["iced_core::renderer::Quad"]],["impl Freeze for Style",1,["iced_core::renderer::Style"]],["impl Freeze for Color",1,["iced_core::color::Color"]],["impl Freeze for Degrees",1,["iced_core::angle::Degrees"]],["impl Freeze for Pixels",1,["iced_core::pixels::Pixels"]],["impl Freeze for Radians",1,["iced_core::angle::Radians"]],["impl Freeze for Shadow",1,["iced_core::shadow::Shadow"]],["impl Freeze for Transformation",1,["iced_core::transformation::Transformation"]],["impl Freeze for Handle",1,["iced_core::svg::Handle"]],["impl Freeze for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl Freeze for Highlight",1,["iced_core::text::Highlight"]],["impl Freeze for Background",1,["iced_core::theme::palette::Background"]],["impl Freeze for Danger",1,["iced_core::theme::palette::Danger"]],["impl Freeze for Extended",1,["iced_core::theme::palette::Extended"]],["impl Freeze for Pair",1,["iced_core::theme::palette::Pair"]],["impl Freeze for Palette",1,["iced_core::theme::palette::Palette"]],["impl Freeze for Primary",1,["iced_core::theme::palette::Primary"]],["impl Freeze for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl Freeze for Success",1,["iced_core::theme::palette::Success"]],["impl Freeze for Custom",1,["iced_core::theme::Custom"]],["impl Freeze for Finger",1,["iced_core::touch::Finger"]],["impl Freeze for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl Freeze for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl Freeze for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl Freeze for Id",1,["iced_core::widget::id::Id"]],["impl Freeze for Style",1,["iced_core::widget::text::Style"]],["impl Freeze for Tag",1,["iced_core::widget::tree::Tag"]],["impl Freeze for Tree",1,["iced_core::widget::tree::Tree"]],["impl Freeze for Icon",1,["iced_core::window::icon::Icon"]],["impl Freeze for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl Freeze for Settings",1,["iced_core::window::settings::Settings"]],["impl Freeze for Id",1,["iced_core::window::id::Id"]],["impl<'a> Freeze for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> Freeze for Span<'a, Link, Font>
    where\n Font: Freeze,\n Link: Freeze,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> Freeze for Shell<'a, Message>",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> Freeze for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> Freeze for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> Freeze for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> Freeze for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_core::widget::text::Text"]],["impl<C> Freeze for Key<C>
    where\n C: Freeze,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> Freeze for Text<Content, Font>
    where\n Content: Freeze,\n Font: Freeze,
    ",1,["iced_core::text::Text"]],["impl<Font> Freeze for Format<Font>
    where\n Font: Freeze,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> Freeze for Image<H>
    where\n H: Freeze,
    ",1,["iced_core::image::Image"]],["impl<H> Freeze for Svg<H>
    where\n H: Freeze,
    ",1,["iced_core::svg::Svg"]],["impl<P> Freeze for Plain<P>
    where\n P: Freeze,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> Freeze for State<P>
    where\n P: Freeze,
    ",1,["iced_core::widget::text::State"]],["impl<T> Freeze for Outcome<T>
    where\n T: Freeze,
    ",1,["iced_core::widget::operation::Outcome"]],["impl<T> Freeze for Point<T>
    where\n T: Freeze,
    ",1,["iced_core::point::Point"]],["impl<T> Freeze for Rectangle<T>
    where\n T: Freeze,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> Freeze for Size<T>
    where\n T: Freeze,
    ",1,["iced_core::size::Size"]],["impl<T> Freeze for Vector<T>
    where\n T: Freeze,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl Freeze for Event",1,["iced_futures::subscription::Event"]],["impl Freeze for MacOS",1,["iced_futures::subscription::MacOS"]],["impl Freeze for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl Freeze for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl Freeze for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl Freeze for Executor",1,["iced_futures::backend::null::Executor"]],["impl Freeze for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl<Executor, Sender, Message> Freeze for Runtime<Executor, Sender, Message>
    where\n Executor: Freeze,\n Sender: Freeze,
    ",1,["iced_futures::runtime::Runtime"]],["impl<T> Freeze for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl !Freeze for Image",1,["iced_graphics::image::Image"]],["impl Freeze for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl Freeze for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl Freeze for Error",1,["iced_graphics::error::Error"]],["impl Freeze for Reason",1,["iced_graphics::error::Reason"]],["impl Freeze for Style",1,["iced_graphics::geometry::style::Style"]],["impl Freeze for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl Freeze for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl Freeze for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl Freeze for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl Freeze for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl Freeze for Text",1,["iced_graphics::text::Text"]],["impl Freeze for Group",1,["iced_graphics::cache::Group"]],["impl Freeze for Packed",1,["iced_graphics::color::Packed"]],["impl Freeze for Information",1,["iced_graphics::compositor::Information"]],["impl Freeze for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl Freeze for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl Freeze for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl Freeze for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl Freeze for Path",1,["iced_graphics::geometry::path::Path"]],["impl Freeze for Text",1,["iced_graphics::geometry::text::Text"]],["impl Freeze for Linear",1,["iced_graphics::gradient::Linear"]],["impl Freeze for Packed",1,["iced_graphics::gradient::Packed"]],["impl Freeze for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl Freeze for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl Freeze for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl Freeze for Settings",1,["iced_graphics::settings::Settings"]],["impl Freeze for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl Freeze for Cache",1,["iced_graphics::text::cache::Cache"]],["impl Freeze for Entry",1,["iced_graphics::text::cache::Entry"]],["impl Freeze for Editor",1,["iced_graphics::text::editor::Editor"]],["impl Freeze for Weak",1,["iced_graphics::text::editor::Weak"]],["impl Freeze for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl Freeze for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl Freeze for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl Freeze for Raw",1,["iced_graphics::text::Raw"]],["impl Freeze for Version",1,["iced_graphics::text::Version"]],["impl<'a> Freeze for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> Freeze for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> Freeze for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> !Freeze for Cache<Renderer>",1,["iced_graphics::geometry::cache::Cache"]],["impl<Renderer> Freeze for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: Freeze,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<T> !Freeze for Cache<T>",1,["iced_graphics::cache::Cache"]],["impl<T> Freeze for State<T>
    where\n T: Freeze,
    ",1,["iced_graphics::cache::State"]],["impl<T> Freeze for Stack<T>",1,["iced_graphics::layer::Stack"]],["impl<T> Freeze for Indexed<T>",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl Freeze for Theme",1,["iced_highlighter::Theme"]],["impl Freeze for Highlight",1,["iced_highlighter::Highlight"]],["impl Freeze for Highlighter",1,["iced_highlighter::Highlighter"]],["impl Freeze for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> Freeze for Compositor<A, B>
    where\n A: Freeze,\n B: Freeze,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> Freeze for Renderer<A, B>
    where\n A: Freeze,\n B: Freeze,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> Freeze for Surface<A, B>
    where\n A: Freeze,\n B: Freeze,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !Freeze for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl Freeze for Action",1,["iced_runtime::clipboard::Action"]],["impl Freeze for Error",1,["iced_runtime::font::Error"]],["impl Freeze for Action",1,["iced_runtime::system::Action"]],["impl Freeze for State",1,["iced_runtime::user_interface::State"]],["impl Freeze for Action",1,["iced_runtime::window::Action"]],["impl Freeze for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl Freeze for Debug",1,["iced_runtime::debug::Debug"]],["impl Freeze for Information",1,["iced_runtime::system::Information"]],["impl Freeze for Handle",1,["iced_runtime::task::Handle"]],["impl Freeze for Cache",1,["iced_runtime::user_interface::Cache"]],["impl<'a, Message, Theme, Renderer> Freeze for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> Freeze for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> Freeze for State<P>
    where\n P: Freeze,
    ",1,["iced_runtime::multi_window::state::State"]],["impl<P> Freeze for State<P>
    where\n P: Freeze,
    ",1,["iced_runtime::program::state::State"]],["impl<T> Freeze for Action<T>
    where\n T: Freeze,
    ",1,["iced_runtime::Action"]],["impl<T> Freeze for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !Freeze for Renderer",1,["iced_tiny_skia::Renderer"]],["impl Freeze for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl Freeze for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl Freeze for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl Freeze for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl Freeze for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl Freeze for Settings",1,["iced_tiny_skia::settings::Settings"]],["impl Freeze for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]],["impl Freeze for Surface",1,["iced_tiny_skia::window::compositor::Surface"]]]],["iced_wgpu",[["impl !Freeze for Engine",1,["iced_wgpu::engine::Engine"]],["impl !Freeze for Renderer",1,["iced_wgpu::Renderer"]],["impl !Freeze for Compositor",1,["iced_wgpu::window::compositor::Compositor"]],["impl Freeze for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl Freeze for Error",1,["iced_wgpu::window::compositor::Error"]],["impl Freeze for Cache",1,["iced_wgpu::geometry::Cache"]],["impl Freeze for Frame",1,["iced_wgpu::geometry::Frame"]],["impl Freeze for Layer",1,["iced_wgpu::layer::Layer"]],["impl Freeze for Instance",1,["iced_wgpu::primitive::Instance"]],["impl Freeze for Storage",1,["iced_wgpu::primitive::Storage"]],["impl Freeze for Settings",1,["iced_wgpu::settings::Settings"]]]],["iced_widget",[["impl !Freeze for Item",1,["iced_widget::markdown::Item"]],["impl !Freeze for Text",1,["iced_widget::markdown::Text"]],["impl !Freeze for Data",1,["iced_widget::qr_code::Data"]],["impl Freeze for Status",1,["iced_widget::button::Status"]],["impl Freeze for Event",1,["iced_widget::canvas::event::Event"]],["impl Freeze for Status",1,["iced_widget::checkbox::Status"]],["impl Freeze for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl Freeze for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl Freeze for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl Freeze for Edge",1,["iced_widget::pane_grid::Edge"]],["impl Freeze for Node",1,["iced_widget::pane_grid::node::Node"]],["impl Freeze for Region",1,["iced_widget::pane_grid::Region"]],["impl Freeze for Target",1,["iced_widget::pane_grid::Target"]],["impl Freeze for Action",1,["iced_widget::pane_grid::state::Action"]],["impl Freeze for Status",1,["iced_widget::pick_list::Status"]],["impl Freeze for Error",1,["iced_widget::qr_code::Error"]],["impl Freeze for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl Freeze for Version",1,["iced_widget::qr_code::Version"]],["impl Freeze for Status",1,["iced_widget::radio::Status"]],["impl Freeze for FillMode",1,["iced_widget::rule::FillMode"]],["impl Freeze for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl Freeze for Direction",1,["iced_widget::scrollable::Direction"]],["impl Freeze for Status",1,["iced_widget::scrollable::Status"]],["impl Freeze for Event",1,["iced_widget::shader::event::Event"]],["impl Freeze for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl Freeze for Status",1,["iced_widget::slider::Status"]],["impl Freeze for Status",1,["iced_widget::svg::Status"]],["impl Freeze for Status",1,["iced_widget::text_editor::Status"]],["impl Freeze for State",1,["iced_widget::text_input::cursor::State"]],["impl Freeze for Side",1,["iced_widget::text_input::Side"]],["impl Freeze for Status",1,["iced_widget::text_input::Status"]],["impl Freeze for Status",1,["iced_widget::toggler::Status"]],["impl Freeze for Position",1,["iced_widget::tooltip::Position"]],["impl Freeze for Style",1,["iced_widget::button::Style"]],["impl Freeze for Style",1,["iced_widget::checkbox::Style"]],["impl Freeze for Id",1,["iced_widget::container::Id"]],["impl Freeze for Style",1,["iced_widget::container::Style"]],["impl Freeze for State",1,["iced_widget::image::viewer::State"]],["impl Freeze for Settings",1,["iced_widget::markdown::Settings"]],["impl Freeze for Style",1,["iced_widget::markdown::Style"]],["impl Freeze for State",1,["iced_widget::overlay::menu::State"]],["impl Freeze for Style",1,["iced_widget::overlay::menu::Style"]],["impl Freeze for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl Freeze for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl Freeze for Line",1,["iced_widget::pane_grid::Line"]],["impl Freeze for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl Freeze for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl Freeze for Split",1,["iced_widget::pane_grid::split::Split"]],["impl Freeze for Style",1,["iced_widget::pane_grid::Style"]],["impl Freeze for Style",1,["iced_widget::pick_list::Style"]],["impl Freeze for Style",1,["iced_widget::progress_bar::Style"]],["impl Freeze for Style",1,["iced_widget::qr_code::Style"]],["impl Freeze for Style",1,["iced_widget::radio::Style"]],["impl Freeze for Style",1,["iced_widget::rule::Style"]],["impl Freeze for Id",1,["iced_widget::scrollable::Id"]],["impl Freeze for Rail",1,["iced_widget::scrollable::Rail"]],["impl Freeze for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl Freeze for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl Freeze for Style",1,["iced_widget::scrollable::Style"]],["impl Freeze for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl Freeze for Handle",1,["iced_widget::slider::Handle"]],["impl Freeze for Rail",1,["iced_widget::slider::Rail"]],["impl Freeze for Style",1,["iced_widget::slider::Style"]],["impl Freeze for Style",1,["iced_widget::svg::Style"]],["impl Freeze for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl Freeze for Style",1,["iced_widget::text_editor::Style"]],["impl Freeze for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl Freeze for Id",1,["iced_widget::text_input::Id"]],["impl Freeze for Style",1,["iced_widget::text_input::Style"]],["impl Freeze for Value",1,["iced_widget::text_input::value::Value"]],["impl Freeze for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme, Renderer> Freeze for Menu<'a, 'b, T, Message, Theme, Renderer>
    where\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme, Renderer> Freeze for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Highlighter as Highlighter>::Settings: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme, Renderer> Freeze for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme, Renderer> Freeze for Rich<'a, Link, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Freeze for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme, Renderer> Freeze for Button<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n Message: Freeze,
    ",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme, Renderer> Freeze for Checkbox<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme, Renderer> Freeze for Container<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme, Renderer> Freeze for Content<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme, Renderer> Freeze for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme, Renderer> Freeze for PaneGrid<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme, Renderer> Freeze for TitleBar<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme, Renderer> Freeze for Radio<'a, Message, Theme, Renderer>
    where\n Message: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer> Freeze for Scrollable<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme, Renderer> Freeze for TextInput<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,\n Message: Freeze,
    ",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme, Renderer> Freeze for Toggler<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme, Renderer> Freeze for Tooltip<'a, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !Freeze for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> Freeze for Contents<'a, T>
    where\n T: Freeze,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme, Renderer> Freeze for PickList<'a, T, L, V, Message, Theme, Renderer>
    where\n L: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n Message: Freeze,\n V: Freeze,\n <Renderer as Renderer>::Font: Freeze,
    ",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme> Freeze for Slider<'a, T, Message, Theme>
    where\n T: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n Message: Freeze,
    ",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme> Freeze for VerticalSlider<'a, T, Message, Theme>
    where\n T: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n Message: Freeze,
    ",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme, Renderer> Freeze for ComboBox<'a, T, Message, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Freeze,\n <Theme as Catalog>::Class<'a>: Freeze,\n <Renderer as Renderer>::Font: Freeze,\n Message: Freeze,
    ",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme> Freeze for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> Freeze for QRCode<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> Freeze for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> Freeze for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Freeze,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> Freeze for Handle<Font>
    where\n Font: Freeze,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> Freeze for Icon<Font>
    where\n Font: Freeze,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> Freeze for Icon<Font>
    where\n Font: Freeze,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> Freeze for Icon<Font>
    where\n Font: Freeze,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> Freeze for Image<Handle>
    where\n Handle: Freeze,
    ",1,["iced_widget::image::Image"]],["impl<Handle> Freeze for Viewer<Handle>
    where\n Handle: Freeze,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> !Freeze for State<Highlighter>",1,["iced_widget::text_editor::State"]],["impl<Message> Freeze for Binding<Message>
    where\n Message: Freeze,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> Freeze for Shader<Message, P>
    where\n P: Freeze,
    ",1,["iced_widget::shader::Shader"]],["impl<P> Freeze for State<P>
    where\n P: Freeze,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> Freeze for Canvas<P, Message, Theme, Renderer>
    where\n P: Freeze,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R = Renderer<Renderer, Renderer>> !Freeze for Content<R>",1,["iced_widget::text_editor::Content"]],["impl<T> !Freeze for State<T>",1,["iced_widget::combo_box::State"]],["impl<T> Freeze for Configuration<T>
    where\n T: Freeze,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> Freeze for State<T>",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl Freeze for Error",1,["iced_winit::error::Error"]],["impl Freeze for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl Freeze for Appearance",1,["iced_winit::program::Appearance"]],["impl Freeze for Settings",1,["iced_winit::settings::Settings"]],["impl<P> Freeze for State<P>
    where\n <P as Program>::Theme: Freeze,
    ",1,["iced_winit::program::state::State"]],["impl<T> Freeze for Proxy<T>",1,["iced_winit::proxy::Proxy"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1883,39672,3538,15895,1261,2058,6255,2949,3458,56465,2382]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1883,39672,3538,15895,1261,2058,6255,2949,3458,56667,2382]} \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Send.js b/trait.impl/core/marker/trait.Send.js index 65c60a1f82..fe381a95f7 100644 --- a/trait.impl/core/marker/trait.Send.js +++ b/trait.impl/core/marker/trait.Send.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iced",[["impl Send for Error",1,["iced::error::Error"]],["impl Send for Error",1,["iced::window::icon::Error"]],["impl Send for Settings",1,["iced::settings::Settings"]],["impl<P> Send for Application<P>
    where\n P: Send,
    ",1,["iced::application::Application"]],["impl<P> Send for Daemon<P>
    where\n P: Send,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !Send for State",1,["iced_core::widget::tree::State"]],["impl !Send for Tree",1,["iced_core::widget::tree::Tree"]],["impl Send for Alignment",1,["iced_core::alignment::Alignment"]],["impl Send for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl Send for Vertical",1,["iced_core::alignment::Vertical"]],["impl Send for Kind",1,["iced_core::clipboard::Kind"]],["impl Send for Background",1,["iced_core::background::Background"]],["impl Send for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl Send for Length",1,["iced_core::length::Length"]],["impl Send for Rotation",1,["iced_core::rotation::Rotation"]],["impl Send for Event",1,["iced_core::event::Event"]],["impl Send for Status",1,["iced_core::event::Status"]],["impl Send for Family",1,["iced_core::font::Family"]],["impl Send for Stretch",1,["iced_core::font::Stretch"]],["impl Send for Style",1,["iced_core::font::Style"]],["impl Send for Weight",1,["iced_core::font::Weight"]],["impl Send for Gradient",1,["iced_core::gradient::Gradient"]],["impl Send for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl Send for Handle",1,["iced_core::image::Handle"]],["impl Send for Event",1,["iced_core::keyboard::event::Event"]],["impl Send for Location",1,["iced_core::keyboard::location::Location"]],["impl Send for Code",1,["iced_core::keyboard::key::Code"]],["impl Send for Named",1,["iced_core::keyboard::key::Named"]],["impl Send for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl Send for Physical",1,["iced_core::keyboard::key::Physical"]],["impl Send for Axis",1,["iced_core::layout::flex::Axis"]],["impl Send for Kind",1,["iced_core::mouse::click::Kind"]],["impl Send for Button",1,["iced_core::mouse::button::Button"]],["impl Send for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl Send for Event",1,["iced_core::mouse::event::Event"]],["impl Send for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl Send for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl Send for Data",1,["iced_core::svg::Data"]],["impl Send for Action",1,["iced_core::text::editor::Action"]],["impl Send for Cursor",1,["iced_core::text::editor::Cursor"]],["impl Send for Direction",1,["iced_core::text::editor::Direction"]],["impl Send for Edit",1,["iced_core::text::editor::Edit"]],["impl Send for Motion",1,["iced_core::text::editor::Motion"]],["impl Send for Difference",1,["iced_core::text::Difference"]],["impl Send for Hit",1,["iced_core::text::Hit"]],["impl Send for LineHeight",1,["iced_core::text::LineHeight"]],["impl Send for Shaping",1,["iced_core::text::Shaping"]],["impl Send for Wrapping",1,["iced_core::text::Wrapping"]],["impl Send for Theme",1,["iced_core::theme::Theme"]],["impl Send for Event",1,["iced_core::touch::Event"]],["impl Send for Event",1,["iced_core::window::event::Event"]],["impl Send for Level",1,["iced_core::window::level::Level"]],["impl Send for Mode",1,["iced_core::window::mode::Mode"]],["impl Send for Position",1,["iced_core::window::position::Position"]],["impl Send for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl Send for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl Send for Error",1,["iced_core::window::icon::Error"]],["impl Send for Border",1,["iced_core::border::Border"]],["impl Send for Radius",1,["iced_core::border::Radius"]],["impl Send for Null",1,["iced_core::clipboard::Null"]],["impl Send for Font",1,["iced_core::font::Font"]],["impl Send for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl Send for Linear",1,["iced_core::gradient::Linear"]],["impl Send for Id",1,["iced_core::image::Id"]],["impl Send for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl Send for Limits",1,["iced_core::layout::limits::Limits"]],["impl Send for Node",1,["iced_core::layout::node::Node"]],["impl Send for Click",1,["iced_core::mouse::click::Click"]],["impl Send for Padding",1,["iced_core::padding::Padding"]],["impl Send for Quad",1,["iced_core::renderer::Quad"]],["impl Send for Style",1,["iced_core::renderer::Style"]],["impl Send for Color",1,["iced_core::color::Color"]],["impl Send for Degrees",1,["iced_core::angle::Degrees"]],["impl Send for Pixels",1,["iced_core::pixels::Pixels"]],["impl Send for Radians",1,["iced_core::angle::Radians"]],["impl Send for Shadow",1,["iced_core::shadow::Shadow"]],["impl Send for Transformation",1,["iced_core::transformation::Transformation"]],["impl Send for Handle",1,["iced_core::svg::Handle"]],["impl Send for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl Send for Highlight",1,["iced_core::text::Highlight"]],["impl Send for Background",1,["iced_core::theme::palette::Background"]],["impl Send for Danger",1,["iced_core::theme::palette::Danger"]],["impl Send for Extended",1,["iced_core::theme::palette::Extended"]],["impl Send for Pair",1,["iced_core::theme::palette::Pair"]],["impl Send for Palette",1,["iced_core::theme::palette::Palette"]],["impl Send for Primary",1,["iced_core::theme::palette::Primary"]],["impl Send for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl Send for Success",1,["iced_core::theme::palette::Success"]],["impl Send for Custom",1,["iced_core::theme::Custom"]],["impl Send for Finger",1,["iced_core::touch::Finger"]],["impl Send for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl Send for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl Send for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl Send for Id",1,["iced_core::widget::id::Id"]],["impl Send for Style",1,["iced_core::widget::text::Style"]],["impl Send for Tag",1,["iced_core::widget::tree::Tag"]],["impl Send for Icon",1,["iced_core::window::icon::Icon"]],["impl Send for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl Send for Settings",1,["iced_core::window::settings::Settings"]],["impl Send for Id",1,["iced_core::window::id::Id"]],["impl<'a> Send for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> Send for Span<'a, Link, Font>
    where\n Font: Send,\n Link: Send,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> Send for Shell<'a, Message>
    where\n Message: Send,
    ",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> !Send for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> !Send for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> !Send for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> Send for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Send,\n <Renderer as Renderer>::Font: Send,
    ",1,["iced_core::widget::text::Text"]],["impl<C> Send for Key<C>
    where\n C: Send,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> Send for Text<Content, Font>
    where\n Content: Send,\n Font: Send,
    ",1,["iced_core::text::Text"]],["impl<Font> Send for Format<Font>
    where\n Font: Send,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> Send for Image<H>
    where\n H: Send,
    ",1,["iced_core::image::Image"]],["impl<H> Send for Svg<H>
    where\n H: Send,
    ",1,["iced_core::svg::Svg"]],["impl<P> Send for Plain<P>
    where\n P: Send,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> Send for State<P>
    where\n P: Send,
    ",1,["iced_core::widget::text::State"]],["impl<T> Send for Outcome<T>
    where\n T: Send,
    ",1,["iced_core::widget::operation::Outcome"]],["impl<T> Send for Point<T>
    where\n T: Send,
    ",1,["iced_core::point::Point"]],["impl<T> Send for Rectangle<T>
    where\n T: Send,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> Send for Size<T>
    where\n T: Send,
    ",1,["iced_core::size::Size"]],["impl<T> Send for Vector<T>
    where\n T: Send,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl Send for Event",1,["iced_futures::subscription::Event"]],["impl Send for MacOS",1,["iced_futures::subscription::MacOS"]],["impl Send for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl Send for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl Send for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl Send for Executor",1,["iced_futures::backend::null::Executor"]],["impl Send for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl<Executor, Sender, Message> Send for Runtime<Executor, Sender, Message>
    where\n Executor: Send,\n Sender: Send,\n Message: Send,
    ",1,["iced_futures::runtime::Runtime"]],["impl<T> !Send for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl Send for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl Send for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl Send for Error",1,["iced_graphics::error::Error"]],["impl Send for Reason",1,["iced_graphics::error::Reason"]],["impl Send for Style",1,["iced_graphics::geometry::style::Style"]],["impl Send for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl Send for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl Send for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl Send for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl Send for Image",1,["iced_graphics::image::Image"]],["impl Send for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl Send for Text",1,["iced_graphics::text::Text"]],["impl Send for Group",1,["iced_graphics::cache::Group"]],["impl Send for Packed",1,["iced_graphics::color::Packed"]],["impl Send for Information",1,["iced_graphics::compositor::Information"]],["impl Send for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl Send for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl Send for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl Send for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl Send for Path",1,["iced_graphics::geometry::path::Path"]],["impl Send for Text",1,["iced_graphics::geometry::text::Text"]],["impl Send for Linear",1,["iced_graphics::gradient::Linear"]],["impl Send for Packed",1,["iced_graphics::gradient::Packed"]],["impl Send for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl Send for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl Send for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl Send for Settings",1,["iced_graphics::settings::Settings"]],["impl Send for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl Send for Cache",1,["iced_graphics::text::cache::Cache"]],["impl Send for Entry",1,["iced_graphics::text::cache::Entry"]],["impl Send for Editor",1,["iced_graphics::text::editor::Editor"]],["impl Send for Weak",1,["iced_graphics::text::editor::Weak"]],["impl Send for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl Send for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl Send for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl Send for Raw",1,["iced_graphics::text::Raw"]],["impl Send for Version",1,["iced_graphics::text::Version"]],["impl<'a> Send for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> Send for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> Send for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> Send for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: Send,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<Renderer> Send for Cache<Renderer>
    where\n <<Renderer as Renderer>::Geometry as Cached>::Cache: Send,
    ",1,["iced_graphics::geometry::cache::Cache"]],["impl<T> Send for State<T>
    where\n T: Send,
    ",1,["iced_graphics::cache::State"]],["impl<T> Send for Cache<T>
    where\n T: Send,
    ",1,["iced_graphics::cache::Cache"]],["impl<T> Send for Stack<T>
    where\n T: Send,
    ",1,["iced_graphics::layer::Stack"]],["impl<T> Send for Indexed<T>
    where\n T: Send,
    ",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl !Send for Highlighter",1,["iced_highlighter::Highlighter"]],["impl Send for Theme",1,["iced_highlighter::Theme"]],["impl Send for Highlight",1,["iced_highlighter::Highlight"]],["impl Send for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> Send for Compositor<A, B>
    where\n A: Send,\n B: Send,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> Send for Renderer<A, B>
    where\n A: Send,\n B: Send,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> Send for Surface<A, B>
    where\n A: Send,\n B: Send,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !Send for Cache",1,["iced_runtime::user_interface::Cache"]],["impl Send for Action",1,["iced_runtime::clipboard::Action"]],["impl Send for Error",1,["iced_runtime::font::Error"]],["impl Send for Action",1,["iced_runtime::system::Action"]],["impl Send for State",1,["iced_runtime::user_interface::State"]],["impl Send for Action",1,["iced_runtime::window::Action"]],["impl Send for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl Send for Debug",1,["iced_runtime::debug::Debug"]],["impl Send for Information",1,["iced_runtime::system::Information"]],["impl Send for Handle",1,["iced_runtime::task::Handle"]],["impl Send for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl<'a, Message, Theme, Renderer> !Send for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> !Send for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> !Send for State<P>",1,["iced_runtime::multi_window::state::State"]],["impl<P> !Send for State<P>",1,["iced_runtime::program::state::State"]],["impl<T> Send for Action<T>
    where\n T: Send,
    ",1,["iced_runtime::Action"]],["impl<T> Send for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !Send for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl !Send for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl !Send for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl !Send for Renderer",1,["iced_tiny_skia::Renderer"]],["impl !Send for Surface",1,["iced_tiny_skia::window::compositor::Surface"]],["impl Send for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl Send for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl Send for Settings",1,["iced_tiny_skia::settings::Settings"]],["impl Send for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]]]],["iced_wgpu",[["impl !Send for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl !Send for Cache",1,["iced_wgpu::geometry::Cache"]],["impl !Send for Layer",1,["iced_wgpu::layer::Layer"]],["impl !Send for Renderer",1,["iced_wgpu::Renderer"]],["impl Send for Error",1,["iced_wgpu::window::compositor::Error"]],["impl Send for Frame",1,["iced_wgpu::geometry::Frame"]],["impl Send for Instance",1,["iced_wgpu::primitive::Instance"]],["impl Send for Storage",1,["iced_wgpu::primitive::Storage"]],["impl Send for Settings",1,["iced_wgpu::settings::Settings"]],["impl Send for Engine",1,["iced_wgpu::engine::Engine"]],["impl Send for Compositor",1,["iced_wgpu::window::compositor::Compositor"]]]],["iced_widget",[["impl !Send for State",1,["iced_widget::overlay::menu::State"]],["impl !Send for Data",1,["iced_widget::qr_code::Data"]],["impl Send for Status",1,["iced_widget::button::Status"]],["impl Send for Event",1,["iced_widget::canvas::event::Event"]],["impl Send for Status",1,["iced_widget::checkbox::Status"]],["impl Send for Item",1,["iced_widget::markdown::Item"]],["impl Send for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl Send for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl Send for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl Send for Edge",1,["iced_widget::pane_grid::Edge"]],["impl Send for Node",1,["iced_widget::pane_grid::node::Node"]],["impl Send for Region",1,["iced_widget::pane_grid::Region"]],["impl Send for Target",1,["iced_widget::pane_grid::Target"]],["impl Send for Action",1,["iced_widget::pane_grid::state::Action"]],["impl Send for Status",1,["iced_widget::pick_list::Status"]],["impl Send for Error",1,["iced_widget::qr_code::Error"]],["impl Send for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl Send for Version",1,["iced_widget::qr_code::Version"]],["impl Send for Status",1,["iced_widget::radio::Status"]],["impl Send for FillMode",1,["iced_widget::rule::FillMode"]],["impl Send for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl Send for Direction",1,["iced_widget::scrollable::Direction"]],["impl Send for Status",1,["iced_widget::scrollable::Status"]],["impl Send for Event",1,["iced_widget::shader::event::Event"]],["impl Send for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl Send for Status",1,["iced_widget::slider::Status"]],["impl Send for Status",1,["iced_widget::svg::Status"]],["impl Send for Status",1,["iced_widget::text_editor::Status"]],["impl Send for State",1,["iced_widget::text_input::cursor::State"]],["impl Send for Side",1,["iced_widget::text_input::Side"]],["impl Send for Status",1,["iced_widget::text_input::Status"]],["impl Send for Status",1,["iced_widget::toggler::Status"]],["impl Send for Position",1,["iced_widget::tooltip::Position"]],["impl Send for Style",1,["iced_widget::button::Style"]],["impl Send for Style",1,["iced_widget::checkbox::Style"]],["impl Send for Id",1,["iced_widget::container::Id"]],["impl Send for Style",1,["iced_widget::container::Style"]],["impl Send for State",1,["iced_widget::image::viewer::State"]],["impl Send for Settings",1,["iced_widget::markdown::Settings"]],["impl Send for Style",1,["iced_widget::markdown::Style"]],["impl Send for Text",1,["iced_widget::markdown::Text"]],["impl Send for Style",1,["iced_widget::overlay::menu::Style"]],["impl Send for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl Send for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl Send for Line",1,["iced_widget::pane_grid::Line"]],["impl Send for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl Send for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl Send for Split",1,["iced_widget::pane_grid::split::Split"]],["impl Send for Style",1,["iced_widget::pane_grid::Style"]],["impl Send for Style",1,["iced_widget::pick_list::Style"]],["impl Send for Style",1,["iced_widget::progress_bar::Style"]],["impl Send for Style",1,["iced_widget::qr_code::Style"]],["impl Send for Style",1,["iced_widget::radio::Style"]],["impl Send for Style",1,["iced_widget::rule::Style"]],["impl Send for Id",1,["iced_widget::scrollable::Id"]],["impl Send for Rail",1,["iced_widget::scrollable::Rail"]],["impl Send for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl Send for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl Send for Style",1,["iced_widget::scrollable::Style"]],["impl Send for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl Send for Handle",1,["iced_widget::slider::Handle"]],["impl Send for Rail",1,["iced_widget::slider::Rail"]],["impl Send for Style",1,["iced_widget::slider::Style"]],["impl Send for Style",1,["iced_widget::svg::Style"]],["impl Send for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl Send for Style",1,["iced_widget::text_editor::Style"]],["impl Send for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl Send for Id",1,["iced_widget::text_input::Id"]],["impl Send for Style",1,["iced_widget::text_input::Style"]],["impl Send for Value",1,["iced_widget::text_input::value::Value"]],["impl Send for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Menu<'a, 'b, T, Message, Theme, Renderer>",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TextEditor<'a, Highlighter, Message, Theme, Renderer>",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Rich<'a, Link, Theme, Renderer>",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Button<'a, Message, Theme, Renderer>",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Checkbox<'a, Message, Theme, Renderer>",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Container<'a, Message, Theme, Renderer>",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Content<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PaneGrid<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TitleBar<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Scrollable<'a, Message, Theme, Renderer>",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TextInput<'a, Message, Theme, Renderer>",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Toggler<'a, Message, Theme, Renderer>",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Tooltip<'a, Message, Theme, Renderer>",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer> Send for Radio<'a, Message, Theme, Renderer>
    where\n Message: Send,\n <Theme as Catalog>::Class<'a>: Send,\n <Renderer as Renderer>::Font: Send,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !Send for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> Send for Contents<'a, T>
    where\n T: Send,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PickList<'a, T, L, V, Message, Theme, Renderer>",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme = Theme> !Send for Slider<'a, T, Message, Theme>",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme = Theme> !Send for VerticalSlider<'a, T, Message, Theme>",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for ComboBox<'a, T, Message, Theme, Renderer>",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme = Theme> !Send for QRCode<'a, Theme>",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> Send for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Send,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> Send for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Send,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> Send for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Send,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> Send for Handle<Font>
    where\n Font: Send,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> Send for Icon<Font>
    where\n Font: Send,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> Send for Icon<Font>
    where\n Font: Send,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> Send for Icon<Font>
    where\n Font: Send,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> Send for Image<Handle>
    where\n Handle: Send,
    ",1,["iced_widget::image::Image"]],["impl<Handle> Send for Viewer<Handle>
    where\n Handle: Send,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> Send for State<Highlighter>
    where\n <Highlighter as Highlighter>::Settings: Send,\n Highlighter: Send,
    ",1,["iced_widget::text_editor::State"]],["impl<Message> Send for Binding<Message>
    where\n Message: Send,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> Send for Shader<Message, P>
    where\n P: Send,\n Message: Send,
    ",1,["iced_widget::shader::Shader"]],["impl<P> Send for State<P>
    where\n P: Send,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> Send for Canvas<P, Message, Theme, Renderer>
    where\n P: Send,\n Message: Send,\n Theme: Send,\n Renderer: Send,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R> Send for Content<R>
    where\n <R as Renderer>::Editor: Send,
    ",1,["iced_widget::text_editor::Content"]],["impl<T> Send for Configuration<T>
    where\n T: Send,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> Send for State<T>
    where\n T: Send,
    ",1,["iced_widget::combo_box::State"]],["impl<T> Send for State<T>
    where\n T: Send,
    ",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl !Send for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl Send for Error",1,["iced_winit::error::Error"]],["impl Send for Appearance",1,["iced_winit::program::Appearance"]],["impl Send for Settings",1,["iced_winit::settings::Settings"]],["impl<P> Send for State<P>
    where\n <P as Program>::Theme: Send,
    ",1,["iced_winit::program::state::State"]],["impl<T> Send for Proxy<T>
    where\n T: Send,
    ",1,["iced_winit::proxy::Proxy"]]]]]); + var implementors = Object.fromEntries([["iced",[["impl Send for Error",1,["iced::error::Error"]],["impl Send for Error",1,["iced::window::icon::Error"]],["impl Send for Settings",1,["iced::settings::Settings"]],["impl<P> Send for Application<P>
    where\n P: Send,
    ",1,["iced::application::Application"]],["impl<P> Send for Daemon<P>
    where\n P: Send,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !Send for State",1,["iced_core::widget::tree::State"]],["impl !Send for Tree",1,["iced_core::widget::tree::Tree"]],["impl Send for Alignment",1,["iced_core::alignment::Alignment"]],["impl Send for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl Send for Vertical",1,["iced_core::alignment::Vertical"]],["impl Send for Kind",1,["iced_core::clipboard::Kind"]],["impl Send for Background",1,["iced_core::background::Background"]],["impl Send for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl Send for Length",1,["iced_core::length::Length"]],["impl Send for Rotation",1,["iced_core::rotation::Rotation"]],["impl Send for Event",1,["iced_core::event::Event"]],["impl Send for Status",1,["iced_core::event::Status"]],["impl Send for Family",1,["iced_core::font::Family"]],["impl Send for Stretch",1,["iced_core::font::Stretch"]],["impl Send for Style",1,["iced_core::font::Style"]],["impl Send for Weight",1,["iced_core::font::Weight"]],["impl Send for Gradient",1,["iced_core::gradient::Gradient"]],["impl Send for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl Send for Handle",1,["iced_core::image::Handle"]],["impl Send for Event",1,["iced_core::keyboard::event::Event"]],["impl Send for Location",1,["iced_core::keyboard::location::Location"]],["impl Send for Code",1,["iced_core::keyboard::key::Code"]],["impl Send for Named",1,["iced_core::keyboard::key::Named"]],["impl Send for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl Send for Physical",1,["iced_core::keyboard::key::Physical"]],["impl Send for Axis",1,["iced_core::layout::flex::Axis"]],["impl Send for Kind",1,["iced_core::mouse::click::Kind"]],["impl Send for Button",1,["iced_core::mouse::button::Button"]],["impl Send for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl Send for Event",1,["iced_core::mouse::event::Event"]],["impl Send for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl Send for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl Send for Data",1,["iced_core::svg::Data"]],["impl Send for Action",1,["iced_core::text::editor::Action"]],["impl Send for Cursor",1,["iced_core::text::editor::Cursor"]],["impl Send for Direction",1,["iced_core::text::editor::Direction"]],["impl Send for Edit",1,["iced_core::text::editor::Edit"]],["impl Send for Motion",1,["iced_core::text::editor::Motion"]],["impl Send for Difference",1,["iced_core::text::Difference"]],["impl Send for Hit",1,["iced_core::text::Hit"]],["impl Send for LineHeight",1,["iced_core::text::LineHeight"]],["impl Send for Shaping",1,["iced_core::text::Shaping"]],["impl Send for Wrapping",1,["iced_core::text::Wrapping"]],["impl Send for Theme",1,["iced_core::theme::Theme"]],["impl Send for Event",1,["iced_core::touch::Event"]],["impl Send for Event",1,["iced_core::window::event::Event"]],["impl Send for Level",1,["iced_core::window::level::Level"]],["impl Send for Mode",1,["iced_core::window::mode::Mode"]],["impl Send for Position",1,["iced_core::window::position::Position"]],["impl Send for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl Send for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl Send for Error",1,["iced_core::window::icon::Error"]],["impl Send for Border",1,["iced_core::border::Border"]],["impl Send for Radius",1,["iced_core::border::Radius"]],["impl Send for Null",1,["iced_core::clipboard::Null"]],["impl Send for Font",1,["iced_core::font::Font"]],["impl Send for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl Send for Linear",1,["iced_core::gradient::Linear"]],["impl Send for Id",1,["iced_core::image::Id"]],["impl Send for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl Send for Limits",1,["iced_core::layout::limits::Limits"]],["impl Send for Node",1,["iced_core::layout::node::Node"]],["impl Send for Click",1,["iced_core::mouse::click::Click"]],["impl Send for Padding",1,["iced_core::padding::Padding"]],["impl Send for Quad",1,["iced_core::renderer::Quad"]],["impl Send for Style",1,["iced_core::renderer::Style"]],["impl Send for Color",1,["iced_core::color::Color"]],["impl Send for Degrees",1,["iced_core::angle::Degrees"]],["impl Send for Pixels",1,["iced_core::pixels::Pixels"]],["impl Send for Radians",1,["iced_core::angle::Radians"]],["impl Send for Shadow",1,["iced_core::shadow::Shadow"]],["impl Send for Transformation",1,["iced_core::transformation::Transformation"]],["impl Send for Handle",1,["iced_core::svg::Handle"]],["impl Send for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl Send for Highlight",1,["iced_core::text::Highlight"]],["impl Send for Background",1,["iced_core::theme::palette::Background"]],["impl Send for Danger",1,["iced_core::theme::palette::Danger"]],["impl Send for Extended",1,["iced_core::theme::palette::Extended"]],["impl Send for Pair",1,["iced_core::theme::palette::Pair"]],["impl Send for Palette",1,["iced_core::theme::palette::Palette"]],["impl Send for Primary",1,["iced_core::theme::palette::Primary"]],["impl Send for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl Send for Success",1,["iced_core::theme::palette::Success"]],["impl Send for Custom",1,["iced_core::theme::Custom"]],["impl Send for Finger",1,["iced_core::touch::Finger"]],["impl Send for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl Send for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl Send for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl Send for Id",1,["iced_core::widget::id::Id"]],["impl Send for Style",1,["iced_core::widget::text::Style"]],["impl Send for Tag",1,["iced_core::widget::tree::Tag"]],["impl Send for Icon",1,["iced_core::window::icon::Icon"]],["impl Send for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl Send for Settings",1,["iced_core::window::settings::Settings"]],["impl Send for Id",1,["iced_core::window::id::Id"]],["impl<'a> Send for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> Send for Span<'a, Link, Font>
    where\n Font: Send,\n Link: Send,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> Send for Shell<'a, Message>
    where\n Message: Send,
    ",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> !Send for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> !Send for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> !Send for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> Send for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Send,\n <Renderer as Renderer>::Font: Send,
    ",1,["iced_core::widget::text::Text"]],["impl<C> Send for Key<C>
    where\n C: Send,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> Send for Text<Content, Font>
    where\n Content: Send,\n Font: Send,
    ",1,["iced_core::text::Text"]],["impl<Font> Send for Format<Font>
    where\n Font: Send,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> Send for Image<H>
    where\n H: Send,
    ",1,["iced_core::image::Image"]],["impl<H> Send for Svg<H>
    where\n H: Send,
    ",1,["iced_core::svg::Svg"]],["impl<P> Send for Plain<P>
    where\n P: Send,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> Send for State<P>
    where\n P: Send,
    ",1,["iced_core::widget::text::State"]],["impl<T> Send for Outcome<T>
    where\n T: Send,
    ",1,["iced_core::widget::operation::Outcome"]],["impl<T> Send for Point<T>
    where\n T: Send,
    ",1,["iced_core::point::Point"]],["impl<T> Send for Rectangle<T>
    where\n T: Send,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> Send for Size<T>
    where\n T: Send,
    ",1,["iced_core::size::Size"]],["impl<T> Send for Vector<T>
    where\n T: Send,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl Send for Event",1,["iced_futures::subscription::Event"]],["impl Send for MacOS",1,["iced_futures::subscription::MacOS"]],["impl Send for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl Send for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl Send for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl Send for Executor",1,["iced_futures::backend::null::Executor"]],["impl Send for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl<Executor, Sender, Message> Send for Runtime<Executor, Sender, Message>
    where\n Executor: Send,\n Sender: Send,\n Message: Send,
    ",1,["iced_futures::runtime::Runtime"]],["impl<T> !Send for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl Send for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl Send for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl Send for Error",1,["iced_graphics::error::Error"]],["impl Send for Reason",1,["iced_graphics::error::Reason"]],["impl Send for Style",1,["iced_graphics::geometry::style::Style"]],["impl Send for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl Send for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl Send for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl Send for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl Send for Image",1,["iced_graphics::image::Image"]],["impl Send for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl Send for Text",1,["iced_graphics::text::Text"]],["impl Send for Group",1,["iced_graphics::cache::Group"]],["impl Send for Packed",1,["iced_graphics::color::Packed"]],["impl Send for Information",1,["iced_graphics::compositor::Information"]],["impl Send for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl Send for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl Send for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl Send for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl Send for Path",1,["iced_graphics::geometry::path::Path"]],["impl Send for Text",1,["iced_graphics::geometry::text::Text"]],["impl Send for Linear",1,["iced_graphics::gradient::Linear"]],["impl Send for Packed",1,["iced_graphics::gradient::Packed"]],["impl Send for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl Send for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl Send for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl Send for Settings",1,["iced_graphics::settings::Settings"]],["impl Send for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl Send for Cache",1,["iced_graphics::text::cache::Cache"]],["impl Send for Entry",1,["iced_graphics::text::cache::Entry"]],["impl Send for Editor",1,["iced_graphics::text::editor::Editor"]],["impl Send for Weak",1,["iced_graphics::text::editor::Weak"]],["impl Send for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl Send for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl Send for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl Send for Raw",1,["iced_graphics::text::Raw"]],["impl Send for Version",1,["iced_graphics::text::Version"]],["impl<'a> Send for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> Send for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> Send for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> Send for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: Send,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<Renderer> Send for Cache<Renderer>
    where\n <<Renderer as Renderer>::Geometry as Cached>::Cache: Send,
    ",1,["iced_graphics::geometry::cache::Cache"]],["impl<T> Send for State<T>
    where\n T: Send,
    ",1,["iced_graphics::cache::State"]],["impl<T> Send for Cache<T>
    where\n T: Send,
    ",1,["iced_graphics::cache::Cache"]],["impl<T> Send for Stack<T>
    where\n T: Send,
    ",1,["iced_graphics::layer::Stack"]],["impl<T> Send for Indexed<T>
    where\n T: Send,
    ",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl !Send for Highlighter",1,["iced_highlighter::Highlighter"]],["impl Send for Theme",1,["iced_highlighter::Theme"]],["impl Send for Highlight",1,["iced_highlighter::Highlight"]],["impl Send for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> Send for Compositor<A, B>
    where\n A: Send,\n B: Send,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> Send for Renderer<A, B>
    where\n A: Send,\n B: Send,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> Send for Surface<A, B>
    where\n A: Send,\n B: Send,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !Send for Cache",1,["iced_runtime::user_interface::Cache"]],["impl Send for Action",1,["iced_runtime::clipboard::Action"]],["impl Send for Error",1,["iced_runtime::font::Error"]],["impl Send for Action",1,["iced_runtime::system::Action"]],["impl Send for State",1,["iced_runtime::user_interface::State"]],["impl Send for Action",1,["iced_runtime::window::Action"]],["impl Send for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl Send for Debug",1,["iced_runtime::debug::Debug"]],["impl Send for Information",1,["iced_runtime::system::Information"]],["impl Send for Handle",1,["iced_runtime::task::Handle"]],["impl Send for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl<'a, Message, Theme, Renderer> !Send for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> !Send for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> !Send for State<P>",1,["iced_runtime::multi_window::state::State"]],["impl<P> !Send for State<P>",1,["iced_runtime::program::state::State"]],["impl<T> Send for Action<T>
    where\n T: Send,
    ",1,["iced_runtime::Action"]],["impl<T> Send for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !Send for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl !Send for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl !Send for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl !Send for Renderer",1,["iced_tiny_skia::Renderer"]],["impl !Send for Surface",1,["iced_tiny_skia::window::compositor::Surface"]],["impl Send for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl Send for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl Send for Settings",1,["iced_tiny_skia::settings::Settings"]],["impl Send for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]]]],["iced_wgpu",[["impl !Send for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl !Send for Cache",1,["iced_wgpu::geometry::Cache"]],["impl !Send for Layer",1,["iced_wgpu::layer::Layer"]],["impl !Send for Renderer",1,["iced_wgpu::Renderer"]],["impl Send for Error",1,["iced_wgpu::window::compositor::Error"]],["impl Send for Frame",1,["iced_wgpu::geometry::Frame"]],["impl Send for Instance",1,["iced_wgpu::primitive::Instance"]],["impl Send for Storage",1,["iced_wgpu::primitive::Storage"]],["impl Send for Settings",1,["iced_wgpu::settings::Settings"]],["impl Send for Engine",1,["iced_wgpu::engine::Engine"]],["impl Send for Compositor",1,["iced_wgpu::window::compositor::Compositor"]]]],["iced_widget",[["impl !Send for State",1,["iced_widget::overlay::menu::State"]],["impl !Send for Data",1,["iced_widget::qr_code::Data"]],["impl Send for Status",1,["iced_widget::button::Status"]],["impl Send for Event",1,["iced_widget::canvas::event::Event"]],["impl Send for Status",1,["iced_widget::checkbox::Status"]],["impl Send for Item",1,["iced_widget::markdown::Item"]],["impl Send for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl Send for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl Send for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl Send for Edge",1,["iced_widget::pane_grid::Edge"]],["impl Send for Node",1,["iced_widget::pane_grid::node::Node"]],["impl Send for Region",1,["iced_widget::pane_grid::Region"]],["impl Send for Target",1,["iced_widget::pane_grid::Target"]],["impl Send for Action",1,["iced_widget::pane_grid::state::Action"]],["impl Send for Status",1,["iced_widget::pick_list::Status"]],["impl Send for Error",1,["iced_widget::qr_code::Error"]],["impl Send for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl Send for Version",1,["iced_widget::qr_code::Version"]],["impl Send for Status",1,["iced_widget::radio::Status"]],["impl Send for FillMode",1,["iced_widget::rule::FillMode"]],["impl Send for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl Send for Direction",1,["iced_widget::scrollable::Direction"]],["impl Send for Status",1,["iced_widget::scrollable::Status"]],["impl Send for Event",1,["iced_widget::shader::event::Event"]],["impl Send for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl Send for Status",1,["iced_widget::slider::Status"]],["impl Send for Status",1,["iced_widget::svg::Status"]],["impl Send for Status",1,["iced_widget::text_editor::Status"]],["impl Send for State",1,["iced_widget::text_input::cursor::State"]],["impl Send for Side",1,["iced_widget::text_input::Side"]],["impl Send for Status",1,["iced_widget::text_input::Status"]],["impl Send for Status",1,["iced_widget::toggler::Status"]],["impl Send for Position",1,["iced_widget::tooltip::Position"]],["impl Send for Style",1,["iced_widget::button::Style"]],["impl Send for Style",1,["iced_widget::checkbox::Style"]],["impl Send for Id",1,["iced_widget::container::Id"]],["impl Send for Style",1,["iced_widget::container::Style"]],["impl Send for State",1,["iced_widget::image::viewer::State"]],["impl Send for Settings",1,["iced_widget::markdown::Settings"]],["impl Send for Style",1,["iced_widget::markdown::Style"]],["impl Send for Text",1,["iced_widget::markdown::Text"]],["impl Send for Style",1,["iced_widget::overlay::menu::Style"]],["impl Send for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl Send for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl Send for Line",1,["iced_widget::pane_grid::Line"]],["impl Send for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl Send for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl Send for Split",1,["iced_widget::pane_grid::split::Split"]],["impl Send for Style",1,["iced_widget::pane_grid::Style"]],["impl Send for Style",1,["iced_widget::pick_list::Style"]],["impl Send for Style",1,["iced_widget::progress_bar::Style"]],["impl Send for Style",1,["iced_widget::qr_code::Style"]],["impl Send for Style",1,["iced_widget::radio::Style"]],["impl Send for Style",1,["iced_widget::rule::Style"]],["impl Send for Id",1,["iced_widget::scrollable::Id"]],["impl Send for Rail",1,["iced_widget::scrollable::Rail"]],["impl Send for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl Send for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl Send for Style",1,["iced_widget::scrollable::Style"]],["impl Send for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl Send for Handle",1,["iced_widget::slider::Handle"]],["impl Send for Rail",1,["iced_widget::slider::Rail"]],["impl Send for Style",1,["iced_widget::slider::Style"]],["impl Send for Style",1,["iced_widget::svg::Style"]],["impl Send for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl Send for Style",1,["iced_widget::text_editor::Style"]],["impl Send for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl Send for Id",1,["iced_widget::text_input::Id"]],["impl Send for Style",1,["iced_widget::text_input::Style"]],["impl Send for Value",1,["iced_widget::text_input::value::Value"]],["impl Send for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Menu<'a, 'b, T, Message, Theme, Renderer>",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TextEditor<'a, Highlighter, Message, Theme, Renderer>",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Rich<'a, Link, Theme, Renderer>",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Button<'a, Message, Theme, Renderer>",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Checkbox<'a, Message, Theme, Renderer>",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Container<'a, Message, Theme, Renderer>",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Content<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PaneGrid<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TitleBar<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Scrollable<'a, Message, Theme, Renderer>",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for TextInput<'a, Message, Theme, Renderer>",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Toggler<'a, Message, Theme, Renderer>",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for Tooltip<'a, Message, Theme, Renderer>",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer> Send for Radio<'a, Message, Theme, Renderer>
    where\n Message: Send,\n <Theme as Catalog>::Class<'a>: Send,\n <Renderer as Renderer>::Font: Send,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !Send for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> Send for Contents<'a, T>
    where\n T: Send,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for PickList<'a, T, L, V, Message, Theme, Renderer>",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme = Theme> !Send for Slider<'a, T, Message, Theme>",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme = Theme> !Send for VerticalSlider<'a, T, Message, Theme>",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Send for ComboBox<'a, T, Message, Theme, Renderer>",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme = Theme> !Send for QRCode<'a, Theme>",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> Send for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Send,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> Send for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Send,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> Send for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Send,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> Send for Handle<Font>
    where\n Font: Send,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> Send for Icon<Font>
    where\n Font: Send,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> Send for Icon<Font>
    where\n Font: Send,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> Send for Icon<Font>
    where\n Font: Send,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> Send for Image<Handle>
    where\n Handle: Send,
    ",1,["iced_widget::image::Image"]],["impl<Handle> Send for Viewer<Handle>
    where\n Handle: Send,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> Send for State<Highlighter>
    where\n <Highlighter as Highlighter>::Settings: Send,\n Highlighter: Send,
    ",1,["iced_widget::text_editor::State"]],["impl<Message> Send for Binding<Message>
    where\n Message: Send,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> Send for Shader<Message, P>
    where\n P: Send,\n Message: Send,
    ",1,["iced_widget::shader::Shader"]],["impl<P> Send for State<P>
    where\n P: Send,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> Send for Canvas<P, Message, Theme, Renderer>
    where\n P: Send,\n Message: Send,\n Theme: Send,\n Renderer: Send,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R> Send for Content<R>
    where\n <R as Renderer>::Editor: Send,
    ",1,["iced_widget::text_editor::Content"]],["impl<T> Send for Configuration<T>
    where\n T: Send,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> Send for State<T>
    where\n T: Send,
    ",1,["iced_widget::combo_box::State"]],["impl<T> Send for State<T>
    where\n T: Send,
    ",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl !Send for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl Send for Error",1,["iced_winit::error::Error"]],["impl Send for Appearance",1,["iced_winit::program::Appearance"]],["impl Send for Settings",1,["iced_winit::settings::Settings"]],["impl<P> Send for State<P>
    where\n <P as Program>::Theme: Send,
    ",1,["iced_winit::program::state::State"]],["impl<T> Send for Proxy<T>
    where\n T: Send,
    ",1,["iced_winit::proxy::Proxy"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1841,39071,3622,16924,1238,2004,5789,2899,3393,48716,2516]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1841,39071,3622,16924,1238,2004,5789,2899,3393,50534,2516]} \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Sync.js b/trait.impl/core/marker/trait.Sync.js index c89a989b5e..030cf365c5 100644 --- a/trait.impl/core/marker/trait.Sync.js +++ b/trait.impl/core/marker/trait.Sync.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iced",[["impl Sync for Error",1,["iced::error::Error"]],["impl Sync for Error",1,["iced::window::icon::Error"]],["impl Sync for Settings",1,["iced::settings::Settings"]],["impl<P> Sync for Application<P>
    where\n P: Sync,
    ",1,["iced::application::Application"]],["impl<P> Sync for Daemon<P>
    where\n P: Sync,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !Sync for State",1,["iced_core::widget::tree::State"]],["impl !Sync for Tree",1,["iced_core::widget::tree::Tree"]],["impl Sync for Alignment",1,["iced_core::alignment::Alignment"]],["impl Sync for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl Sync for Vertical",1,["iced_core::alignment::Vertical"]],["impl Sync for Kind",1,["iced_core::clipboard::Kind"]],["impl Sync for Background",1,["iced_core::background::Background"]],["impl Sync for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl Sync for Length",1,["iced_core::length::Length"]],["impl Sync for Rotation",1,["iced_core::rotation::Rotation"]],["impl Sync for Event",1,["iced_core::event::Event"]],["impl Sync for Status",1,["iced_core::event::Status"]],["impl Sync for Family",1,["iced_core::font::Family"]],["impl Sync for Stretch",1,["iced_core::font::Stretch"]],["impl Sync for Style",1,["iced_core::font::Style"]],["impl Sync for Weight",1,["iced_core::font::Weight"]],["impl Sync for Gradient",1,["iced_core::gradient::Gradient"]],["impl Sync for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl Sync for Handle",1,["iced_core::image::Handle"]],["impl Sync for Event",1,["iced_core::keyboard::event::Event"]],["impl Sync for Location",1,["iced_core::keyboard::location::Location"]],["impl Sync for Code",1,["iced_core::keyboard::key::Code"]],["impl Sync for Named",1,["iced_core::keyboard::key::Named"]],["impl Sync for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl Sync for Physical",1,["iced_core::keyboard::key::Physical"]],["impl Sync for Axis",1,["iced_core::layout::flex::Axis"]],["impl Sync for Kind",1,["iced_core::mouse::click::Kind"]],["impl Sync for Button",1,["iced_core::mouse::button::Button"]],["impl Sync for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl Sync for Event",1,["iced_core::mouse::event::Event"]],["impl Sync for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl Sync for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl Sync for Data",1,["iced_core::svg::Data"]],["impl Sync for Action",1,["iced_core::text::editor::Action"]],["impl Sync for Cursor",1,["iced_core::text::editor::Cursor"]],["impl Sync for Direction",1,["iced_core::text::editor::Direction"]],["impl Sync for Edit",1,["iced_core::text::editor::Edit"]],["impl Sync for Motion",1,["iced_core::text::editor::Motion"]],["impl Sync for Difference",1,["iced_core::text::Difference"]],["impl Sync for Hit",1,["iced_core::text::Hit"]],["impl Sync for LineHeight",1,["iced_core::text::LineHeight"]],["impl Sync for Shaping",1,["iced_core::text::Shaping"]],["impl Sync for Wrapping",1,["iced_core::text::Wrapping"]],["impl Sync for Theme",1,["iced_core::theme::Theme"]],["impl Sync for Event",1,["iced_core::touch::Event"]],["impl Sync for Event",1,["iced_core::window::event::Event"]],["impl Sync for Level",1,["iced_core::window::level::Level"]],["impl Sync for Mode",1,["iced_core::window::mode::Mode"]],["impl Sync for Position",1,["iced_core::window::position::Position"]],["impl Sync for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl Sync for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl Sync for Error",1,["iced_core::window::icon::Error"]],["impl Sync for Border",1,["iced_core::border::Border"]],["impl Sync for Radius",1,["iced_core::border::Radius"]],["impl Sync for Null",1,["iced_core::clipboard::Null"]],["impl Sync for Font",1,["iced_core::font::Font"]],["impl Sync for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl Sync for Linear",1,["iced_core::gradient::Linear"]],["impl Sync for Id",1,["iced_core::image::Id"]],["impl Sync for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl Sync for Limits",1,["iced_core::layout::limits::Limits"]],["impl Sync for Node",1,["iced_core::layout::node::Node"]],["impl Sync for Click",1,["iced_core::mouse::click::Click"]],["impl Sync for Padding",1,["iced_core::padding::Padding"]],["impl Sync for Quad",1,["iced_core::renderer::Quad"]],["impl Sync for Style",1,["iced_core::renderer::Style"]],["impl Sync for Color",1,["iced_core::color::Color"]],["impl Sync for Degrees",1,["iced_core::angle::Degrees"]],["impl Sync for Pixels",1,["iced_core::pixels::Pixels"]],["impl Sync for Radians",1,["iced_core::angle::Radians"]],["impl Sync for Shadow",1,["iced_core::shadow::Shadow"]],["impl Sync for Transformation",1,["iced_core::transformation::Transformation"]],["impl Sync for Handle",1,["iced_core::svg::Handle"]],["impl Sync for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl Sync for Highlight",1,["iced_core::text::Highlight"]],["impl Sync for Background",1,["iced_core::theme::palette::Background"]],["impl Sync for Danger",1,["iced_core::theme::palette::Danger"]],["impl Sync for Extended",1,["iced_core::theme::palette::Extended"]],["impl Sync for Pair",1,["iced_core::theme::palette::Pair"]],["impl Sync for Palette",1,["iced_core::theme::palette::Palette"]],["impl Sync for Primary",1,["iced_core::theme::palette::Primary"]],["impl Sync for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl Sync for Success",1,["iced_core::theme::palette::Success"]],["impl Sync for Custom",1,["iced_core::theme::Custom"]],["impl Sync for Finger",1,["iced_core::touch::Finger"]],["impl Sync for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl Sync for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl Sync for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl Sync for Id",1,["iced_core::widget::id::Id"]],["impl Sync for Style",1,["iced_core::widget::text::Style"]],["impl Sync for Tag",1,["iced_core::widget::tree::Tag"]],["impl Sync for Icon",1,["iced_core::window::icon::Icon"]],["impl Sync for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl Sync for Settings",1,["iced_core::window::settings::Settings"]],["impl Sync for Id",1,["iced_core::window::id::Id"]],["impl<'a> Sync for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> Sync for Span<'a, Link, Font>
    where\n Font: Sync,\n Link: Sync,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> Sync for Shell<'a, Message>
    where\n Message: Sync,
    ",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> !Sync for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> !Sync for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> !Sync for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> Sync for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Sync,\n <Renderer as Renderer>::Font: Sync,
    ",1,["iced_core::widget::text::Text"]],["impl<C> Sync for Key<C>
    where\n C: Sync,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> Sync for Text<Content, Font>
    where\n Content: Sync,\n Font: Sync,
    ",1,["iced_core::text::Text"]],["impl<Font> Sync for Format<Font>
    where\n Font: Sync,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> Sync for Image<H>
    where\n H: Sync,
    ",1,["iced_core::image::Image"]],["impl<H> Sync for Svg<H>
    where\n H: Sync,
    ",1,["iced_core::svg::Svg"]],["impl<P> Sync for Plain<P>
    where\n P: Sync,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> Sync for State<P>
    where\n P: Sync,
    ",1,["iced_core::widget::text::State"]],["impl<T> !Sync for Outcome<T>",1,["iced_core::widget::operation::Outcome"]],["impl<T> Sync for Point<T>
    where\n T: Sync,
    ",1,["iced_core::point::Point"]],["impl<T> Sync for Rectangle<T>
    where\n T: Sync,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> Sync for Size<T>
    where\n T: Sync,
    ",1,["iced_core::size::Size"]],["impl<T> Sync for Vector<T>
    where\n T: Sync,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl Sync for Event",1,["iced_futures::subscription::Event"]],["impl Sync for MacOS",1,["iced_futures::subscription::MacOS"]],["impl Sync for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl Sync for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl Sync for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl Sync for Executor",1,["iced_futures::backend::null::Executor"]],["impl Sync for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl<Executor, Sender, Message> Sync for Runtime<Executor, Sender, Message>
    where\n Executor: Sync,\n Sender: Sync,\n Message: Sync,
    ",1,["iced_futures::runtime::Runtime"]],["impl<T> !Sync for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl Sync for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl Sync for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl Sync for Error",1,["iced_graphics::error::Error"]],["impl Sync for Reason",1,["iced_graphics::error::Reason"]],["impl Sync for Style",1,["iced_graphics::geometry::style::Style"]],["impl Sync for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl Sync for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl Sync for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl Sync for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl Sync for Image",1,["iced_graphics::image::Image"]],["impl Sync for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl Sync for Text",1,["iced_graphics::text::Text"]],["impl Sync for Group",1,["iced_graphics::cache::Group"]],["impl Sync for Packed",1,["iced_graphics::color::Packed"]],["impl Sync for Information",1,["iced_graphics::compositor::Information"]],["impl Sync for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl Sync for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl Sync for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl Sync for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl Sync for Path",1,["iced_graphics::geometry::path::Path"]],["impl Sync for Text",1,["iced_graphics::geometry::text::Text"]],["impl Sync for Linear",1,["iced_graphics::gradient::Linear"]],["impl Sync for Packed",1,["iced_graphics::gradient::Packed"]],["impl Sync for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl Sync for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl Sync for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl Sync for Settings",1,["iced_graphics::settings::Settings"]],["impl Sync for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl Sync for Cache",1,["iced_graphics::text::cache::Cache"]],["impl Sync for Entry",1,["iced_graphics::text::cache::Entry"]],["impl Sync for Editor",1,["iced_graphics::text::editor::Editor"]],["impl Sync for Weak",1,["iced_graphics::text::editor::Weak"]],["impl Sync for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl Sync for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl Sync for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl Sync for Raw",1,["iced_graphics::text::Raw"]],["impl Sync for Version",1,["iced_graphics::text::Version"]],["impl<'a> Sync for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> Sync for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> Sync for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> !Sync for Cache<Renderer>",1,["iced_graphics::geometry::cache::Cache"]],["impl<Renderer> Sync for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: Sync,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<T> !Sync for Cache<T>",1,["iced_graphics::cache::Cache"]],["impl<T> Sync for State<T>
    where\n T: Sync,
    ",1,["iced_graphics::cache::State"]],["impl<T> Sync for Stack<T>
    where\n T: Sync,
    ",1,["iced_graphics::layer::Stack"]],["impl<T> Sync for Indexed<T>
    where\n T: Sync,
    ",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl !Sync for Highlighter",1,["iced_highlighter::Highlighter"]],["impl Sync for Theme",1,["iced_highlighter::Theme"]],["impl Sync for Highlight",1,["iced_highlighter::Highlight"]],["impl Sync for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> Sync for Compositor<A, B>
    where\n A: Sync,\n B: Sync,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> Sync for Renderer<A, B>
    where\n A: Sync,\n B: Sync,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> Sync for Surface<A, B>
    where\n A: Sync,\n B: Sync,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !Sync for Action",1,["iced_runtime::window::Action"]],["impl !Sync for Cache",1,["iced_runtime::user_interface::Cache"]],["impl Sync for Action",1,["iced_runtime::clipboard::Action"]],["impl Sync for Error",1,["iced_runtime::font::Error"]],["impl Sync for Action",1,["iced_runtime::system::Action"]],["impl Sync for State",1,["iced_runtime::user_interface::State"]],["impl Sync for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl Sync for Debug",1,["iced_runtime::debug::Debug"]],["impl Sync for Information",1,["iced_runtime::system::Information"]],["impl Sync for Handle",1,["iced_runtime::task::Handle"]],["impl Sync for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl<'a, Message, Theme, Renderer> !Sync for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> !Sync for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> !Sync for State<P>",1,["iced_runtime::multi_window::state::State"]],["impl<P> !Sync for State<P>",1,["iced_runtime::program::state::State"]],["impl<T> !Sync for Action<T>",1,["iced_runtime::Action"]],["impl<T> !Sync for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !Sync for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl !Sync for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl !Sync for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl !Sync for Renderer",1,["iced_tiny_skia::Renderer"]],["impl !Sync for Surface",1,["iced_tiny_skia::window::compositor::Surface"]],["impl Sync for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl Sync for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl Sync for Settings",1,["iced_tiny_skia::settings::Settings"]],["impl Sync for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]]]],["iced_wgpu",[["impl !Sync for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl !Sync for Cache",1,["iced_wgpu::geometry::Cache"]],["impl !Sync for Layer",1,["iced_wgpu::layer::Layer"]],["impl !Sync for Storage",1,["iced_wgpu::primitive::Storage"]],["impl !Sync for Engine",1,["iced_wgpu::engine::Engine"]],["impl !Sync for Renderer",1,["iced_wgpu::Renderer"]],["impl !Sync for Compositor",1,["iced_wgpu::window::compositor::Compositor"]],["impl Sync for Error",1,["iced_wgpu::window::compositor::Error"]],["impl Sync for Frame",1,["iced_wgpu::geometry::Frame"]],["impl Sync for Instance",1,["iced_wgpu::primitive::Instance"]],["impl Sync for Settings",1,["iced_wgpu::settings::Settings"]]]],["iced_widget",[["impl !Sync for Item",1,["iced_widget::markdown::Item"]],["impl !Sync for Text",1,["iced_widget::markdown::Text"]],["impl !Sync for State",1,["iced_widget::overlay::menu::State"]],["impl !Sync for Data",1,["iced_widget::qr_code::Data"]],["impl Sync for Status",1,["iced_widget::button::Status"]],["impl Sync for Event",1,["iced_widget::canvas::event::Event"]],["impl Sync for Status",1,["iced_widget::checkbox::Status"]],["impl Sync for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl Sync for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl Sync for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl Sync for Edge",1,["iced_widget::pane_grid::Edge"]],["impl Sync for Node",1,["iced_widget::pane_grid::node::Node"]],["impl Sync for Region",1,["iced_widget::pane_grid::Region"]],["impl Sync for Target",1,["iced_widget::pane_grid::Target"]],["impl Sync for Action",1,["iced_widget::pane_grid::state::Action"]],["impl Sync for Status",1,["iced_widget::pick_list::Status"]],["impl Sync for Error",1,["iced_widget::qr_code::Error"]],["impl Sync for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl Sync for Version",1,["iced_widget::qr_code::Version"]],["impl Sync for Status",1,["iced_widget::radio::Status"]],["impl Sync for FillMode",1,["iced_widget::rule::FillMode"]],["impl Sync for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl Sync for Direction",1,["iced_widget::scrollable::Direction"]],["impl Sync for Status",1,["iced_widget::scrollable::Status"]],["impl Sync for Event",1,["iced_widget::shader::event::Event"]],["impl Sync for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl Sync for Status",1,["iced_widget::slider::Status"]],["impl Sync for Status",1,["iced_widget::svg::Status"]],["impl Sync for Status",1,["iced_widget::text_editor::Status"]],["impl Sync for State",1,["iced_widget::text_input::cursor::State"]],["impl Sync for Side",1,["iced_widget::text_input::Side"]],["impl Sync for Status",1,["iced_widget::text_input::Status"]],["impl Sync for Status",1,["iced_widget::toggler::Status"]],["impl Sync for Position",1,["iced_widget::tooltip::Position"]],["impl Sync for Style",1,["iced_widget::button::Style"]],["impl Sync for Style",1,["iced_widget::checkbox::Style"]],["impl Sync for Id",1,["iced_widget::container::Id"]],["impl Sync for Style",1,["iced_widget::container::Style"]],["impl Sync for State",1,["iced_widget::image::viewer::State"]],["impl Sync for Settings",1,["iced_widget::markdown::Settings"]],["impl Sync for Style",1,["iced_widget::markdown::Style"]],["impl Sync for Style",1,["iced_widget::overlay::menu::Style"]],["impl Sync for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl Sync for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl Sync for Line",1,["iced_widget::pane_grid::Line"]],["impl Sync for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl Sync for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl Sync for Split",1,["iced_widget::pane_grid::split::Split"]],["impl Sync for Style",1,["iced_widget::pane_grid::Style"]],["impl Sync for Style",1,["iced_widget::pick_list::Style"]],["impl Sync for Style",1,["iced_widget::progress_bar::Style"]],["impl Sync for Style",1,["iced_widget::qr_code::Style"]],["impl Sync for Style",1,["iced_widget::radio::Style"]],["impl Sync for Style",1,["iced_widget::rule::Style"]],["impl Sync for Id",1,["iced_widget::scrollable::Id"]],["impl Sync for Rail",1,["iced_widget::scrollable::Rail"]],["impl Sync for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl Sync for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl Sync for Style",1,["iced_widget::scrollable::Style"]],["impl Sync for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl Sync for Handle",1,["iced_widget::slider::Handle"]],["impl Sync for Rail",1,["iced_widget::slider::Rail"]],["impl Sync for Style",1,["iced_widget::slider::Style"]],["impl Sync for Style",1,["iced_widget::svg::Style"]],["impl Sync for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl Sync for Style",1,["iced_widget::text_editor::Style"]],["impl Sync for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl Sync for Id",1,["iced_widget::text_input::Id"]],["impl Sync for Style",1,["iced_widget::text_input::Style"]],["impl Sync for Value",1,["iced_widget::text_input::value::Value"]],["impl Sync for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Menu<'a, 'b, T, Message, Theme, Renderer>",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TextEditor<'a, Highlighter, Message, Theme, Renderer>",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Rich<'a, Link, Theme, Renderer>",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Button<'a, Message, Theme, Renderer>",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Checkbox<'a, Message, Theme, Renderer>",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Container<'a, Message, Theme, Renderer>",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Content<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PaneGrid<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TitleBar<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Scrollable<'a, Message, Theme, Renderer>",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TextInput<'a, Message, Theme, Renderer>",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Toggler<'a, Message, Theme, Renderer>",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Tooltip<'a, Message, Theme, Renderer>",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer> Sync for Radio<'a, Message, Theme, Renderer>
    where\n Message: Sync,\n <Theme as Catalog>::Class<'a>: Sync,\n <Renderer as Renderer>::Font: Sync,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !Sync for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> Sync for Contents<'a, T>
    where\n T: Sync,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PickList<'a, T, L, V, Message, Theme, Renderer>",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme = Theme> !Sync for Slider<'a, T, Message, Theme>",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme = Theme> !Sync for VerticalSlider<'a, T, Message, Theme>",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for ComboBox<'a, T, Message, Theme, Renderer>",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme = Theme> !Sync for QRCode<'a, Theme>",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> Sync for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Sync,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> Sync for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Sync,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> Sync for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Sync,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> Sync for Handle<Font>
    where\n Font: Sync,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> Sync for Icon<Font>
    where\n Font: Sync,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> Sync for Icon<Font>
    where\n Font: Sync,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> Sync for Icon<Font>
    where\n Font: Sync,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> Sync for Image<Handle>
    where\n Handle: Sync,
    ",1,["iced_widget::image::Image"]],["impl<Handle> Sync for Viewer<Handle>
    where\n Handle: Sync,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> !Sync for State<Highlighter>",1,["iced_widget::text_editor::State"]],["impl<Message> Sync for Binding<Message>
    where\n Message: Sync,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> Sync for Shader<Message, P>
    where\n P: Sync,\n Message: Sync,
    ",1,["iced_widget::shader::Shader"]],["impl<P> Sync for State<P>
    where\n P: Sync,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> Sync for Canvas<P, Message, Theme, Renderer>
    where\n P: Sync,\n Message: Sync,\n Theme: Sync,\n Renderer: Sync,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R = Renderer<Renderer, Renderer>> !Sync for Content<R>",1,["iced_widget::text_editor::Content"]],["impl<T> !Sync for State<T>",1,["iced_widget::combo_box::State"]],["impl<T> Sync for Configuration<T>
    where\n T: Sync,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> Sync for State<T>
    where\n T: Sync,
    ",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl !Sync for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl Sync for Error",1,["iced_winit::error::Error"]],["impl Sync for Appearance",1,["iced_winit::program::Appearance"]],["impl Sync for Settings",1,["iced_winit::settings::Settings"]],["impl<P> Sync for State<P>
    where\n <P as Program>::Theme: Sync,
    ",1,["iced_winit::program::state::State"]],["impl<T> Sync for Proxy<T>
    where\n T: Send,
    ",1,["iced_winit::proxy::Proxy"]]]]]); + var implementors = Object.fromEntries([["iced",[["impl Sync for Error",1,["iced::error::Error"]],["impl Sync for Error",1,["iced::window::icon::Error"]],["impl Sync for Settings",1,["iced::settings::Settings"]],["impl<P> Sync for Application<P>
    where\n P: Sync,
    ",1,["iced::application::Application"]],["impl<P> Sync for Daemon<P>
    where\n P: Sync,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !Sync for State",1,["iced_core::widget::tree::State"]],["impl !Sync for Tree",1,["iced_core::widget::tree::Tree"]],["impl Sync for Alignment",1,["iced_core::alignment::Alignment"]],["impl Sync for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl Sync for Vertical",1,["iced_core::alignment::Vertical"]],["impl Sync for Kind",1,["iced_core::clipboard::Kind"]],["impl Sync for Background",1,["iced_core::background::Background"]],["impl Sync for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl Sync for Length",1,["iced_core::length::Length"]],["impl Sync for Rotation",1,["iced_core::rotation::Rotation"]],["impl Sync for Event",1,["iced_core::event::Event"]],["impl Sync for Status",1,["iced_core::event::Status"]],["impl Sync for Family",1,["iced_core::font::Family"]],["impl Sync for Stretch",1,["iced_core::font::Stretch"]],["impl Sync for Style",1,["iced_core::font::Style"]],["impl Sync for Weight",1,["iced_core::font::Weight"]],["impl Sync for Gradient",1,["iced_core::gradient::Gradient"]],["impl Sync for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl Sync for Handle",1,["iced_core::image::Handle"]],["impl Sync for Event",1,["iced_core::keyboard::event::Event"]],["impl Sync for Location",1,["iced_core::keyboard::location::Location"]],["impl Sync for Code",1,["iced_core::keyboard::key::Code"]],["impl Sync for Named",1,["iced_core::keyboard::key::Named"]],["impl Sync for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl Sync for Physical",1,["iced_core::keyboard::key::Physical"]],["impl Sync for Axis",1,["iced_core::layout::flex::Axis"]],["impl Sync for Kind",1,["iced_core::mouse::click::Kind"]],["impl Sync for Button",1,["iced_core::mouse::button::Button"]],["impl Sync for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl Sync for Event",1,["iced_core::mouse::event::Event"]],["impl Sync for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl Sync for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl Sync for Data",1,["iced_core::svg::Data"]],["impl Sync for Action",1,["iced_core::text::editor::Action"]],["impl Sync for Cursor",1,["iced_core::text::editor::Cursor"]],["impl Sync for Direction",1,["iced_core::text::editor::Direction"]],["impl Sync for Edit",1,["iced_core::text::editor::Edit"]],["impl Sync for Motion",1,["iced_core::text::editor::Motion"]],["impl Sync for Difference",1,["iced_core::text::Difference"]],["impl Sync for Hit",1,["iced_core::text::Hit"]],["impl Sync for LineHeight",1,["iced_core::text::LineHeight"]],["impl Sync for Shaping",1,["iced_core::text::Shaping"]],["impl Sync for Wrapping",1,["iced_core::text::Wrapping"]],["impl Sync for Theme",1,["iced_core::theme::Theme"]],["impl Sync for Event",1,["iced_core::touch::Event"]],["impl Sync for Event",1,["iced_core::window::event::Event"]],["impl Sync for Level",1,["iced_core::window::level::Level"]],["impl Sync for Mode",1,["iced_core::window::mode::Mode"]],["impl Sync for Position",1,["iced_core::window::position::Position"]],["impl Sync for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl Sync for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl Sync for Error",1,["iced_core::window::icon::Error"]],["impl Sync for Border",1,["iced_core::border::Border"]],["impl Sync for Radius",1,["iced_core::border::Radius"]],["impl Sync for Null",1,["iced_core::clipboard::Null"]],["impl Sync for Font",1,["iced_core::font::Font"]],["impl Sync for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl Sync for Linear",1,["iced_core::gradient::Linear"]],["impl Sync for Id",1,["iced_core::image::Id"]],["impl Sync for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl Sync for Limits",1,["iced_core::layout::limits::Limits"]],["impl Sync for Node",1,["iced_core::layout::node::Node"]],["impl Sync for Click",1,["iced_core::mouse::click::Click"]],["impl Sync for Padding",1,["iced_core::padding::Padding"]],["impl Sync for Quad",1,["iced_core::renderer::Quad"]],["impl Sync for Style",1,["iced_core::renderer::Style"]],["impl Sync for Color",1,["iced_core::color::Color"]],["impl Sync for Degrees",1,["iced_core::angle::Degrees"]],["impl Sync for Pixels",1,["iced_core::pixels::Pixels"]],["impl Sync for Radians",1,["iced_core::angle::Radians"]],["impl Sync for Shadow",1,["iced_core::shadow::Shadow"]],["impl Sync for Transformation",1,["iced_core::transformation::Transformation"]],["impl Sync for Handle",1,["iced_core::svg::Handle"]],["impl Sync for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl Sync for Highlight",1,["iced_core::text::Highlight"]],["impl Sync for Background",1,["iced_core::theme::palette::Background"]],["impl Sync for Danger",1,["iced_core::theme::palette::Danger"]],["impl Sync for Extended",1,["iced_core::theme::palette::Extended"]],["impl Sync for Pair",1,["iced_core::theme::palette::Pair"]],["impl Sync for Palette",1,["iced_core::theme::palette::Palette"]],["impl Sync for Primary",1,["iced_core::theme::palette::Primary"]],["impl Sync for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl Sync for Success",1,["iced_core::theme::palette::Success"]],["impl Sync for Custom",1,["iced_core::theme::Custom"]],["impl Sync for Finger",1,["iced_core::touch::Finger"]],["impl Sync for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl Sync for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl Sync for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl Sync for Id",1,["iced_core::widget::id::Id"]],["impl Sync for Style",1,["iced_core::widget::text::Style"]],["impl Sync for Tag",1,["iced_core::widget::tree::Tag"]],["impl Sync for Icon",1,["iced_core::window::icon::Icon"]],["impl Sync for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl Sync for Settings",1,["iced_core::window::settings::Settings"]],["impl Sync for Id",1,["iced_core::window::id::Id"]],["impl<'a> Sync for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> Sync for Span<'a, Link, Font>
    where\n Font: Sync,\n Link: Sync,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> Sync for Shell<'a, Message>
    where\n Message: Sync,
    ",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> !Sync for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> !Sync for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> !Sync for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> Sync for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: Sync,\n <Renderer as Renderer>::Font: Sync,
    ",1,["iced_core::widget::text::Text"]],["impl<C> Sync for Key<C>
    where\n C: Sync,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> Sync for Text<Content, Font>
    where\n Content: Sync,\n Font: Sync,
    ",1,["iced_core::text::Text"]],["impl<Font> Sync for Format<Font>
    where\n Font: Sync,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> Sync for Image<H>
    where\n H: Sync,
    ",1,["iced_core::image::Image"]],["impl<H> Sync for Svg<H>
    where\n H: Sync,
    ",1,["iced_core::svg::Svg"]],["impl<P> Sync for Plain<P>
    where\n P: Sync,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> Sync for State<P>
    where\n P: Sync,
    ",1,["iced_core::widget::text::State"]],["impl<T> !Sync for Outcome<T>",1,["iced_core::widget::operation::Outcome"]],["impl<T> Sync for Point<T>
    where\n T: Sync,
    ",1,["iced_core::point::Point"]],["impl<T> Sync for Rectangle<T>
    where\n T: Sync,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> Sync for Size<T>
    where\n T: Sync,
    ",1,["iced_core::size::Size"]],["impl<T> Sync for Vector<T>
    where\n T: Sync,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl Sync for Event",1,["iced_futures::subscription::Event"]],["impl Sync for MacOS",1,["iced_futures::subscription::MacOS"]],["impl Sync for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl Sync for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl Sync for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl Sync for Executor",1,["iced_futures::backend::null::Executor"]],["impl Sync for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl<Executor, Sender, Message> Sync for Runtime<Executor, Sender, Message>
    where\n Executor: Sync,\n Sender: Sync,\n Message: Sync,
    ",1,["iced_futures::runtime::Runtime"]],["impl<T> !Sync for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl Sync for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl Sync for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl Sync for Error",1,["iced_graphics::error::Error"]],["impl Sync for Reason",1,["iced_graphics::error::Reason"]],["impl Sync for Style",1,["iced_graphics::geometry::style::Style"]],["impl Sync for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl Sync for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl Sync for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl Sync for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl Sync for Image",1,["iced_graphics::image::Image"]],["impl Sync for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl Sync for Text",1,["iced_graphics::text::Text"]],["impl Sync for Group",1,["iced_graphics::cache::Group"]],["impl Sync for Packed",1,["iced_graphics::color::Packed"]],["impl Sync for Information",1,["iced_graphics::compositor::Information"]],["impl Sync for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl Sync for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl Sync for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl Sync for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl Sync for Path",1,["iced_graphics::geometry::path::Path"]],["impl Sync for Text",1,["iced_graphics::geometry::text::Text"]],["impl Sync for Linear",1,["iced_graphics::gradient::Linear"]],["impl Sync for Packed",1,["iced_graphics::gradient::Packed"]],["impl Sync for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl Sync for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl Sync for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl Sync for Settings",1,["iced_graphics::settings::Settings"]],["impl Sync for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl Sync for Cache",1,["iced_graphics::text::cache::Cache"]],["impl Sync for Entry",1,["iced_graphics::text::cache::Entry"]],["impl Sync for Editor",1,["iced_graphics::text::editor::Editor"]],["impl Sync for Weak",1,["iced_graphics::text::editor::Weak"]],["impl Sync for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl Sync for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl Sync for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl Sync for Raw",1,["iced_graphics::text::Raw"]],["impl Sync for Version",1,["iced_graphics::text::Version"]],["impl<'a> Sync for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> Sync for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> Sync for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> !Sync for Cache<Renderer>",1,["iced_graphics::geometry::cache::Cache"]],["impl<Renderer> Sync for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: Sync,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<T> !Sync for Cache<T>",1,["iced_graphics::cache::Cache"]],["impl<T> Sync for State<T>
    where\n T: Sync,
    ",1,["iced_graphics::cache::State"]],["impl<T> Sync for Stack<T>
    where\n T: Sync,
    ",1,["iced_graphics::layer::Stack"]],["impl<T> Sync for Indexed<T>
    where\n T: Sync,
    ",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl !Sync for Highlighter",1,["iced_highlighter::Highlighter"]],["impl Sync for Theme",1,["iced_highlighter::Theme"]],["impl Sync for Highlight",1,["iced_highlighter::Highlight"]],["impl Sync for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> Sync for Compositor<A, B>
    where\n A: Sync,\n B: Sync,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> Sync for Renderer<A, B>
    where\n A: Sync,\n B: Sync,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> Sync for Surface<A, B>
    where\n A: Sync,\n B: Sync,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !Sync for Action",1,["iced_runtime::window::Action"]],["impl !Sync for Cache",1,["iced_runtime::user_interface::Cache"]],["impl Sync for Action",1,["iced_runtime::clipboard::Action"]],["impl Sync for Error",1,["iced_runtime::font::Error"]],["impl Sync for Action",1,["iced_runtime::system::Action"]],["impl Sync for State",1,["iced_runtime::user_interface::State"]],["impl Sync for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl Sync for Debug",1,["iced_runtime::debug::Debug"]],["impl Sync for Information",1,["iced_runtime::system::Information"]],["impl Sync for Handle",1,["iced_runtime::task::Handle"]],["impl Sync for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl<'a, Message, Theme, Renderer> !Sync for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> !Sync for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> !Sync for State<P>",1,["iced_runtime::multi_window::state::State"]],["impl<P> !Sync for State<P>",1,["iced_runtime::program::state::State"]],["impl<T> !Sync for Action<T>",1,["iced_runtime::Action"]],["impl<T> !Sync for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !Sync for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl !Sync for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl !Sync for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl !Sync for Renderer",1,["iced_tiny_skia::Renderer"]],["impl !Sync for Surface",1,["iced_tiny_skia::window::compositor::Surface"]],["impl Sync for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl Sync for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl Sync for Settings",1,["iced_tiny_skia::settings::Settings"]],["impl Sync for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]]]],["iced_wgpu",[["impl !Sync for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl !Sync for Cache",1,["iced_wgpu::geometry::Cache"]],["impl !Sync for Layer",1,["iced_wgpu::layer::Layer"]],["impl !Sync for Storage",1,["iced_wgpu::primitive::Storage"]],["impl !Sync for Engine",1,["iced_wgpu::engine::Engine"]],["impl !Sync for Renderer",1,["iced_wgpu::Renderer"]],["impl !Sync for Compositor",1,["iced_wgpu::window::compositor::Compositor"]],["impl Sync for Error",1,["iced_wgpu::window::compositor::Error"]],["impl Sync for Frame",1,["iced_wgpu::geometry::Frame"]],["impl Sync for Instance",1,["iced_wgpu::primitive::Instance"]],["impl Sync for Settings",1,["iced_wgpu::settings::Settings"]]]],["iced_widget",[["impl !Sync for Item",1,["iced_widget::markdown::Item"]],["impl !Sync for Text",1,["iced_widget::markdown::Text"]],["impl !Sync for State",1,["iced_widget::overlay::menu::State"]],["impl !Sync for Data",1,["iced_widget::qr_code::Data"]],["impl Sync for Status",1,["iced_widget::button::Status"]],["impl Sync for Event",1,["iced_widget::canvas::event::Event"]],["impl Sync for Status",1,["iced_widget::checkbox::Status"]],["impl Sync for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl Sync for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl Sync for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl Sync for Edge",1,["iced_widget::pane_grid::Edge"]],["impl Sync for Node",1,["iced_widget::pane_grid::node::Node"]],["impl Sync for Region",1,["iced_widget::pane_grid::Region"]],["impl Sync for Target",1,["iced_widget::pane_grid::Target"]],["impl Sync for Action",1,["iced_widget::pane_grid::state::Action"]],["impl Sync for Status",1,["iced_widget::pick_list::Status"]],["impl Sync for Error",1,["iced_widget::qr_code::Error"]],["impl Sync for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl Sync for Version",1,["iced_widget::qr_code::Version"]],["impl Sync for Status",1,["iced_widget::radio::Status"]],["impl Sync for FillMode",1,["iced_widget::rule::FillMode"]],["impl Sync for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl Sync for Direction",1,["iced_widget::scrollable::Direction"]],["impl Sync for Status",1,["iced_widget::scrollable::Status"]],["impl Sync for Event",1,["iced_widget::shader::event::Event"]],["impl Sync for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl Sync for Status",1,["iced_widget::slider::Status"]],["impl Sync for Status",1,["iced_widget::svg::Status"]],["impl Sync for Status",1,["iced_widget::text_editor::Status"]],["impl Sync for State",1,["iced_widget::text_input::cursor::State"]],["impl Sync for Side",1,["iced_widget::text_input::Side"]],["impl Sync for Status",1,["iced_widget::text_input::Status"]],["impl Sync for Status",1,["iced_widget::toggler::Status"]],["impl Sync for Position",1,["iced_widget::tooltip::Position"]],["impl Sync for Style",1,["iced_widget::button::Style"]],["impl Sync for Style",1,["iced_widget::checkbox::Style"]],["impl Sync for Id",1,["iced_widget::container::Id"]],["impl Sync for Style",1,["iced_widget::container::Style"]],["impl Sync for State",1,["iced_widget::image::viewer::State"]],["impl Sync for Settings",1,["iced_widget::markdown::Settings"]],["impl Sync for Style",1,["iced_widget::markdown::Style"]],["impl Sync for Style",1,["iced_widget::overlay::menu::Style"]],["impl Sync for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl Sync for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl Sync for Line",1,["iced_widget::pane_grid::Line"]],["impl Sync for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl Sync for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl Sync for Split",1,["iced_widget::pane_grid::split::Split"]],["impl Sync for Style",1,["iced_widget::pane_grid::Style"]],["impl Sync for Style",1,["iced_widget::pick_list::Style"]],["impl Sync for Style",1,["iced_widget::progress_bar::Style"]],["impl Sync for Style",1,["iced_widget::qr_code::Style"]],["impl Sync for Style",1,["iced_widget::radio::Style"]],["impl Sync for Style",1,["iced_widget::rule::Style"]],["impl Sync for Id",1,["iced_widget::scrollable::Id"]],["impl Sync for Rail",1,["iced_widget::scrollable::Rail"]],["impl Sync for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl Sync for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl Sync for Style",1,["iced_widget::scrollable::Style"]],["impl Sync for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl Sync for Handle",1,["iced_widget::slider::Handle"]],["impl Sync for Rail",1,["iced_widget::slider::Rail"]],["impl Sync for Style",1,["iced_widget::slider::Style"]],["impl Sync for Style",1,["iced_widget::svg::Style"]],["impl Sync for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl Sync for Style",1,["iced_widget::text_editor::Style"]],["impl Sync for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl Sync for Id",1,["iced_widget::text_input::Id"]],["impl Sync for Style",1,["iced_widget::text_input::Style"]],["impl Sync for Value",1,["iced_widget::text_input::value::Value"]],["impl Sync for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Menu<'a, 'b, T, Message, Theme, Renderer>",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TextEditor<'a, Highlighter, Message, Theme, Renderer>",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Rich<'a, Link, Theme, Renderer>",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Button<'a, Message, Theme, Renderer>",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Checkbox<'a, Message, Theme, Renderer>",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Container<'a, Message, Theme, Renderer>",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Content<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PaneGrid<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TitleBar<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Scrollable<'a, Message, Theme, Renderer>",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for TextInput<'a, Message, Theme, Renderer>",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Toggler<'a, Message, Theme, Renderer>",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for Tooltip<'a, Message, Theme, Renderer>",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer> Sync for Radio<'a, Message, Theme, Renderer>
    where\n Message: Sync,\n <Theme as Catalog>::Class<'a>: Sync,\n <Renderer as Renderer>::Font: Sync,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !Sync for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> Sync for Contents<'a, T>
    where\n T: Sync,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for PickList<'a, T, L, V, Message, Theme, Renderer>",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme = Theme> !Sync for Slider<'a, T, Message, Theme>",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme = Theme> !Sync for VerticalSlider<'a, T, Message, Theme>",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !Sync for ComboBox<'a, T, Message, Theme, Renderer>",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme = Theme> !Sync for QRCode<'a, Theme>",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> Sync for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Sync,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> Sync for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Sync,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> Sync for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: Sync,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> Sync for Handle<Font>
    where\n Font: Sync,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> Sync for Icon<Font>
    where\n Font: Sync,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> Sync for Icon<Font>
    where\n Font: Sync,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> Sync for Icon<Font>
    where\n Font: Sync,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> Sync for Image<Handle>
    where\n Handle: Sync,
    ",1,["iced_widget::image::Image"]],["impl<Handle> Sync for Viewer<Handle>
    where\n Handle: Sync,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> !Sync for State<Highlighter>",1,["iced_widget::text_editor::State"]],["impl<Message> Sync for Binding<Message>
    where\n Message: Sync,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> Sync for Shader<Message, P>
    where\n P: Sync,\n Message: Sync,
    ",1,["iced_widget::shader::Shader"]],["impl<P> Sync for State<P>
    where\n P: Sync,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> Sync for Canvas<P, Message, Theme, Renderer>
    where\n P: Sync,\n Message: Sync,\n Theme: Sync,\n Renderer: Sync,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R = Renderer<Renderer, Renderer>> !Sync for Content<R>",1,["iced_widget::text_editor::Content"]],["impl<T> !Sync for State<T>",1,["iced_widget::combo_box::State"]],["impl<T> Sync for Configuration<T>
    where\n T: Sync,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> Sync for State<T>
    where\n T: Sync,
    ",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl !Sync for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl Sync for Error",1,["iced_winit::error::Error"]],["impl Sync for Appearance",1,["iced_winit::program::Appearance"]],["impl Sync for Settings",1,["iced_winit::settings::Settings"]],["impl<P> Sync for State<P>
    where\n <P as Program>::Theme: Sync,
    ",1,["iced_winit::program::state::State"]],["impl<T> Sync for Proxy<T>
    where\n T: Send,
    ",1,["iced_winit::proxy::Proxy"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[1841,38897,3622,15956,1238,2004,5617,2899,3396,47851,2516]} \ No newline at end of file +//{"start":57,"fragment_lengths":[1841,38897,3622,15956,1238,2004,5617,2899,3396,49770,2516]} \ No newline at end of file diff --git a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index 329704a043..e57c193545 100644 --- a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iced",[["impl !RefUnwindSafe for Error",1,["iced::error::Error"]],["impl !RefUnwindSafe for Error",1,["iced::window::icon::Error"]],["impl RefUnwindSafe for Settings",1,["iced::settings::Settings"]],["impl<P> RefUnwindSafe for Application<P>
    where\n P: RefUnwindSafe,
    ",1,["iced::application::Application"]],["impl<P> RefUnwindSafe for Daemon<P>
    where\n P: RefUnwindSafe,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !RefUnwindSafe for State",1,["iced_core::widget::tree::State"]],["impl !RefUnwindSafe for Tree",1,["iced_core::widget::tree::Tree"]],["impl RefUnwindSafe for Alignment",1,["iced_core::alignment::Alignment"]],["impl RefUnwindSafe for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl RefUnwindSafe for Vertical",1,["iced_core::alignment::Vertical"]],["impl RefUnwindSafe for Kind",1,["iced_core::clipboard::Kind"]],["impl RefUnwindSafe for Background",1,["iced_core::background::Background"]],["impl RefUnwindSafe for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl RefUnwindSafe for Length",1,["iced_core::length::Length"]],["impl RefUnwindSafe for Rotation",1,["iced_core::rotation::Rotation"]],["impl RefUnwindSafe for Event",1,["iced_core::event::Event"]],["impl RefUnwindSafe for Status",1,["iced_core::event::Status"]],["impl RefUnwindSafe for Family",1,["iced_core::font::Family"]],["impl RefUnwindSafe for Stretch",1,["iced_core::font::Stretch"]],["impl RefUnwindSafe for Style",1,["iced_core::font::Style"]],["impl RefUnwindSafe for Weight",1,["iced_core::font::Weight"]],["impl RefUnwindSafe for Gradient",1,["iced_core::gradient::Gradient"]],["impl RefUnwindSafe for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl RefUnwindSafe for Handle",1,["iced_core::image::Handle"]],["impl RefUnwindSafe for Event",1,["iced_core::keyboard::event::Event"]],["impl RefUnwindSafe for Location",1,["iced_core::keyboard::location::Location"]],["impl RefUnwindSafe for Code",1,["iced_core::keyboard::key::Code"]],["impl RefUnwindSafe for Named",1,["iced_core::keyboard::key::Named"]],["impl RefUnwindSafe for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl RefUnwindSafe for Physical",1,["iced_core::keyboard::key::Physical"]],["impl RefUnwindSafe for Axis",1,["iced_core::layout::flex::Axis"]],["impl RefUnwindSafe for Kind",1,["iced_core::mouse::click::Kind"]],["impl RefUnwindSafe for Button",1,["iced_core::mouse::button::Button"]],["impl RefUnwindSafe for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl RefUnwindSafe for Event",1,["iced_core::mouse::event::Event"]],["impl RefUnwindSafe for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl RefUnwindSafe for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl RefUnwindSafe for Data",1,["iced_core::svg::Data"]],["impl RefUnwindSafe for Action",1,["iced_core::text::editor::Action"]],["impl RefUnwindSafe for Cursor",1,["iced_core::text::editor::Cursor"]],["impl RefUnwindSafe for Direction",1,["iced_core::text::editor::Direction"]],["impl RefUnwindSafe for Edit",1,["iced_core::text::editor::Edit"]],["impl RefUnwindSafe for Motion",1,["iced_core::text::editor::Motion"]],["impl RefUnwindSafe for Difference",1,["iced_core::text::Difference"]],["impl RefUnwindSafe for Hit",1,["iced_core::text::Hit"]],["impl RefUnwindSafe for LineHeight",1,["iced_core::text::LineHeight"]],["impl RefUnwindSafe for Shaping",1,["iced_core::text::Shaping"]],["impl RefUnwindSafe for Wrapping",1,["iced_core::text::Wrapping"]],["impl RefUnwindSafe for Theme",1,["iced_core::theme::Theme"]],["impl RefUnwindSafe for Event",1,["iced_core::touch::Event"]],["impl RefUnwindSafe for Event",1,["iced_core::window::event::Event"]],["impl RefUnwindSafe for Level",1,["iced_core::window::level::Level"]],["impl RefUnwindSafe for Mode",1,["iced_core::window::mode::Mode"]],["impl RefUnwindSafe for Position",1,["iced_core::window::position::Position"]],["impl RefUnwindSafe for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl RefUnwindSafe for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl RefUnwindSafe for Error",1,["iced_core::window::icon::Error"]],["impl RefUnwindSafe for Border",1,["iced_core::border::Border"]],["impl RefUnwindSafe for Radius",1,["iced_core::border::Radius"]],["impl RefUnwindSafe for Null",1,["iced_core::clipboard::Null"]],["impl RefUnwindSafe for Font",1,["iced_core::font::Font"]],["impl RefUnwindSafe for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl RefUnwindSafe for Linear",1,["iced_core::gradient::Linear"]],["impl RefUnwindSafe for Id",1,["iced_core::image::Id"]],["impl RefUnwindSafe for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl RefUnwindSafe for Limits",1,["iced_core::layout::limits::Limits"]],["impl RefUnwindSafe for Node",1,["iced_core::layout::node::Node"]],["impl RefUnwindSafe for Click",1,["iced_core::mouse::click::Click"]],["impl RefUnwindSafe for Padding",1,["iced_core::padding::Padding"]],["impl RefUnwindSafe for Quad",1,["iced_core::renderer::Quad"]],["impl RefUnwindSafe for Style",1,["iced_core::renderer::Style"]],["impl RefUnwindSafe for Color",1,["iced_core::color::Color"]],["impl RefUnwindSafe for Degrees",1,["iced_core::angle::Degrees"]],["impl RefUnwindSafe for Pixels",1,["iced_core::pixels::Pixels"]],["impl RefUnwindSafe for Radians",1,["iced_core::angle::Radians"]],["impl RefUnwindSafe for Shadow",1,["iced_core::shadow::Shadow"]],["impl RefUnwindSafe for Transformation",1,["iced_core::transformation::Transformation"]],["impl RefUnwindSafe for Handle",1,["iced_core::svg::Handle"]],["impl RefUnwindSafe for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl RefUnwindSafe for Highlight",1,["iced_core::text::Highlight"]],["impl RefUnwindSafe for Background",1,["iced_core::theme::palette::Background"]],["impl RefUnwindSafe for Danger",1,["iced_core::theme::palette::Danger"]],["impl RefUnwindSafe for Extended",1,["iced_core::theme::palette::Extended"]],["impl RefUnwindSafe for Pair",1,["iced_core::theme::palette::Pair"]],["impl RefUnwindSafe for Palette",1,["iced_core::theme::palette::Palette"]],["impl RefUnwindSafe for Primary",1,["iced_core::theme::palette::Primary"]],["impl RefUnwindSafe for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl RefUnwindSafe for Success",1,["iced_core::theme::palette::Success"]],["impl RefUnwindSafe for Custom",1,["iced_core::theme::Custom"]],["impl RefUnwindSafe for Finger",1,["iced_core::touch::Finger"]],["impl RefUnwindSafe for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl RefUnwindSafe for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl RefUnwindSafe for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl RefUnwindSafe for Id",1,["iced_core::widget::id::Id"]],["impl RefUnwindSafe for Style",1,["iced_core::widget::text::Style"]],["impl RefUnwindSafe for Tag",1,["iced_core::widget::tree::Tag"]],["impl RefUnwindSafe for Icon",1,["iced_core::window::icon::Icon"]],["impl RefUnwindSafe for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl RefUnwindSafe for Settings",1,["iced_core::window::settings::Settings"]],["impl RefUnwindSafe for Id",1,["iced_core::window::id::Id"]],["impl<'a> RefUnwindSafe for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> RefUnwindSafe for Span<'a, Link, Font>
    where\n Font: RefUnwindSafe,\n Link: RefUnwindSafe,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> RefUnwindSafe for Shell<'a, Message>
    where\n Message: RefUnwindSafe,
    ",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> RefUnwindSafe for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,\n <Renderer as Renderer>::Font: RefUnwindSafe,
    ",1,["iced_core::widget::text::Text"]],["impl<C> RefUnwindSafe for Key<C>
    where\n C: RefUnwindSafe,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> RefUnwindSafe for Text<Content, Font>
    where\n Content: RefUnwindSafe,\n Font: RefUnwindSafe,
    ",1,["iced_core::text::Text"]],["impl<Font> RefUnwindSafe for Format<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> RefUnwindSafe for Image<H>
    where\n H: RefUnwindSafe,
    ",1,["iced_core::image::Image"]],["impl<H> RefUnwindSafe for Svg<H>
    where\n H: RefUnwindSafe,
    ",1,["iced_core::svg::Svg"]],["impl<P> RefUnwindSafe for Plain<P>
    where\n P: RefUnwindSafe,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> RefUnwindSafe for State<P>
    where\n P: RefUnwindSafe,
    ",1,["iced_core::widget::text::State"]],["impl<T> !RefUnwindSafe for Outcome<T>",1,["iced_core::widget::operation::Outcome"]],["impl<T> RefUnwindSafe for Point<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_core::point::Point"]],["impl<T> RefUnwindSafe for Rectangle<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> RefUnwindSafe for Size<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_core::size::Size"]],["impl<T> RefUnwindSafe for Vector<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl !RefUnwindSafe for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl RefUnwindSafe for Event",1,["iced_futures::subscription::Event"]],["impl RefUnwindSafe for MacOS",1,["iced_futures::subscription::MacOS"]],["impl RefUnwindSafe for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl RefUnwindSafe for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl RefUnwindSafe for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl RefUnwindSafe for Executor",1,["iced_futures::backend::null::Executor"]],["impl<Executor, Sender, Message> !RefUnwindSafe for Runtime<Executor, Sender, Message>",1,["iced_futures::runtime::Runtime"]],["impl<T> !RefUnwindSafe for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl !RefUnwindSafe for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl RefUnwindSafe for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl RefUnwindSafe for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl RefUnwindSafe for Error",1,["iced_graphics::error::Error"]],["impl RefUnwindSafe for Reason",1,["iced_graphics::error::Reason"]],["impl RefUnwindSafe for Style",1,["iced_graphics::geometry::style::Style"]],["impl RefUnwindSafe for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl RefUnwindSafe for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl RefUnwindSafe for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl RefUnwindSafe for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl RefUnwindSafe for Image",1,["iced_graphics::image::Image"]],["impl RefUnwindSafe for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl RefUnwindSafe for Text",1,["iced_graphics::text::Text"]],["impl RefUnwindSafe for Group",1,["iced_graphics::cache::Group"]],["impl RefUnwindSafe for Packed",1,["iced_graphics::color::Packed"]],["impl RefUnwindSafe for Information",1,["iced_graphics::compositor::Information"]],["impl RefUnwindSafe for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl RefUnwindSafe for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl RefUnwindSafe for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl RefUnwindSafe for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl RefUnwindSafe for Path",1,["iced_graphics::geometry::path::Path"]],["impl RefUnwindSafe for Text",1,["iced_graphics::geometry::text::Text"]],["impl RefUnwindSafe for Linear",1,["iced_graphics::gradient::Linear"]],["impl RefUnwindSafe for Packed",1,["iced_graphics::gradient::Packed"]],["impl RefUnwindSafe for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl RefUnwindSafe for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl RefUnwindSafe for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl RefUnwindSafe for Settings",1,["iced_graphics::settings::Settings"]],["impl RefUnwindSafe for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl RefUnwindSafe for Cache",1,["iced_graphics::text::cache::Cache"]],["impl RefUnwindSafe for Entry",1,["iced_graphics::text::cache::Entry"]],["impl RefUnwindSafe for Editor",1,["iced_graphics::text::editor::Editor"]],["impl RefUnwindSafe for Weak",1,["iced_graphics::text::editor::Weak"]],["impl RefUnwindSafe for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl RefUnwindSafe for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl RefUnwindSafe for Raw",1,["iced_graphics::text::Raw"]],["impl RefUnwindSafe for Version",1,["iced_graphics::text::Version"]],["impl<'a> RefUnwindSafe for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> RefUnwindSafe for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> RefUnwindSafe for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> !RefUnwindSafe for Cache<Renderer>",1,["iced_graphics::geometry::cache::Cache"]],["impl<Renderer> RefUnwindSafe for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: RefUnwindSafe,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<T> !RefUnwindSafe for Cache<T>",1,["iced_graphics::cache::Cache"]],["impl<T> RefUnwindSafe for State<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_graphics::cache::State"]],["impl<T> RefUnwindSafe for Stack<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_graphics::layer::Stack"]],["impl<T> RefUnwindSafe for Indexed<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl RefUnwindSafe for Theme",1,["iced_highlighter::Theme"]],["impl RefUnwindSafe for Highlight",1,["iced_highlighter::Highlight"]],["impl RefUnwindSafe for Highlighter",1,["iced_highlighter::Highlighter"]],["impl RefUnwindSafe for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> RefUnwindSafe for Compositor<A, B>
    where\n A: RefUnwindSafe,\n B: RefUnwindSafe,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> RefUnwindSafe for Renderer<A, B>
    where\n A: RefUnwindSafe,\n B: RefUnwindSafe,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> RefUnwindSafe for Surface<A, B>
    where\n A: RefUnwindSafe,\n B: RefUnwindSafe,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !RefUnwindSafe for Action",1,["iced_runtime::clipboard::Action"]],["impl !RefUnwindSafe for Action",1,["iced_runtime::system::Action"]],["impl !RefUnwindSafe for Action",1,["iced_runtime::window::Action"]],["impl !RefUnwindSafe for Handle",1,["iced_runtime::task::Handle"]],["impl !RefUnwindSafe for Cache",1,["iced_runtime::user_interface::Cache"]],["impl RefUnwindSafe for Error",1,["iced_runtime::font::Error"]],["impl RefUnwindSafe for State",1,["iced_runtime::user_interface::State"]],["impl RefUnwindSafe for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl RefUnwindSafe for Debug",1,["iced_runtime::debug::Debug"]],["impl RefUnwindSafe for Information",1,["iced_runtime::system::Information"]],["impl RefUnwindSafe for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> !RefUnwindSafe for State<P>",1,["iced_runtime::multi_window::state::State"]],["impl<P> !RefUnwindSafe for State<P>",1,["iced_runtime::program::state::State"]],["impl<T> !RefUnwindSafe for Action<T>",1,["iced_runtime::Action"]],["impl<T> !RefUnwindSafe for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !RefUnwindSafe for Renderer",1,["iced_tiny_skia::Renderer"]],["impl !RefUnwindSafe for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]],["impl !RefUnwindSafe for Surface",1,["iced_tiny_skia::window::compositor::Surface"]],["impl RefUnwindSafe for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl RefUnwindSafe for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl RefUnwindSafe for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl RefUnwindSafe for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl RefUnwindSafe for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl RefUnwindSafe for Settings",1,["iced_tiny_skia::settings::Settings"]]]],["iced_wgpu",[["impl !RefUnwindSafe for Error",1,["iced_wgpu::window::compositor::Error"]],["impl !RefUnwindSafe for Layer",1,["iced_wgpu::layer::Layer"]],["impl !RefUnwindSafe for Instance",1,["iced_wgpu::primitive::Instance"]],["impl !RefUnwindSafe for Storage",1,["iced_wgpu::primitive::Storage"]],["impl !RefUnwindSafe for Engine",1,["iced_wgpu::engine::Engine"]],["impl !RefUnwindSafe for Renderer",1,["iced_wgpu::Renderer"]],["impl !RefUnwindSafe for Compositor",1,["iced_wgpu::window::compositor::Compositor"]],["impl RefUnwindSafe for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl RefUnwindSafe for Cache",1,["iced_wgpu::geometry::Cache"]],["impl RefUnwindSafe for Frame",1,["iced_wgpu::geometry::Frame"]],["impl RefUnwindSafe for Settings",1,["iced_wgpu::settings::Settings"]]]],["iced_widget",[["impl !RefUnwindSafe for Item",1,["iced_widget::markdown::Item"]],["impl !RefUnwindSafe for Text",1,["iced_widget::markdown::Text"]],["impl !RefUnwindSafe for State",1,["iced_widget::overlay::menu::State"]],["impl !RefUnwindSafe for Data",1,["iced_widget::qr_code::Data"]],["impl RefUnwindSafe for Status",1,["iced_widget::button::Status"]],["impl RefUnwindSafe for Event",1,["iced_widget::canvas::event::Event"]],["impl RefUnwindSafe for Status",1,["iced_widget::checkbox::Status"]],["impl RefUnwindSafe for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl RefUnwindSafe for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl RefUnwindSafe for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl RefUnwindSafe for Edge",1,["iced_widget::pane_grid::Edge"]],["impl RefUnwindSafe for Node",1,["iced_widget::pane_grid::node::Node"]],["impl RefUnwindSafe for Region",1,["iced_widget::pane_grid::Region"]],["impl RefUnwindSafe for Target",1,["iced_widget::pane_grid::Target"]],["impl RefUnwindSafe for Action",1,["iced_widget::pane_grid::state::Action"]],["impl RefUnwindSafe for Status",1,["iced_widget::pick_list::Status"]],["impl RefUnwindSafe for Error",1,["iced_widget::qr_code::Error"]],["impl RefUnwindSafe for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl RefUnwindSafe for Version",1,["iced_widget::qr_code::Version"]],["impl RefUnwindSafe for Status",1,["iced_widget::radio::Status"]],["impl RefUnwindSafe for FillMode",1,["iced_widget::rule::FillMode"]],["impl RefUnwindSafe for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl RefUnwindSafe for Direction",1,["iced_widget::scrollable::Direction"]],["impl RefUnwindSafe for Status",1,["iced_widget::scrollable::Status"]],["impl RefUnwindSafe for Event",1,["iced_widget::shader::event::Event"]],["impl RefUnwindSafe for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl RefUnwindSafe for Status",1,["iced_widget::slider::Status"]],["impl RefUnwindSafe for Status",1,["iced_widget::svg::Status"]],["impl RefUnwindSafe for Status",1,["iced_widget::text_editor::Status"]],["impl RefUnwindSafe for State",1,["iced_widget::text_input::cursor::State"]],["impl RefUnwindSafe for Side",1,["iced_widget::text_input::Side"]],["impl RefUnwindSafe for Status",1,["iced_widget::text_input::Status"]],["impl RefUnwindSafe for Status",1,["iced_widget::toggler::Status"]],["impl RefUnwindSafe for Position",1,["iced_widget::tooltip::Position"]],["impl RefUnwindSafe for Style",1,["iced_widget::button::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::checkbox::Style"]],["impl RefUnwindSafe for Id",1,["iced_widget::container::Id"]],["impl RefUnwindSafe for Style",1,["iced_widget::container::Style"]],["impl RefUnwindSafe for State",1,["iced_widget::image::viewer::State"]],["impl RefUnwindSafe for Settings",1,["iced_widget::markdown::Settings"]],["impl RefUnwindSafe for Style",1,["iced_widget::markdown::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::overlay::menu::Style"]],["impl RefUnwindSafe for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl RefUnwindSafe for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl RefUnwindSafe for Line",1,["iced_widget::pane_grid::Line"]],["impl RefUnwindSafe for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl RefUnwindSafe for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl RefUnwindSafe for Split",1,["iced_widget::pane_grid::split::Split"]],["impl RefUnwindSafe for Style",1,["iced_widget::pane_grid::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::pick_list::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::progress_bar::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::qr_code::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::radio::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::rule::Style"]],["impl RefUnwindSafe for Id",1,["iced_widget::scrollable::Id"]],["impl RefUnwindSafe for Rail",1,["iced_widget::scrollable::Rail"]],["impl RefUnwindSafe for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl RefUnwindSafe for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl RefUnwindSafe for Style",1,["iced_widget::scrollable::Style"]],["impl RefUnwindSafe for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl RefUnwindSafe for Handle",1,["iced_widget::slider::Handle"]],["impl RefUnwindSafe for Rail",1,["iced_widget::slider::Rail"]],["impl RefUnwindSafe for Style",1,["iced_widget::slider::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::svg::Style"]],["impl RefUnwindSafe for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl RefUnwindSafe for Style",1,["iced_widget::text_editor::Style"]],["impl RefUnwindSafe for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl RefUnwindSafe for Id",1,["iced_widget::text_input::Id"]],["impl RefUnwindSafe for Style",1,["iced_widget::text_input::Style"]],["impl RefUnwindSafe for Value",1,["iced_widget::text_input::value::Value"]],["impl RefUnwindSafe for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Menu<'a, 'b, T, Message, Theme, Renderer>",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TextEditor<'a, Highlighter, Message, Theme, Renderer>",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Rich<'a, Link, Theme, Renderer>",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Button<'a, Message, Theme, Renderer>",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Checkbox<'a, Message, Theme, Renderer>",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Container<'a, Message, Theme, Renderer>",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Content<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PaneGrid<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TitleBar<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Scrollable<'a, Message, Theme, Renderer>",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TextInput<'a, Message, Theme, Renderer>",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Toggler<'a, Message, Theme, Renderer>",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Tooltip<'a, Message, Theme, Renderer>",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer> RefUnwindSafe for Radio<'a, Message, Theme, Renderer>
    where\n Message: RefUnwindSafe,\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,\n <Renderer as Renderer>::Font: RefUnwindSafe,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !RefUnwindSafe for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> RefUnwindSafe for Contents<'a, T>
    where\n T: RefUnwindSafe,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PickList<'a, T, L, V, Message, Theme, Renderer>",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme = Theme> !RefUnwindSafe for Slider<'a, T, Message, Theme>",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme = Theme> !RefUnwindSafe for VerticalSlider<'a, T, Message, Theme>",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for ComboBox<'a, T, Message, Theme, Renderer>",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme = Theme> !RefUnwindSafe for QRCode<'a, Theme>",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> RefUnwindSafe for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> RefUnwindSafe for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> RefUnwindSafe for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> RefUnwindSafe for Handle<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> RefUnwindSafe for Icon<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> RefUnwindSafe for Icon<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> RefUnwindSafe for Icon<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> RefUnwindSafe for Image<Handle>
    where\n Handle: RefUnwindSafe,
    ",1,["iced_widget::image::Image"]],["impl<Handle> RefUnwindSafe for Viewer<Handle>
    where\n Handle: RefUnwindSafe,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> !RefUnwindSafe for State<Highlighter>",1,["iced_widget::text_editor::State"]],["impl<Message> RefUnwindSafe for Binding<Message>
    where\n Message: RefUnwindSafe,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> RefUnwindSafe for Shader<Message, P>
    where\n P: RefUnwindSafe,\n Message: RefUnwindSafe,
    ",1,["iced_widget::shader::Shader"]],["impl<P> RefUnwindSafe for State<P>
    where\n P: RefUnwindSafe,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> RefUnwindSafe for Canvas<P, Message, Theme, Renderer>
    where\n P: RefUnwindSafe,\n Message: RefUnwindSafe,\n Theme: RefUnwindSafe,\n Renderer: RefUnwindSafe,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R = Renderer<Renderer, Renderer>> !RefUnwindSafe for Content<R>",1,["iced_widget::text_editor::Content"]],["impl<T> !RefUnwindSafe for State<T>",1,["iced_widget::combo_box::State"]],["impl<T> RefUnwindSafe for Configuration<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> RefUnwindSafe for State<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl !RefUnwindSafe for Error",1,["iced_winit::error::Error"]],["impl !RefUnwindSafe for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl RefUnwindSafe for Appearance",1,["iced_winit::program::Appearance"]],["impl RefUnwindSafe for Settings",1,["iced_winit::settings::Settings"]],["impl<P> RefUnwindSafe for State<P>
    where\n <P as Program>::Theme: RefUnwindSafe,
    ",1,["iced_winit::program::state::State"]],["impl<T> !RefUnwindSafe for Proxy<T>",1,["iced_winit::proxy::Proxy"]]]]]); + var implementors = Object.fromEntries([["iced",[["impl !RefUnwindSafe for Error",1,["iced::error::Error"]],["impl !RefUnwindSafe for Error",1,["iced::window::icon::Error"]],["impl RefUnwindSafe for Settings",1,["iced::settings::Settings"]],["impl<P> RefUnwindSafe for Application<P>
    where\n P: RefUnwindSafe,
    ",1,["iced::application::Application"]],["impl<P> RefUnwindSafe for Daemon<P>
    where\n P: RefUnwindSafe,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !RefUnwindSafe for State",1,["iced_core::widget::tree::State"]],["impl !RefUnwindSafe for Tree",1,["iced_core::widget::tree::Tree"]],["impl RefUnwindSafe for Alignment",1,["iced_core::alignment::Alignment"]],["impl RefUnwindSafe for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl RefUnwindSafe for Vertical",1,["iced_core::alignment::Vertical"]],["impl RefUnwindSafe for Kind",1,["iced_core::clipboard::Kind"]],["impl RefUnwindSafe for Background",1,["iced_core::background::Background"]],["impl RefUnwindSafe for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl RefUnwindSafe for Length",1,["iced_core::length::Length"]],["impl RefUnwindSafe for Rotation",1,["iced_core::rotation::Rotation"]],["impl RefUnwindSafe for Event",1,["iced_core::event::Event"]],["impl RefUnwindSafe for Status",1,["iced_core::event::Status"]],["impl RefUnwindSafe for Family",1,["iced_core::font::Family"]],["impl RefUnwindSafe for Stretch",1,["iced_core::font::Stretch"]],["impl RefUnwindSafe for Style",1,["iced_core::font::Style"]],["impl RefUnwindSafe for Weight",1,["iced_core::font::Weight"]],["impl RefUnwindSafe for Gradient",1,["iced_core::gradient::Gradient"]],["impl RefUnwindSafe for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl RefUnwindSafe for Handle",1,["iced_core::image::Handle"]],["impl RefUnwindSafe for Event",1,["iced_core::keyboard::event::Event"]],["impl RefUnwindSafe for Location",1,["iced_core::keyboard::location::Location"]],["impl RefUnwindSafe for Code",1,["iced_core::keyboard::key::Code"]],["impl RefUnwindSafe for Named",1,["iced_core::keyboard::key::Named"]],["impl RefUnwindSafe for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl RefUnwindSafe for Physical",1,["iced_core::keyboard::key::Physical"]],["impl RefUnwindSafe for Axis",1,["iced_core::layout::flex::Axis"]],["impl RefUnwindSafe for Kind",1,["iced_core::mouse::click::Kind"]],["impl RefUnwindSafe for Button",1,["iced_core::mouse::button::Button"]],["impl RefUnwindSafe for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl RefUnwindSafe for Event",1,["iced_core::mouse::event::Event"]],["impl RefUnwindSafe for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl RefUnwindSafe for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl RefUnwindSafe for Data",1,["iced_core::svg::Data"]],["impl RefUnwindSafe for Action",1,["iced_core::text::editor::Action"]],["impl RefUnwindSafe for Cursor",1,["iced_core::text::editor::Cursor"]],["impl RefUnwindSafe for Direction",1,["iced_core::text::editor::Direction"]],["impl RefUnwindSafe for Edit",1,["iced_core::text::editor::Edit"]],["impl RefUnwindSafe for Motion",1,["iced_core::text::editor::Motion"]],["impl RefUnwindSafe for Difference",1,["iced_core::text::Difference"]],["impl RefUnwindSafe for Hit",1,["iced_core::text::Hit"]],["impl RefUnwindSafe for LineHeight",1,["iced_core::text::LineHeight"]],["impl RefUnwindSafe for Shaping",1,["iced_core::text::Shaping"]],["impl RefUnwindSafe for Wrapping",1,["iced_core::text::Wrapping"]],["impl RefUnwindSafe for Theme",1,["iced_core::theme::Theme"]],["impl RefUnwindSafe for Event",1,["iced_core::touch::Event"]],["impl RefUnwindSafe for Event",1,["iced_core::window::event::Event"]],["impl RefUnwindSafe for Level",1,["iced_core::window::level::Level"]],["impl RefUnwindSafe for Mode",1,["iced_core::window::mode::Mode"]],["impl RefUnwindSafe for Position",1,["iced_core::window::position::Position"]],["impl RefUnwindSafe for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl RefUnwindSafe for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl RefUnwindSafe for Error",1,["iced_core::window::icon::Error"]],["impl RefUnwindSafe for Border",1,["iced_core::border::Border"]],["impl RefUnwindSafe for Radius",1,["iced_core::border::Radius"]],["impl RefUnwindSafe for Null",1,["iced_core::clipboard::Null"]],["impl RefUnwindSafe for Font",1,["iced_core::font::Font"]],["impl RefUnwindSafe for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl RefUnwindSafe for Linear",1,["iced_core::gradient::Linear"]],["impl RefUnwindSafe for Id",1,["iced_core::image::Id"]],["impl RefUnwindSafe for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl RefUnwindSafe for Limits",1,["iced_core::layout::limits::Limits"]],["impl RefUnwindSafe for Node",1,["iced_core::layout::node::Node"]],["impl RefUnwindSafe for Click",1,["iced_core::mouse::click::Click"]],["impl RefUnwindSafe for Padding",1,["iced_core::padding::Padding"]],["impl RefUnwindSafe for Quad",1,["iced_core::renderer::Quad"]],["impl RefUnwindSafe for Style",1,["iced_core::renderer::Style"]],["impl RefUnwindSafe for Color",1,["iced_core::color::Color"]],["impl RefUnwindSafe for Degrees",1,["iced_core::angle::Degrees"]],["impl RefUnwindSafe for Pixels",1,["iced_core::pixels::Pixels"]],["impl RefUnwindSafe for Radians",1,["iced_core::angle::Radians"]],["impl RefUnwindSafe for Shadow",1,["iced_core::shadow::Shadow"]],["impl RefUnwindSafe for Transformation",1,["iced_core::transformation::Transformation"]],["impl RefUnwindSafe for Handle",1,["iced_core::svg::Handle"]],["impl RefUnwindSafe for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl RefUnwindSafe for Highlight",1,["iced_core::text::Highlight"]],["impl RefUnwindSafe for Background",1,["iced_core::theme::palette::Background"]],["impl RefUnwindSafe for Danger",1,["iced_core::theme::palette::Danger"]],["impl RefUnwindSafe for Extended",1,["iced_core::theme::palette::Extended"]],["impl RefUnwindSafe for Pair",1,["iced_core::theme::palette::Pair"]],["impl RefUnwindSafe for Palette",1,["iced_core::theme::palette::Palette"]],["impl RefUnwindSafe for Primary",1,["iced_core::theme::palette::Primary"]],["impl RefUnwindSafe for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl RefUnwindSafe for Success",1,["iced_core::theme::palette::Success"]],["impl RefUnwindSafe for Custom",1,["iced_core::theme::Custom"]],["impl RefUnwindSafe for Finger",1,["iced_core::touch::Finger"]],["impl RefUnwindSafe for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl RefUnwindSafe for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl RefUnwindSafe for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl RefUnwindSafe for Id",1,["iced_core::widget::id::Id"]],["impl RefUnwindSafe for Style",1,["iced_core::widget::text::Style"]],["impl RefUnwindSafe for Tag",1,["iced_core::widget::tree::Tag"]],["impl RefUnwindSafe for Icon",1,["iced_core::window::icon::Icon"]],["impl RefUnwindSafe for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl RefUnwindSafe for Settings",1,["iced_core::window::settings::Settings"]],["impl RefUnwindSafe for Id",1,["iced_core::window::id::Id"]],["impl<'a> RefUnwindSafe for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> RefUnwindSafe for Span<'a, Link, Font>
    where\n Font: RefUnwindSafe,\n Link: RefUnwindSafe,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> RefUnwindSafe for Shell<'a, Message>
    where\n Message: RefUnwindSafe,
    ",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> RefUnwindSafe for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,\n <Renderer as Renderer>::Font: RefUnwindSafe,
    ",1,["iced_core::widget::text::Text"]],["impl<C> RefUnwindSafe for Key<C>
    where\n C: RefUnwindSafe,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> RefUnwindSafe for Text<Content, Font>
    where\n Content: RefUnwindSafe,\n Font: RefUnwindSafe,
    ",1,["iced_core::text::Text"]],["impl<Font> RefUnwindSafe for Format<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> RefUnwindSafe for Image<H>
    where\n H: RefUnwindSafe,
    ",1,["iced_core::image::Image"]],["impl<H> RefUnwindSafe for Svg<H>
    where\n H: RefUnwindSafe,
    ",1,["iced_core::svg::Svg"]],["impl<P> RefUnwindSafe for Plain<P>
    where\n P: RefUnwindSafe,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> RefUnwindSafe for State<P>
    where\n P: RefUnwindSafe,
    ",1,["iced_core::widget::text::State"]],["impl<T> !RefUnwindSafe for Outcome<T>",1,["iced_core::widget::operation::Outcome"]],["impl<T> RefUnwindSafe for Point<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_core::point::Point"]],["impl<T> RefUnwindSafe for Rectangle<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> RefUnwindSafe for Size<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_core::size::Size"]],["impl<T> RefUnwindSafe for Vector<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl !RefUnwindSafe for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl RefUnwindSafe for Event",1,["iced_futures::subscription::Event"]],["impl RefUnwindSafe for MacOS",1,["iced_futures::subscription::MacOS"]],["impl RefUnwindSafe for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl RefUnwindSafe for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl RefUnwindSafe for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl RefUnwindSafe for Executor",1,["iced_futures::backend::null::Executor"]],["impl<Executor, Sender, Message> !RefUnwindSafe for Runtime<Executor, Sender, Message>",1,["iced_futures::runtime::Runtime"]],["impl<T> !RefUnwindSafe for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl !RefUnwindSafe for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl RefUnwindSafe for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl RefUnwindSafe for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl RefUnwindSafe for Error",1,["iced_graphics::error::Error"]],["impl RefUnwindSafe for Reason",1,["iced_graphics::error::Reason"]],["impl RefUnwindSafe for Style",1,["iced_graphics::geometry::style::Style"]],["impl RefUnwindSafe for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl RefUnwindSafe for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl RefUnwindSafe for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl RefUnwindSafe for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl RefUnwindSafe for Image",1,["iced_graphics::image::Image"]],["impl RefUnwindSafe for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl RefUnwindSafe for Text",1,["iced_graphics::text::Text"]],["impl RefUnwindSafe for Group",1,["iced_graphics::cache::Group"]],["impl RefUnwindSafe for Packed",1,["iced_graphics::color::Packed"]],["impl RefUnwindSafe for Information",1,["iced_graphics::compositor::Information"]],["impl RefUnwindSafe for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl RefUnwindSafe for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl RefUnwindSafe for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl RefUnwindSafe for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl RefUnwindSafe for Path",1,["iced_graphics::geometry::path::Path"]],["impl RefUnwindSafe for Text",1,["iced_graphics::geometry::text::Text"]],["impl RefUnwindSafe for Linear",1,["iced_graphics::gradient::Linear"]],["impl RefUnwindSafe for Packed",1,["iced_graphics::gradient::Packed"]],["impl RefUnwindSafe for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl RefUnwindSafe for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl RefUnwindSafe for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl RefUnwindSafe for Settings",1,["iced_graphics::settings::Settings"]],["impl RefUnwindSafe for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl RefUnwindSafe for Cache",1,["iced_graphics::text::cache::Cache"]],["impl RefUnwindSafe for Entry",1,["iced_graphics::text::cache::Entry"]],["impl RefUnwindSafe for Editor",1,["iced_graphics::text::editor::Editor"]],["impl RefUnwindSafe for Weak",1,["iced_graphics::text::editor::Weak"]],["impl RefUnwindSafe for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl RefUnwindSafe for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl RefUnwindSafe for Raw",1,["iced_graphics::text::Raw"]],["impl RefUnwindSafe for Version",1,["iced_graphics::text::Version"]],["impl<'a> RefUnwindSafe for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> RefUnwindSafe for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> RefUnwindSafe for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> !RefUnwindSafe for Cache<Renderer>",1,["iced_graphics::geometry::cache::Cache"]],["impl<Renderer> RefUnwindSafe for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: RefUnwindSafe,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<T> !RefUnwindSafe for Cache<T>",1,["iced_graphics::cache::Cache"]],["impl<T> RefUnwindSafe for State<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_graphics::cache::State"]],["impl<T> RefUnwindSafe for Stack<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_graphics::layer::Stack"]],["impl<T> RefUnwindSafe for Indexed<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl RefUnwindSafe for Theme",1,["iced_highlighter::Theme"]],["impl RefUnwindSafe for Highlight",1,["iced_highlighter::Highlight"]],["impl RefUnwindSafe for Highlighter",1,["iced_highlighter::Highlighter"]],["impl RefUnwindSafe for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> RefUnwindSafe for Compositor<A, B>
    where\n A: RefUnwindSafe,\n B: RefUnwindSafe,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> RefUnwindSafe for Renderer<A, B>
    where\n A: RefUnwindSafe,\n B: RefUnwindSafe,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> RefUnwindSafe for Surface<A, B>
    where\n A: RefUnwindSafe,\n B: RefUnwindSafe,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !RefUnwindSafe for Action",1,["iced_runtime::clipboard::Action"]],["impl !RefUnwindSafe for Action",1,["iced_runtime::system::Action"]],["impl !RefUnwindSafe for Action",1,["iced_runtime::window::Action"]],["impl !RefUnwindSafe for Handle",1,["iced_runtime::task::Handle"]],["impl !RefUnwindSafe for Cache",1,["iced_runtime::user_interface::Cache"]],["impl RefUnwindSafe for Error",1,["iced_runtime::font::Error"]],["impl RefUnwindSafe for State",1,["iced_runtime::user_interface::State"]],["impl RefUnwindSafe for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl RefUnwindSafe for Debug",1,["iced_runtime::debug::Debug"]],["impl RefUnwindSafe for Information",1,["iced_runtime::system::Information"]],["impl RefUnwindSafe for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> !RefUnwindSafe for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> !RefUnwindSafe for State<P>",1,["iced_runtime::multi_window::state::State"]],["impl<P> !RefUnwindSafe for State<P>",1,["iced_runtime::program::state::State"]],["impl<T> !RefUnwindSafe for Action<T>",1,["iced_runtime::Action"]],["impl<T> !RefUnwindSafe for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !RefUnwindSafe for Renderer",1,["iced_tiny_skia::Renderer"]],["impl !RefUnwindSafe for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]],["impl !RefUnwindSafe for Surface",1,["iced_tiny_skia::window::compositor::Surface"]],["impl RefUnwindSafe for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl RefUnwindSafe for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl RefUnwindSafe for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl RefUnwindSafe for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl RefUnwindSafe for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl RefUnwindSafe for Settings",1,["iced_tiny_skia::settings::Settings"]]]],["iced_wgpu",[["impl !RefUnwindSafe for Error",1,["iced_wgpu::window::compositor::Error"]],["impl !RefUnwindSafe for Layer",1,["iced_wgpu::layer::Layer"]],["impl !RefUnwindSafe for Instance",1,["iced_wgpu::primitive::Instance"]],["impl !RefUnwindSafe for Storage",1,["iced_wgpu::primitive::Storage"]],["impl !RefUnwindSafe for Engine",1,["iced_wgpu::engine::Engine"]],["impl !RefUnwindSafe for Renderer",1,["iced_wgpu::Renderer"]],["impl !RefUnwindSafe for Compositor",1,["iced_wgpu::window::compositor::Compositor"]],["impl RefUnwindSafe for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl RefUnwindSafe for Cache",1,["iced_wgpu::geometry::Cache"]],["impl RefUnwindSafe for Frame",1,["iced_wgpu::geometry::Frame"]],["impl RefUnwindSafe for Settings",1,["iced_wgpu::settings::Settings"]]]],["iced_widget",[["impl !RefUnwindSafe for Item",1,["iced_widget::markdown::Item"]],["impl !RefUnwindSafe for Text",1,["iced_widget::markdown::Text"]],["impl !RefUnwindSafe for State",1,["iced_widget::overlay::menu::State"]],["impl !RefUnwindSafe for Data",1,["iced_widget::qr_code::Data"]],["impl RefUnwindSafe for Status",1,["iced_widget::button::Status"]],["impl RefUnwindSafe for Event",1,["iced_widget::canvas::event::Event"]],["impl RefUnwindSafe for Status",1,["iced_widget::checkbox::Status"]],["impl RefUnwindSafe for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl RefUnwindSafe for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl RefUnwindSafe for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl RefUnwindSafe for Edge",1,["iced_widget::pane_grid::Edge"]],["impl RefUnwindSafe for Node",1,["iced_widget::pane_grid::node::Node"]],["impl RefUnwindSafe for Region",1,["iced_widget::pane_grid::Region"]],["impl RefUnwindSafe for Target",1,["iced_widget::pane_grid::Target"]],["impl RefUnwindSafe for Action",1,["iced_widget::pane_grid::state::Action"]],["impl RefUnwindSafe for Status",1,["iced_widget::pick_list::Status"]],["impl RefUnwindSafe for Error",1,["iced_widget::qr_code::Error"]],["impl RefUnwindSafe for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl RefUnwindSafe for Version",1,["iced_widget::qr_code::Version"]],["impl RefUnwindSafe for Status",1,["iced_widget::radio::Status"]],["impl RefUnwindSafe for FillMode",1,["iced_widget::rule::FillMode"]],["impl RefUnwindSafe for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl RefUnwindSafe for Direction",1,["iced_widget::scrollable::Direction"]],["impl RefUnwindSafe for Status",1,["iced_widget::scrollable::Status"]],["impl RefUnwindSafe for Event",1,["iced_widget::shader::event::Event"]],["impl RefUnwindSafe for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl RefUnwindSafe for Status",1,["iced_widget::slider::Status"]],["impl RefUnwindSafe for Status",1,["iced_widget::svg::Status"]],["impl RefUnwindSafe for Status",1,["iced_widget::text_editor::Status"]],["impl RefUnwindSafe for State",1,["iced_widget::text_input::cursor::State"]],["impl RefUnwindSafe for Side",1,["iced_widget::text_input::Side"]],["impl RefUnwindSafe for Status",1,["iced_widget::text_input::Status"]],["impl RefUnwindSafe for Status",1,["iced_widget::toggler::Status"]],["impl RefUnwindSafe for Position",1,["iced_widget::tooltip::Position"]],["impl RefUnwindSafe for Style",1,["iced_widget::button::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::checkbox::Style"]],["impl RefUnwindSafe for Id",1,["iced_widget::container::Id"]],["impl RefUnwindSafe for Style",1,["iced_widget::container::Style"]],["impl RefUnwindSafe for State",1,["iced_widget::image::viewer::State"]],["impl RefUnwindSafe for Settings",1,["iced_widget::markdown::Settings"]],["impl RefUnwindSafe for Style",1,["iced_widget::markdown::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::overlay::menu::Style"]],["impl RefUnwindSafe for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl RefUnwindSafe for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl RefUnwindSafe for Line",1,["iced_widget::pane_grid::Line"]],["impl RefUnwindSafe for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl RefUnwindSafe for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl RefUnwindSafe for Split",1,["iced_widget::pane_grid::split::Split"]],["impl RefUnwindSafe for Style",1,["iced_widget::pane_grid::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::pick_list::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::progress_bar::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::qr_code::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::radio::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::rule::Style"]],["impl RefUnwindSafe for Id",1,["iced_widget::scrollable::Id"]],["impl RefUnwindSafe for Rail",1,["iced_widget::scrollable::Rail"]],["impl RefUnwindSafe for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl RefUnwindSafe for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl RefUnwindSafe for Style",1,["iced_widget::scrollable::Style"]],["impl RefUnwindSafe for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl RefUnwindSafe for Handle",1,["iced_widget::slider::Handle"]],["impl RefUnwindSafe for Rail",1,["iced_widget::slider::Rail"]],["impl RefUnwindSafe for Style",1,["iced_widget::slider::Style"]],["impl RefUnwindSafe for Style",1,["iced_widget::svg::Style"]],["impl RefUnwindSafe for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl RefUnwindSafe for Style",1,["iced_widget::text_editor::Style"]],["impl RefUnwindSafe for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl RefUnwindSafe for Id",1,["iced_widget::text_input::Id"]],["impl RefUnwindSafe for Style",1,["iced_widget::text_input::Style"]],["impl RefUnwindSafe for Value",1,["iced_widget::text_input::value::Value"]],["impl RefUnwindSafe for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Menu<'a, 'b, T, Message, Theme, Renderer>",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TextEditor<'a, Highlighter, Message, Theme, Renderer>",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Rich<'a, Link, Theme, Renderer>",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Button<'a, Message, Theme, Renderer>",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Checkbox<'a, Message, Theme, Renderer>",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Container<'a, Message, Theme, Renderer>",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Content<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PaneGrid<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TitleBar<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Scrollable<'a, Message, Theme, Renderer>",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for TextInput<'a, Message, Theme, Renderer>",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Toggler<'a, Message, Theme, Renderer>",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for Tooltip<'a, Message, Theme, Renderer>",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer> RefUnwindSafe for Radio<'a, Message, Theme, Renderer>
    where\n Message: RefUnwindSafe,\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,\n <Renderer as Renderer>::Font: RefUnwindSafe,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !RefUnwindSafe for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> RefUnwindSafe for Contents<'a, T>
    where\n T: RefUnwindSafe,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for PickList<'a, T, L, V, Message, Theme, Renderer>",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme = Theme> !RefUnwindSafe for Slider<'a, T, Message, Theme>",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme = Theme> !RefUnwindSafe for VerticalSlider<'a, T, Message, Theme>",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !RefUnwindSafe for ComboBox<'a, T, Message, Theme, Renderer>",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme = Theme> !RefUnwindSafe for QRCode<'a, Theme>",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> RefUnwindSafe for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> RefUnwindSafe for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> RefUnwindSafe for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: RefUnwindSafe,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> RefUnwindSafe for Handle<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> RefUnwindSafe for Icon<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> RefUnwindSafe for Icon<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> RefUnwindSafe for Icon<Font>
    where\n Font: RefUnwindSafe,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> RefUnwindSafe for Image<Handle>
    where\n Handle: RefUnwindSafe,
    ",1,["iced_widget::image::Image"]],["impl<Handle> RefUnwindSafe for Viewer<Handle>
    where\n Handle: RefUnwindSafe,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> !RefUnwindSafe for State<Highlighter>",1,["iced_widget::text_editor::State"]],["impl<Message> RefUnwindSafe for Binding<Message>
    where\n Message: RefUnwindSafe,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> RefUnwindSafe for Shader<Message, P>
    where\n P: RefUnwindSafe,\n Message: RefUnwindSafe,
    ",1,["iced_widget::shader::Shader"]],["impl<P> RefUnwindSafe for State<P>
    where\n P: RefUnwindSafe,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> RefUnwindSafe for Canvas<P, Message, Theme, Renderer>
    where\n P: RefUnwindSafe,\n Message: RefUnwindSafe,\n Theme: RefUnwindSafe,\n Renderer: RefUnwindSafe,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R = Renderer<Renderer, Renderer>> !RefUnwindSafe for Content<R>",1,["iced_widget::text_editor::Content"]],["impl<T> !RefUnwindSafe for State<T>",1,["iced_widget::combo_box::State"]],["impl<T> RefUnwindSafe for Configuration<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> RefUnwindSafe for State<T>
    where\n T: RefUnwindSafe,
    ",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl !RefUnwindSafe for Error",1,["iced_winit::error::Error"]],["impl !RefUnwindSafe for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl RefUnwindSafe for Appearance",1,["iced_winit::program::Appearance"]],["impl RefUnwindSafe for Settings",1,["iced_winit::settings::Settings"]],["impl<P> RefUnwindSafe for State<P>
    where\n <P as Program>::Theme: RefUnwindSafe,
    ",1,["iced_winit::program::state::State"]],["impl<T> !RefUnwindSafe for Proxy<T>",1,["iced_winit::proxy::Proxy"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[2193,45447,3595,18457,1437,2454,6470,3347,3946,54651,2693]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2193,45447,3595,18457,1437,2454,6470,3347,3946,56570,2693]} \ No newline at end of file diff --git a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index 4ae7579524..f814559360 100644 --- a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iced",[["impl !UnwindSafe for Error",1,["iced::error::Error"]],["impl !UnwindSafe for Error",1,["iced::window::icon::Error"]],["impl UnwindSafe for Settings",1,["iced::settings::Settings"]],["impl<P> UnwindSafe for Application<P>
    where\n P: UnwindSafe,
    ",1,["iced::application::Application"]],["impl<P> UnwindSafe for Daemon<P>
    where\n P: UnwindSafe,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !UnwindSafe for State",1,["iced_core::widget::tree::State"]],["impl !UnwindSafe for Tree",1,["iced_core::widget::tree::Tree"]],["impl UnwindSafe for Alignment",1,["iced_core::alignment::Alignment"]],["impl UnwindSafe for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl UnwindSafe for Vertical",1,["iced_core::alignment::Vertical"]],["impl UnwindSafe for Kind",1,["iced_core::clipboard::Kind"]],["impl UnwindSafe for Background",1,["iced_core::background::Background"]],["impl UnwindSafe for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl UnwindSafe for Length",1,["iced_core::length::Length"]],["impl UnwindSafe for Rotation",1,["iced_core::rotation::Rotation"]],["impl UnwindSafe for Event",1,["iced_core::event::Event"]],["impl UnwindSafe for Status",1,["iced_core::event::Status"]],["impl UnwindSafe for Family",1,["iced_core::font::Family"]],["impl UnwindSafe for Stretch",1,["iced_core::font::Stretch"]],["impl UnwindSafe for Style",1,["iced_core::font::Style"]],["impl UnwindSafe for Weight",1,["iced_core::font::Weight"]],["impl UnwindSafe for Gradient",1,["iced_core::gradient::Gradient"]],["impl UnwindSafe for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl UnwindSafe for Handle",1,["iced_core::image::Handle"]],["impl UnwindSafe for Event",1,["iced_core::keyboard::event::Event"]],["impl UnwindSafe for Location",1,["iced_core::keyboard::location::Location"]],["impl UnwindSafe for Code",1,["iced_core::keyboard::key::Code"]],["impl UnwindSafe for Named",1,["iced_core::keyboard::key::Named"]],["impl UnwindSafe for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl UnwindSafe for Physical",1,["iced_core::keyboard::key::Physical"]],["impl UnwindSafe for Axis",1,["iced_core::layout::flex::Axis"]],["impl UnwindSafe for Kind",1,["iced_core::mouse::click::Kind"]],["impl UnwindSafe for Button",1,["iced_core::mouse::button::Button"]],["impl UnwindSafe for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl UnwindSafe for Event",1,["iced_core::mouse::event::Event"]],["impl UnwindSafe for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl UnwindSafe for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl UnwindSafe for Data",1,["iced_core::svg::Data"]],["impl UnwindSafe for Action",1,["iced_core::text::editor::Action"]],["impl UnwindSafe for Cursor",1,["iced_core::text::editor::Cursor"]],["impl UnwindSafe for Direction",1,["iced_core::text::editor::Direction"]],["impl UnwindSafe for Edit",1,["iced_core::text::editor::Edit"]],["impl UnwindSafe for Motion",1,["iced_core::text::editor::Motion"]],["impl UnwindSafe for Difference",1,["iced_core::text::Difference"]],["impl UnwindSafe for Hit",1,["iced_core::text::Hit"]],["impl UnwindSafe for LineHeight",1,["iced_core::text::LineHeight"]],["impl UnwindSafe for Shaping",1,["iced_core::text::Shaping"]],["impl UnwindSafe for Wrapping",1,["iced_core::text::Wrapping"]],["impl UnwindSafe for Theme",1,["iced_core::theme::Theme"]],["impl UnwindSafe for Event",1,["iced_core::touch::Event"]],["impl UnwindSafe for Event",1,["iced_core::window::event::Event"]],["impl UnwindSafe for Level",1,["iced_core::window::level::Level"]],["impl UnwindSafe for Mode",1,["iced_core::window::mode::Mode"]],["impl UnwindSafe for Position",1,["iced_core::window::position::Position"]],["impl UnwindSafe for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl UnwindSafe for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl UnwindSafe for Error",1,["iced_core::window::icon::Error"]],["impl UnwindSafe for Border",1,["iced_core::border::Border"]],["impl UnwindSafe for Radius",1,["iced_core::border::Radius"]],["impl UnwindSafe for Null",1,["iced_core::clipboard::Null"]],["impl UnwindSafe for Font",1,["iced_core::font::Font"]],["impl UnwindSafe for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl UnwindSafe for Linear",1,["iced_core::gradient::Linear"]],["impl UnwindSafe for Id",1,["iced_core::image::Id"]],["impl UnwindSafe for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl UnwindSafe for Limits",1,["iced_core::layout::limits::Limits"]],["impl UnwindSafe for Node",1,["iced_core::layout::node::Node"]],["impl UnwindSafe for Click",1,["iced_core::mouse::click::Click"]],["impl UnwindSafe for Padding",1,["iced_core::padding::Padding"]],["impl UnwindSafe for Quad",1,["iced_core::renderer::Quad"]],["impl UnwindSafe for Style",1,["iced_core::renderer::Style"]],["impl UnwindSafe for Color",1,["iced_core::color::Color"]],["impl UnwindSafe for Degrees",1,["iced_core::angle::Degrees"]],["impl UnwindSafe for Pixels",1,["iced_core::pixels::Pixels"]],["impl UnwindSafe for Radians",1,["iced_core::angle::Radians"]],["impl UnwindSafe for Shadow",1,["iced_core::shadow::Shadow"]],["impl UnwindSafe for Transformation",1,["iced_core::transformation::Transformation"]],["impl UnwindSafe for Handle",1,["iced_core::svg::Handle"]],["impl UnwindSafe for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl UnwindSafe for Highlight",1,["iced_core::text::Highlight"]],["impl UnwindSafe for Background",1,["iced_core::theme::palette::Background"]],["impl UnwindSafe for Danger",1,["iced_core::theme::palette::Danger"]],["impl UnwindSafe for Extended",1,["iced_core::theme::palette::Extended"]],["impl UnwindSafe for Pair",1,["iced_core::theme::palette::Pair"]],["impl UnwindSafe for Palette",1,["iced_core::theme::palette::Palette"]],["impl UnwindSafe for Primary",1,["iced_core::theme::palette::Primary"]],["impl UnwindSafe for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl UnwindSafe for Success",1,["iced_core::theme::palette::Success"]],["impl UnwindSafe for Custom",1,["iced_core::theme::Custom"]],["impl UnwindSafe for Finger",1,["iced_core::touch::Finger"]],["impl UnwindSafe for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl UnwindSafe for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl UnwindSafe for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl UnwindSafe for Id",1,["iced_core::widget::id::Id"]],["impl UnwindSafe for Style",1,["iced_core::widget::text::Style"]],["impl UnwindSafe for Tag",1,["iced_core::widget::tree::Tag"]],["impl UnwindSafe for Icon",1,["iced_core::window::icon::Icon"]],["impl UnwindSafe for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl UnwindSafe for Settings",1,["iced_core::window::settings::Settings"]],["impl UnwindSafe for Id",1,["iced_core::window::id::Id"]],["impl<'a> UnwindSafe for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> UnwindSafe for Span<'a, Link, Font>
    where\n Font: UnwindSafe,\n Link: UnwindSafe,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> !UnwindSafe for Shell<'a, Message>",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> UnwindSafe for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: UnwindSafe,\n <Renderer as Renderer>::Font: UnwindSafe,
    ",1,["iced_core::widget::text::Text"]],["impl<C> UnwindSafe for Key<C>
    where\n C: UnwindSafe,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> UnwindSafe for Text<Content, Font>
    where\n Content: UnwindSafe,\n Font: UnwindSafe,
    ",1,["iced_core::text::Text"]],["impl<Font> UnwindSafe for Format<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> UnwindSafe for Image<H>
    where\n H: UnwindSafe,
    ",1,["iced_core::image::Image"]],["impl<H> UnwindSafe for Svg<H>
    where\n H: UnwindSafe,
    ",1,["iced_core::svg::Svg"]],["impl<P> UnwindSafe for Plain<P>
    where\n P: UnwindSafe,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> UnwindSafe for State<P>
    where\n P: UnwindSafe,
    ",1,["iced_core::widget::text::State"]],["impl<T> !UnwindSafe for Outcome<T>",1,["iced_core::widget::operation::Outcome"]],["impl<T> UnwindSafe for Point<T>
    where\n T: UnwindSafe,
    ",1,["iced_core::point::Point"]],["impl<T> UnwindSafe for Rectangle<T>
    where\n T: UnwindSafe,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> UnwindSafe for Size<T>
    where\n T: UnwindSafe,
    ",1,["iced_core::size::Size"]],["impl<T> UnwindSafe for Vector<T>
    where\n T: UnwindSafe,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl !UnwindSafe for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl UnwindSafe for Event",1,["iced_futures::subscription::Event"]],["impl UnwindSafe for MacOS",1,["iced_futures::subscription::MacOS"]],["impl UnwindSafe for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl UnwindSafe for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl UnwindSafe for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl UnwindSafe for Executor",1,["iced_futures::backend::null::Executor"]],["impl<Executor, Sender, Message> !UnwindSafe for Runtime<Executor, Sender, Message>",1,["iced_futures::runtime::Runtime"]],["impl<T> !UnwindSafe for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl !UnwindSafe for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl UnwindSafe for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl UnwindSafe for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl UnwindSafe for Error",1,["iced_graphics::error::Error"]],["impl UnwindSafe for Reason",1,["iced_graphics::error::Reason"]],["impl UnwindSafe for Style",1,["iced_graphics::geometry::style::Style"]],["impl UnwindSafe for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl UnwindSafe for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl UnwindSafe for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl UnwindSafe for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl UnwindSafe for Image",1,["iced_graphics::image::Image"]],["impl UnwindSafe for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl UnwindSafe for Text",1,["iced_graphics::text::Text"]],["impl UnwindSafe for Group",1,["iced_graphics::cache::Group"]],["impl UnwindSafe for Packed",1,["iced_graphics::color::Packed"]],["impl UnwindSafe for Information",1,["iced_graphics::compositor::Information"]],["impl UnwindSafe for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl UnwindSafe for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl UnwindSafe for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl UnwindSafe for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl UnwindSafe for Path",1,["iced_graphics::geometry::path::Path"]],["impl UnwindSafe for Text",1,["iced_graphics::geometry::text::Text"]],["impl UnwindSafe for Linear",1,["iced_graphics::gradient::Linear"]],["impl UnwindSafe for Packed",1,["iced_graphics::gradient::Packed"]],["impl UnwindSafe for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl UnwindSafe for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl UnwindSafe for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl UnwindSafe for Settings",1,["iced_graphics::settings::Settings"]],["impl UnwindSafe for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl UnwindSafe for Cache",1,["iced_graphics::text::cache::Cache"]],["impl UnwindSafe for Entry",1,["iced_graphics::text::cache::Entry"]],["impl UnwindSafe for Editor",1,["iced_graphics::text::editor::Editor"]],["impl UnwindSafe for Weak",1,["iced_graphics::text::editor::Weak"]],["impl UnwindSafe for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl UnwindSafe for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl UnwindSafe for Raw",1,["iced_graphics::text::Raw"]],["impl UnwindSafe for Version",1,["iced_graphics::text::Version"]],["impl<'a> UnwindSafe for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> UnwindSafe for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> UnwindSafe for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> UnwindSafe for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: UnwindSafe,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<Renderer> UnwindSafe for Cache<Renderer>
    where\n <<Renderer as Renderer>::Geometry as Cached>::Cache: UnwindSafe,
    ",1,["iced_graphics::geometry::cache::Cache"]],["impl<T> UnwindSafe for State<T>
    where\n T: UnwindSafe,
    ",1,["iced_graphics::cache::State"]],["impl<T> UnwindSafe for Cache<T>
    where\n T: UnwindSafe,
    ",1,["iced_graphics::cache::Cache"]],["impl<T> UnwindSafe for Stack<T>
    where\n T: UnwindSafe,
    ",1,["iced_graphics::layer::Stack"]],["impl<T> UnwindSafe for Indexed<T>
    where\n T: UnwindSafe,
    ",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl UnwindSafe for Theme",1,["iced_highlighter::Theme"]],["impl UnwindSafe for Highlight",1,["iced_highlighter::Highlight"]],["impl UnwindSafe for Highlighter",1,["iced_highlighter::Highlighter"]],["impl UnwindSafe for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> UnwindSafe for Compositor<A, B>
    where\n A: UnwindSafe,\n B: UnwindSafe,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> UnwindSafe for Renderer<A, B>
    where\n A: UnwindSafe,\n B: UnwindSafe,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> UnwindSafe for Surface<A, B>
    where\n A: UnwindSafe,\n B: UnwindSafe,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !UnwindSafe for Action",1,["iced_runtime::clipboard::Action"]],["impl !UnwindSafe for Action",1,["iced_runtime::system::Action"]],["impl !UnwindSafe for Action",1,["iced_runtime::window::Action"]],["impl !UnwindSafe for Handle",1,["iced_runtime::task::Handle"]],["impl !UnwindSafe for Cache",1,["iced_runtime::user_interface::Cache"]],["impl UnwindSafe for Error",1,["iced_runtime::font::Error"]],["impl UnwindSafe for State",1,["iced_runtime::user_interface::State"]],["impl UnwindSafe for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl UnwindSafe for Debug",1,["iced_runtime::debug::Debug"]],["impl UnwindSafe for Information",1,["iced_runtime::system::Information"]],["impl UnwindSafe for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> !UnwindSafe for State<P>",1,["iced_runtime::multi_window::state::State"]],["impl<P> !UnwindSafe for State<P>",1,["iced_runtime::program::state::State"]],["impl<T> !UnwindSafe for Action<T>",1,["iced_runtime::Action"]],["impl<T> !UnwindSafe for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !UnwindSafe for Renderer",1,["iced_tiny_skia::Renderer"]],["impl !UnwindSafe for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]],["impl !UnwindSafe for Surface",1,["iced_tiny_skia::window::compositor::Surface"]],["impl UnwindSafe for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl UnwindSafe for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl UnwindSafe for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl UnwindSafe for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl UnwindSafe for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl UnwindSafe for Settings",1,["iced_tiny_skia::settings::Settings"]]]],["iced_wgpu",[["impl !UnwindSafe for Error",1,["iced_wgpu::window::compositor::Error"]],["impl !UnwindSafe for Layer",1,["iced_wgpu::layer::Layer"]],["impl !UnwindSafe for Instance",1,["iced_wgpu::primitive::Instance"]],["impl !UnwindSafe for Storage",1,["iced_wgpu::primitive::Storage"]],["impl !UnwindSafe for Engine",1,["iced_wgpu::engine::Engine"]],["impl !UnwindSafe for Renderer",1,["iced_wgpu::Renderer"]],["impl !UnwindSafe for Compositor",1,["iced_wgpu::window::compositor::Compositor"]],["impl UnwindSafe for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl UnwindSafe for Cache",1,["iced_wgpu::geometry::Cache"]],["impl UnwindSafe for Frame",1,["iced_wgpu::geometry::Frame"]],["impl UnwindSafe for Settings",1,["iced_wgpu::settings::Settings"]]]],["iced_widget",[["impl !UnwindSafe for State",1,["iced_widget::overlay::menu::State"]],["impl UnwindSafe for Status",1,["iced_widget::button::Status"]],["impl UnwindSafe for Event",1,["iced_widget::canvas::event::Event"]],["impl UnwindSafe for Status",1,["iced_widget::checkbox::Status"]],["impl UnwindSafe for Item",1,["iced_widget::markdown::Item"]],["impl UnwindSafe for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl UnwindSafe for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl UnwindSafe for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl UnwindSafe for Edge",1,["iced_widget::pane_grid::Edge"]],["impl UnwindSafe for Node",1,["iced_widget::pane_grid::node::Node"]],["impl UnwindSafe for Region",1,["iced_widget::pane_grid::Region"]],["impl UnwindSafe for Target",1,["iced_widget::pane_grid::Target"]],["impl UnwindSafe for Action",1,["iced_widget::pane_grid::state::Action"]],["impl UnwindSafe for Status",1,["iced_widget::pick_list::Status"]],["impl UnwindSafe for Error",1,["iced_widget::qr_code::Error"]],["impl UnwindSafe for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl UnwindSafe for Version",1,["iced_widget::qr_code::Version"]],["impl UnwindSafe for Status",1,["iced_widget::radio::Status"]],["impl UnwindSafe for FillMode",1,["iced_widget::rule::FillMode"]],["impl UnwindSafe for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl UnwindSafe for Direction",1,["iced_widget::scrollable::Direction"]],["impl UnwindSafe for Status",1,["iced_widget::scrollable::Status"]],["impl UnwindSafe for Event",1,["iced_widget::shader::event::Event"]],["impl UnwindSafe for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl UnwindSafe for Status",1,["iced_widget::slider::Status"]],["impl UnwindSafe for Status",1,["iced_widget::svg::Status"]],["impl UnwindSafe for Status",1,["iced_widget::text_editor::Status"]],["impl UnwindSafe for State",1,["iced_widget::text_input::cursor::State"]],["impl UnwindSafe for Side",1,["iced_widget::text_input::Side"]],["impl UnwindSafe for Status",1,["iced_widget::text_input::Status"]],["impl UnwindSafe for Status",1,["iced_widget::toggler::Status"]],["impl UnwindSafe for Position",1,["iced_widget::tooltip::Position"]],["impl UnwindSafe for Style",1,["iced_widget::button::Style"]],["impl UnwindSafe for Style",1,["iced_widget::checkbox::Style"]],["impl UnwindSafe for Id",1,["iced_widget::container::Id"]],["impl UnwindSafe for Style",1,["iced_widget::container::Style"]],["impl UnwindSafe for State",1,["iced_widget::image::viewer::State"]],["impl UnwindSafe for Settings",1,["iced_widget::markdown::Settings"]],["impl UnwindSafe for Style",1,["iced_widget::markdown::Style"]],["impl UnwindSafe for Text",1,["iced_widget::markdown::Text"]],["impl UnwindSafe for Style",1,["iced_widget::overlay::menu::Style"]],["impl UnwindSafe for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl UnwindSafe for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl UnwindSafe for Line",1,["iced_widget::pane_grid::Line"]],["impl UnwindSafe for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl UnwindSafe for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl UnwindSafe for Split",1,["iced_widget::pane_grid::split::Split"]],["impl UnwindSafe for Style",1,["iced_widget::pane_grid::Style"]],["impl UnwindSafe for Style",1,["iced_widget::pick_list::Style"]],["impl UnwindSafe for Style",1,["iced_widget::progress_bar::Style"]],["impl UnwindSafe for Data",1,["iced_widget::qr_code::Data"]],["impl UnwindSafe for Style",1,["iced_widget::qr_code::Style"]],["impl UnwindSafe for Style",1,["iced_widget::radio::Style"]],["impl UnwindSafe for Style",1,["iced_widget::rule::Style"]],["impl UnwindSafe for Id",1,["iced_widget::scrollable::Id"]],["impl UnwindSafe for Rail",1,["iced_widget::scrollable::Rail"]],["impl UnwindSafe for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl UnwindSafe for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl UnwindSafe for Style",1,["iced_widget::scrollable::Style"]],["impl UnwindSafe for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl UnwindSafe for Handle",1,["iced_widget::slider::Handle"]],["impl UnwindSafe for Rail",1,["iced_widget::slider::Rail"]],["impl UnwindSafe for Style",1,["iced_widget::slider::Style"]],["impl UnwindSafe for Style",1,["iced_widget::svg::Style"]],["impl UnwindSafe for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl UnwindSafe for Style",1,["iced_widget::text_editor::Style"]],["impl UnwindSafe for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl UnwindSafe for Id",1,["iced_widget::text_input::Id"]],["impl UnwindSafe for Style",1,["iced_widget::text_input::Style"]],["impl UnwindSafe for Value",1,["iced_widget::text_input::value::Value"]],["impl UnwindSafe for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Menu<'a, 'b, T, Message, Theme, Renderer>",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TextEditor<'a, Highlighter, Message, Theme, Renderer>",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Rich<'a, Link, Theme, Renderer>",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Button<'a, Message, Theme, Renderer>",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Checkbox<'a, Message, Theme, Renderer>",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Container<'a, Message, Theme, Renderer>",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Content<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for PaneGrid<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TitleBar<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Scrollable<'a, Message, Theme, Renderer>",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TextInput<'a, Message, Theme, Renderer>",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Toggler<'a, Message, Theme, Renderer>",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Tooltip<'a, Message, Theme, Renderer>",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer> UnwindSafe for Radio<'a, Message, Theme, Renderer>
    where\n Message: UnwindSafe,\n <Theme as Catalog>::Class<'a>: UnwindSafe,\n <Renderer as Renderer>::Font: UnwindSafe,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !UnwindSafe for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> UnwindSafe for Contents<'a, T>
    where\n T: UnwindSafe,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for PickList<'a, T, L, V, Message, Theme, Renderer>",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme = Theme> !UnwindSafe for Slider<'a, T, Message, Theme>",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme = Theme> !UnwindSafe for VerticalSlider<'a, T, Message, Theme>",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for ComboBox<'a, T, Message, Theme, Renderer>",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme = Theme> !UnwindSafe for QRCode<'a, Theme>",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> UnwindSafe for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: UnwindSafe,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> UnwindSafe for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: UnwindSafe,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> UnwindSafe for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: UnwindSafe,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> UnwindSafe for Handle<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> UnwindSafe for Icon<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> UnwindSafe for Icon<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> UnwindSafe for Icon<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> UnwindSafe for Image<Handle>
    where\n Handle: UnwindSafe,
    ",1,["iced_widget::image::Image"]],["impl<Handle> UnwindSafe for Viewer<Handle>
    where\n Handle: UnwindSafe,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> UnwindSafe for State<Highlighter>
    where\n <Highlighter as Highlighter>::Settings: UnwindSafe,\n Highlighter: UnwindSafe,
    ",1,["iced_widget::text_editor::State"]],["impl<Message> UnwindSafe for Binding<Message>
    where\n Message: UnwindSafe,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> UnwindSafe for Shader<Message, P>
    where\n P: UnwindSafe,\n Message: UnwindSafe,
    ",1,["iced_widget::shader::Shader"]],["impl<P> UnwindSafe for State<P>
    where\n P: UnwindSafe,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> UnwindSafe for Canvas<P, Message, Theme, Renderer>
    where\n P: UnwindSafe,\n Message: UnwindSafe,\n Theme: UnwindSafe,\n Renderer: UnwindSafe,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R> UnwindSafe for Content<R>
    where\n <R as Renderer>::Editor: UnwindSafe,
    ",1,["iced_widget::text_editor::Content"]],["impl<T> UnwindSafe for Configuration<T>
    where\n T: UnwindSafe,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> UnwindSafe for State<T>
    where\n T: UnwindSafe,
    ",1,["iced_widget::combo_box::State"]],["impl<T> UnwindSafe for State<T>
    where\n T: UnwindSafe,
    ",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl !UnwindSafe for Error",1,["iced_winit::error::Error"]],["impl !UnwindSafe for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl UnwindSafe for Appearance",1,["iced_winit::program::Appearance"]],["impl UnwindSafe for Settings",1,["iced_winit::settings::Settings"]],["impl<P> UnwindSafe for State<P>
    where\n <P as Program>::Theme: UnwindSafe,
    ",1,["iced_winit::program::state::State"]],["impl<T> !UnwindSafe for Proxy<T>",1,["iced_winit::proxy::Proxy"]]]]]); + var implementors = Object.fromEntries([["iced",[["impl !UnwindSafe for Error",1,["iced::error::Error"]],["impl !UnwindSafe for Error",1,["iced::window::icon::Error"]],["impl UnwindSafe for Settings",1,["iced::settings::Settings"]],["impl<P> UnwindSafe for Application<P>
    where\n P: UnwindSafe,
    ",1,["iced::application::Application"]],["impl<P> UnwindSafe for Daemon<P>
    where\n P: UnwindSafe,
    ",1,["iced::daemon::Daemon"]]]],["iced_core",[["impl !UnwindSafe for State",1,["iced_core::widget::tree::State"]],["impl !UnwindSafe for Tree",1,["iced_core::widget::tree::Tree"]],["impl UnwindSafe for Alignment",1,["iced_core::alignment::Alignment"]],["impl UnwindSafe for Horizontal",1,["iced_core::alignment::Horizontal"]],["impl UnwindSafe for Vertical",1,["iced_core::alignment::Vertical"]],["impl UnwindSafe for Kind",1,["iced_core::clipboard::Kind"]],["impl UnwindSafe for Background",1,["iced_core::background::Background"]],["impl UnwindSafe for ContentFit",1,["iced_core::content_fit::ContentFit"]],["impl UnwindSafe for Length",1,["iced_core::length::Length"]],["impl UnwindSafe for Rotation",1,["iced_core::rotation::Rotation"]],["impl UnwindSafe for Event",1,["iced_core::event::Event"]],["impl UnwindSafe for Status",1,["iced_core::event::Status"]],["impl UnwindSafe for Family",1,["iced_core::font::Family"]],["impl UnwindSafe for Stretch",1,["iced_core::font::Stretch"]],["impl UnwindSafe for Style",1,["iced_core::font::Style"]],["impl UnwindSafe for Weight",1,["iced_core::font::Weight"]],["impl UnwindSafe for Gradient",1,["iced_core::gradient::Gradient"]],["impl UnwindSafe for FilterMethod",1,["iced_core::image::FilterMethod"]],["impl UnwindSafe for Handle",1,["iced_core::image::Handle"]],["impl UnwindSafe for Event",1,["iced_core::keyboard::event::Event"]],["impl UnwindSafe for Location",1,["iced_core::keyboard::location::Location"]],["impl UnwindSafe for Code",1,["iced_core::keyboard::key::Code"]],["impl UnwindSafe for Named",1,["iced_core::keyboard::key::Named"]],["impl UnwindSafe for NativeCode",1,["iced_core::keyboard::key::NativeCode"]],["impl UnwindSafe for Physical",1,["iced_core::keyboard::key::Physical"]],["impl UnwindSafe for Axis",1,["iced_core::layout::flex::Axis"]],["impl UnwindSafe for Kind",1,["iced_core::mouse::click::Kind"]],["impl UnwindSafe for Button",1,["iced_core::mouse::button::Button"]],["impl UnwindSafe for Cursor",1,["iced_core::mouse::cursor::Cursor"]],["impl UnwindSafe for Event",1,["iced_core::mouse::event::Event"]],["impl UnwindSafe for Interaction",1,["iced_core::mouse::interaction::Interaction"]],["impl UnwindSafe for ScrollDelta",1,["iced_core::mouse::event::ScrollDelta"]],["impl UnwindSafe for Data",1,["iced_core::svg::Data"]],["impl UnwindSafe for Action",1,["iced_core::text::editor::Action"]],["impl UnwindSafe for Cursor",1,["iced_core::text::editor::Cursor"]],["impl UnwindSafe for Direction",1,["iced_core::text::editor::Direction"]],["impl UnwindSafe for Edit",1,["iced_core::text::editor::Edit"]],["impl UnwindSafe for Motion",1,["iced_core::text::editor::Motion"]],["impl UnwindSafe for Difference",1,["iced_core::text::Difference"]],["impl UnwindSafe for Hit",1,["iced_core::text::Hit"]],["impl UnwindSafe for LineHeight",1,["iced_core::text::LineHeight"]],["impl UnwindSafe for Shaping",1,["iced_core::text::Shaping"]],["impl UnwindSafe for Wrapping",1,["iced_core::text::Wrapping"]],["impl UnwindSafe for Theme",1,["iced_core::theme::Theme"]],["impl UnwindSafe for Event",1,["iced_core::touch::Event"]],["impl UnwindSafe for Event",1,["iced_core::window::event::Event"]],["impl UnwindSafe for Level",1,["iced_core::window::level::Level"]],["impl UnwindSafe for Mode",1,["iced_core::window::mode::Mode"]],["impl UnwindSafe for Position",1,["iced_core::window::position::Position"]],["impl UnwindSafe for RedrawRequest",1,["iced_core::window::redraw_request::RedrawRequest"]],["impl UnwindSafe for UserAttention",1,["iced_core::window::user_attention::UserAttention"]],["impl UnwindSafe for Error",1,["iced_core::window::icon::Error"]],["impl UnwindSafe for Border",1,["iced_core::border::Border"]],["impl UnwindSafe for Radius",1,["iced_core::border::Radius"]],["impl UnwindSafe for Null",1,["iced_core::clipboard::Null"]],["impl UnwindSafe for Font",1,["iced_core::font::Font"]],["impl UnwindSafe for ColorStop",1,["iced_core::gradient::ColorStop"]],["impl UnwindSafe for Linear",1,["iced_core::gradient::Linear"]],["impl UnwindSafe for Id",1,["iced_core::image::Id"]],["impl UnwindSafe for Modifiers",1,["iced_core::keyboard::modifiers::Modifiers"]],["impl UnwindSafe for Limits",1,["iced_core::layout::limits::Limits"]],["impl UnwindSafe for Node",1,["iced_core::layout::node::Node"]],["impl UnwindSafe for Click",1,["iced_core::mouse::click::Click"]],["impl UnwindSafe for Padding",1,["iced_core::padding::Padding"]],["impl UnwindSafe for Quad",1,["iced_core::renderer::Quad"]],["impl UnwindSafe for Style",1,["iced_core::renderer::Style"]],["impl UnwindSafe for Color",1,["iced_core::color::Color"]],["impl UnwindSafe for Degrees",1,["iced_core::angle::Degrees"]],["impl UnwindSafe for Pixels",1,["iced_core::pixels::Pixels"]],["impl UnwindSafe for Radians",1,["iced_core::angle::Radians"]],["impl UnwindSafe for Shadow",1,["iced_core::shadow::Shadow"]],["impl UnwindSafe for Transformation",1,["iced_core::transformation::Transformation"]],["impl UnwindSafe for Handle",1,["iced_core::svg::Handle"]],["impl UnwindSafe for PlainText",1,["iced_core::text::highlighter::PlainText"]],["impl UnwindSafe for Highlight",1,["iced_core::text::Highlight"]],["impl UnwindSafe for Background",1,["iced_core::theme::palette::Background"]],["impl UnwindSafe for Danger",1,["iced_core::theme::palette::Danger"]],["impl UnwindSafe for Extended",1,["iced_core::theme::palette::Extended"]],["impl UnwindSafe for Pair",1,["iced_core::theme::palette::Pair"]],["impl UnwindSafe for Palette",1,["iced_core::theme::palette::Palette"]],["impl UnwindSafe for Primary",1,["iced_core::theme::palette::Primary"]],["impl UnwindSafe for Secondary",1,["iced_core::theme::palette::Secondary"]],["impl UnwindSafe for Success",1,["iced_core::theme::palette::Success"]],["impl UnwindSafe for Custom",1,["iced_core::theme::Custom"]],["impl UnwindSafe for Finger",1,["iced_core::touch::Finger"]],["impl UnwindSafe for Count",1,["iced_core::widget::operation::focusable::Count"]],["impl UnwindSafe for AbsoluteOffset",1,["iced_core::widget::operation::scrollable::AbsoluteOffset"]],["impl UnwindSafe for RelativeOffset",1,["iced_core::widget::operation::scrollable::RelativeOffset"]],["impl UnwindSafe for Id",1,["iced_core::widget::id::Id"]],["impl UnwindSafe for Style",1,["iced_core::widget::text::Style"]],["impl UnwindSafe for Tag",1,["iced_core::widget::tree::Tag"]],["impl UnwindSafe for Icon",1,["iced_core::window::icon::Icon"]],["impl UnwindSafe for PlatformSpecific",1,["iced_core::window::settings::platform::PlatformSpecific"]],["impl UnwindSafe for Settings",1,["iced_core::window::settings::Settings"]],["impl UnwindSafe for Id",1,["iced_core::window::id::Id"]],["impl<'a> UnwindSafe for Layout<'a>",1,["iced_core::layout::Layout"]],["impl<'a, Link, Font> UnwindSafe for Span<'a, Link, Font>
    where\n Font: UnwindSafe,\n Link: UnwindSafe,
    ",1,["iced_core::text::Span"]],["impl<'a, Message> !UnwindSafe for Shell<'a, Message>",1,["iced_core::shell::Shell"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for Element<'a, Message, Theme, Renderer>",1,["iced_core::overlay::element::Element"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for Group<'a, Message, Theme, Renderer>",1,["iced_core::overlay::group::Group"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for Element<'a, Message, Theme, Renderer>",1,["iced_core::element::Element"]],["impl<'a, Theme, Renderer> UnwindSafe for Text<'a, Theme, Renderer>
    where\n <Theme as Catalog>::Class<'a>: UnwindSafe,\n <Renderer as Renderer>::Font: UnwindSafe,
    ",1,["iced_core::widget::text::Text"]],["impl<C> UnwindSafe for Key<C>
    where\n C: UnwindSafe,
    ",1,["iced_core::keyboard::key::Key"]],["impl<Content, Font> UnwindSafe for Text<Content, Font>
    where\n Content: UnwindSafe,\n Font: UnwindSafe,
    ",1,["iced_core::text::Text"]],["impl<Font> UnwindSafe for Format<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_core::text::highlighter::Format"]],["impl<H> UnwindSafe for Image<H>
    where\n H: UnwindSafe,
    ",1,["iced_core::image::Image"]],["impl<H> UnwindSafe for Svg<H>
    where\n H: UnwindSafe,
    ",1,["iced_core::svg::Svg"]],["impl<P> UnwindSafe for Plain<P>
    where\n P: UnwindSafe,
    ",1,["iced_core::text::paragraph::Plain"]],["impl<P> UnwindSafe for State<P>
    where\n P: UnwindSafe,
    ",1,["iced_core::widget::text::State"]],["impl<T> !UnwindSafe for Outcome<T>",1,["iced_core::widget::operation::Outcome"]],["impl<T> UnwindSafe for Point<T>
    where\n T: UnwindSafe,
    ",1,["iced_core::point::Point"]],["impl<T> UnwindSafe for Rectangle<T>
    where\n T: UnwindSafe,
    ",1,["iced_core::rectangle::Rectangle"]],["impl<T> UnwindSafe for Size<T>
    where\n T: UnwindSafe,
    ",1,["iced_core::size::Size"]],["impl<T> UnwindSafe for Vector<T>
    where\n T: UnwindSafe,
    ",1,["iced_core::vector::Vector"]]]],["iced_futures",[["impl !UnwindSafe for Tracker",1,["iced_futures::subscription::tracker::Tracker"]],["impl UnwindSafe for Event",1,["iced_futures::subscription::Event"]],["impl UnwindSafe for MacOS",1,["iced_futures::subscription::MacOS"]],["impl UnwindSafe for PlatformSpecific",1,["iced_futures::subscription::PlatformSpecific"]],["impl UnwindSafe for Executor",1,["iced_futures::backend::native::async_std::Executor"]],["impl UnwindSafe for Executor",1,["iced_futures::backend::native::smol::Executor"]],["impl UnwindSafe for Executor",1,["iced_futures::backend::null::Executor"]],["impl<Executor, Sender, Message> !UnwindSafe for Runtime<Executor, Sender, Message>",1,["iced_futures::runtime::Runtime"]],["impl<T> !UnwindSafe for Subscription<T>",1,["iced_futures::subscription::Subscription"]]]],["iced_graphics",[["impl !UnwindSafe for FontSystem",1,["iced_graphics::text::FontSystem"]],["impl UnwindSafe for SurfaceError",1,["iced_graphics::compositor::SurfaceError"]],["impl UnwindSafe for Antialiasing",1,["iced_graphics::antialiasing::Antialiasing"]],["impl UnwindSafe for Error",1,["iced_graphics::error::Error"]],["impl UnwindSafe for Reason",1,["iced_graphics::error::Reason"]],["impl UnwindSafe for Style",1,["iced_graphics::geometry::style::Style"]],["impl UnwindSafe for Rule",1,["iced_graphics::geometry::fill::Rule"]],["impl UnwindSafe for LineCap",1,["iced_graphics::geometry::stroke::LineCap"]],["impl UnwindSafe for LineJoin",1,["iced_graphics::geometry::stroke::LineJoin"]],["impl UnwindSafe for Gradient",1,["iced_graphics::gradient::Gradient"]],["impl UnwindSafe for Image",1,["iced_graphics::image::Image"]],["impl UnwindSafe for Mesh",1,["iced_graphics::mesh::Mesh"]],["impl UnwindSafe for Text",1,["iced_graphics::text::Text"]],["impl UnwindSafe for Group",1,["iced_graphics::cache::Group"]],["impl UnwindSafe for Packed",1,["iced_graphics::color::Packed"]],["impl UnwindSafe for Information",1,["iced_graphics::compositor::Information"]],["impl UnwindSafe for Fill",1,["iced_graphics::geometry::fill::Fill"]],["impl UnwindSafe for Arc",1,["iced_graphics::geometry::path::arc::Arc"]],["impl UnwindSafe for Elliptical",1,["iced_graphics::geometry::path::arc::Elliptical"]],["impl UnwindSafe for Builder",1,["iced_graphics::geometry::path::builder::Builder"]],["impl UnwindSafe for Path",1,["iced_graphics::geometry::path::Path"]],["impl UnwindSafe for Text",1,["iced_graphics::geometry::text::Text"]],["impl UnwindSafe for Linear",1,["iced_graphics::gradient::Linear"]],["impl UnwindSafe for Packed",1,["iced_graphics::gradient::Packed"]],["impl UnwindSafe for AttributeCount",1,["iced_graphics::mesh::AttributeCount"]],["impl UnwindSafe for GradientVertex2D",1,["iced_graphics::mesh::GradientVertex2D"]],["impl UnwindSafe for SolidVertex2D",1,["iced_graphics::mesh::SolidVertex2D"]],["impl UnwindSafe for Settings",1,["iced_graphics::settings::Settings"]],["impl UnwindSafe for Viewport",1,["iced_graphics::viewport::Viewport"]],["impl UnwindSafe for Cache",1,["iced_graphics::text::cache::Cache"]],["impl UnwindSafe for Entry",1,["iced_graphics::text::cache::Entry"]],["impl UnwindSafe for Editor",1,["iced_graphics::text::editor::Editor"]],["impl UnwindSafe for Weak",1,["iced_graphics::text::editor::Weak"]],["impl UnwindSafe for Paragraph",1,["iced_graphics::text::paragraph::Paragraph"]],["impl UnwindSafe for Weak",1,["iced_graphics::text::paragraph::Weak"]],["impl UnwindSafe for Raw",1,["iced_graphics::text::Raw"]],["impl UnwindSafe for Version",1,["iced_graphics::text::Version"]],["impl<'a> UnwindSafe for LineDash<'a>",1,["iced_graphics::geometry::stroke::LineDash"]],["impl<'a> UnwindSafe for Stroke<'a>",1,["iced_graphics::geometry::stroke::Stroke"]],["impl<'a> UnwindSafe for Key<'a>",1,["iced_graphics::text::cache::Key"]],["impl<Renderer> UnwindSafe for Frame<Renderer>
    where\n <Renderer as Renderer>::Frame: UnwindSafe,
    ",1,["iced_graphics::geometry::frame::Frame"]],["impl<Renderer> UnwindSafe for Cache<Renderer>
    where\n <<Renderer as Renderer>::Geometry as Cached>::Cache: UnwindSafe,
    ",1,["iced_graphics::geometry::cache::Cache"]],["impl<T> UnwindSafe for State<T>
    where\n T: UnwindSafe,
    ",1,["iced_graphics::cache::State"]],["impl<T> UnwindSafe for Cache<T>
    where\n T: UnwindSafe,
    ",1,["iced_graphics::cache::Cache"]],["impl<T> UnwindSafe for Stack<T>
    where\n T: UnwindSafe,
    ",1,["iced_graphics::layer::Stack"]],["impl<T> UnwindSafe for Indexed<T>
    where\n T: UnwindSafe,
    ",1,["iced_graphics::mesh::Indexed"]]]],["iced_highlighter",[["impl UnwindSafe for Theme",1,["iced_highlighter::Theme"]],["impl UnwindSafe for Highlight",1,["iced_highlighter::Highlight"]],["impl UnwindSafe for Highlighter",1,["iced_highlighter::Highlighter"]],["impl UnwindSafe for Settings",1,["iced_highlighter::Settings"]]]],["iced_renderer",[["impl<A, B> UnwindSafe for Compositor<A, B>
    where\n A: UnwindSafe,\n B: UnwindSafe,
    ",1,["iced_renderer::fallback::Compositor"]],["impl<A, B> UnwindSafe for Renderer<A, B>
    where\n A: UnwindSafe,\n B: UnwindSafe,
    ",1,["iced_renderer::fallback::Renderer"]],["impl<A, B> UnwindSafe for Surface<A, B>
    where\n A: UnwindSafe,\n B: UnwindSafe,
    ",1,["iced_renderer::fallback::Surface"]]]],["iced_runtime",[["impl !UnwindSafe for Action",1,["iced_runtime::clipboard::Action"]],["impl !UnwindSafe for Action",1,["iced_runtime::system::Action"]],["impl !UnwindSafe for Action",1,["iced_runtime::window::Action"]],["impl !UnwindSafe for Handle",1,["iced_runtime::task::Handle"]],["impl !UnwindSafe for Cache",1,["iced_runtime::user_interface::Cache"]],["impl UnwindSafe for Error",1,["iced_runtime::font::Error"]],["impl UnwindSafe for State",1,["iced_runtime::user_interface::State"]],["impl UnwindSafe for CropError",1,["iced_runtime::window::screenshot::CropError"]],["impl UnwindSafe for Debug",1,["iced_runtime::debug::Debug"]],["impl UnwindSafe for Information",1,["iced_runtime::system::Information"]],["impl UnwindSafe for Screenshot",1,["iced_runtime::window::screenshot::Screenshot"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for Nested<'a, Message, Theme, Renderer>",1,["iced_runtime::overlay::nested::Nested"]],["impl<'a, Message, Theme, Renderer> !UnwindSafe for UserInterface<'a, Message, Theme, Renderer>",1,["iced_runtime::user_interface::UserInterface"]],["impl<P> !UnwindSafe for State<P>",1,["iced_runtime::multi_window::state::State"]],["impl<P> !UnwindSafe for State<P>",1,["iced_runtime::program::state::State"]],["impl<T> !UnwindSafe for Action<T>",1,["iced_runtime::Action"]],["impl<T> !UnwindSafe for Task<T>",1,["iced_runtime::task::Task"]]]],["iced_tiny_skia",[["impl !UnwindSafe for Renderer",1,["iced_tiny_skia::Renderer"]],["impl !UnwindSafe for Compositor",1,["iced_tiny_skia::window::compositor::Compositor"]],["impl !UnwindSafe for Surface",1,["iced_tiny_skia::window::compositor::Surface"]],["impl UnwindSafe for Primitive",1,["iced_tiny_skia::primitive::Primitive"]],["impl UnwindSafe for Geometry",1,["iced_tiny_skia::geometry::Geometry"]],["impl UnwindSafe for Cache",1,["iced_tiny_skia::geometry::Cache"]],["impl UnwindSafe for Frame",1,["iced_tiny_skia::geometry::Frame"]],["impl UnwindSafe for Layer",1,["iced_tiny_skia::layer::Layer"]],["impl UnwindSafe for Settings",1,["iced_tiny_skia::settings::Settings"]]]],["iced_wgpu",[["impl !UnwindSafe for Error",1,["iced_wgpu::window::compositor::Error"]],["impl !UnwindSafe for Layer",1,["iced_wgpu::layer::Layer"]],["impl !UnwindSafe for Instance",1,["iced_wgpu::primitive::Instance"]],["impl !UnwindSafe for Storage",1,["iced_wgpu::primitive::Storage"]],["impl !UnwindSafe for Engine",1,["iced_wgpu::engine::Engine"]],["impl !UnwindSafe for Renderer",1,["iced_wgpu::Renderer"]],["impl !UnwindSafe for Compositor",1,["iced_wgpu::window::compositor::Compositor"]],["impl UnwindSafe for Geometry",1,["iced_wgpu::geometry::Geometry"]],["impl UnwindSafe for Cache",1,["iced_wgpu::geometry::Cache"]],["impl UnwindSafe for Frame",1,["iced_wgpu::geometry::Frame"]],["impl UnwindSafe for Settings",1,["iced_wgpu::settings::Settings"]]]],["iced_widget",[["impl !UnwindSafe for State",1,["iced_widget::overlay::menu::State"]],["impl UnwindSafe for Status",1,["iced_widget::button::Status"]],["impl UnwindSafe for Event",1,["iced_widget::canvas::event::Event"]],["impl UnwindSafe for Status",1,["iced_widget::checkbox::Status"]],["impl UnwindSafe for Item",1,["iced_widget::markdown::Item"]],["impl UnwindSafe for Axis",1,["iced_widget::pane_grid::axis::Axis"]],["impl UnwindSafe for Direction",1,["iced_widget::pane_grid::direction::Direction"]],["impl UnwindSafe for DragEvent",1,["iced_widget::pane_grid::DragEvent"]],["impl UnwindSafe for Edge",1,["iced_widget::pane_grid::Edge"]],["impl UnwindSafe for Node",1,["iced_widget::pane_grid::node::Node"]],["impl UnwindSafe for Region",1,["iced_widget::pane_grid::Region"]],["impl UnwindSafe for Target",1,["iced_widget::pane_grid::Target"]],["impl UnwindSafe for Action",1,["iced_widget::pane_grid::state::Action"]],["impl UnwindSafe for Status",1,["iced_widget::pick_list::Status"]],["impl UnwindSafe for Error",1,["iced_widget::qr_code::Error"]],["impl UnwindSafe for ErrorCorrection",1,["iced_widget::qr_code::ErrorCorrection"]],["impl UnwindSafe for Version",1,["iced_widget::qr_code::Version"]],["impl UnwindSafe for Status",1,["iced_widget::radio::Status"]],["impl UnwindSafe for FillMode",1,["iced_widget::rule::FillMode"]],["impl UnwindSafe for Anchor",1,["iced_widget::scrollable::Anchor"]],["impl UnwindSafe for Direction",1,["iced_widget::scrollable::Direction"]],["impl UnwindSafe for Status",1,["iced_widget::scrollable::Status"]],["impl UnwindSafe for Event",1,["iced_widget::shader::event::Event"]],["impl UnwindSafe for HandleShape",1,["iced_widget::slider::HandleShape"]],["impl UnwindSafe for Status",1,["iced_widget::slider::Status"]],["impl UnwindSafe for Status",1,["iced_widget::svg::Status"]],["impl UnwindSafe for Status",1,["iced_widget::text_editor::Status"]],["impl UnwindSafe for State",1,["iced_widget::text_input::cursor::State"]],["impl UnwindSafe for Side",1,["iced_widget::text_input::Side"]],["impl UnwindSafe for Status",1,["iced_widget::text_input::Status"]],["impl UnwindSafe for Status",1,["iced_widget::toggler::Status"]],["impl UnwindSafe for Position",1,["iced_widget::tooltip::Position"]],["impl UnwindSafe for Style",1,["iced_widget::button::Style"]],["impl UnwindSafe for Style",1,["iced_widget::checkbox::Style"]],["impl UnwindSafe for Id",1,["iced_widget::container::Id"]],["impl UnwindSafe for Style",1,["iced_widget::container::Style"]],["impl UnwindSafe for State",1,["iced_widget::image::viewer::State"]],["impl UnwindSafe for Settings",1,["iced_widget::markdown::Settings"]],["impl UnwindSafe for Style",1,["iced_widget::markdown::Style"]],["impl UnwindSafe for Text",1,["iced_widget::markdown::Text"]],["impl UnwindSafe for Style",1,["iced_widget::overlay::menu::Style"]],["impl UnwindSafe for Internal",1,["iced_widget::pane_grid::state::Internal"]],["impl UnwindSafe for Highlight",1,["iced_widget::pane_grid::Highlight"]],["impl UnwindSafe for Line",1,["iced_widget::pane_grid::Line"]],["impl UnwindSafe for Pane",1,["iced_widget::pane_grid::pane::Pane"]],["impl UnwindSafe for ResizeEvent",1,["iced_widget::pane_grid::ResizeEvent"]],["impl UnwindSafe for Split",1,["iced_widget::pane_grid::split::Split"]],["impl UnwindSafe for Style",1,["iced_widget::pane_grid::Style"]],["impl UnwindSafe for Style",1,["iced_widget::pick_list::Style"]],["impl UnwindSafe for Style",1,["iced_widget::progress_bar::Style"]],["impl UnwindSafe for Data",1,["iced_widget::qr_code::Data"]],["impl UnwindSafe for Style",1,["iced_widget::qr_code::Style"]],["impl UnwindSafe for Style",1,["iced_widget::radio::Style"]],["impl UnwindSafe for Style",1,["iced_widget::rule::Style"]],["impl UnwindSafe for Id",1,["iced_widget::scrollable::Id"]],["impl UnwindSafe for Rail",1,["iced_widget::scrollable::Rail"]],["impl UnwindSafe for Scrollbar",1,["iced_widget::scrollable::Scrollbar"]],["impl UnwindSafe for Scroller",1,["iced_widget::scrollable::Scroller"]],["impl UnwindSafe for Style",1,["iced_widget::scrollable::Style"]],["impl UnwindSafe for Viewport",1,["iced_widget::scrollable::Viewport"]],["impl UnwindSafe for Handle",1,["iced_widget::slider::Handle"]],["impl UnwindSafe for Rail",1,["iced_widget::slider::Rail"]],["impl UnwindSafe for Style",1,["iced_widget::slider::Style"]],["impl UnwindSafe for Style",1,["iced_widget::svg::Style"]],["impl UnwindSafe for KeyPress",1,["iced_widget::text_editor::KeyPress"]],["impl UnwindSafe for Style",1,["iced_widget::text_editor::Style"]],["impl UnwindSafe for Cursor",1,["iced_widget::text_input::cursor::Cursor"]],["impl UnwindSafe for Id",1,["iced_widget::text_input::Id"]],["impl UnwindSafe for Style",1,["iced_widget::text_input::Style"]],["impl UnwindSafe for Value",1,["iced_widget::text_input::value::Value"]],["impl UnwindSafe for Style",1,["iced_widget::toggler::Style"]],["impl<'a, 'b, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Menu<'a, 'b, T, Message, Theme, Renderer>",1,["iced_widget::overlay::menu::Menu"]],["impl<'a, Highlighter, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TextEditor<'a, Highlighter, Message, Theme, Renderer>",1,["iced_widget::text_editor::TextEditor"]],["impl<'a, Key, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Column<'a, Key, Message, Theme, Renderer>",1,["iced_widget::keyed::column::Column"]],["impl<'a, Link, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Rich<'a, Link, Theme, Renderer>",1,["iced_widget::text::rich::Rich"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Button<'a, Message, Theme, Renderer>",1,["iced_widget::button::Button"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Checkbox<'a, Message, Theme, Renderer>",1,["iced_widget::checkbox::Checkbox"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Container<'a, Message, Theme, Renderer>",1,["iced_widget::container::Container"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Content<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::content::Content"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Controls<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::controls::Controls"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for PaneGrid<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::PaneGrid"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TitleBar<'a, Message, Theme, Renderer>",1,["iced_widget::pane_grid::title_bar::TitleBar"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Scrollable<'a, Message, Theme, Renderer>",1,["iced_widget::scrollable::Scrollable"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Responsive<'a, Message, Theme, Renderer>",1,["iced_widget::lazy::responsive::Responsive"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for TextInput<'a, Message, Theme, Renderer>",1,["iced_widget::text_input::TextInput"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Toggler<'a, Message, Theme, Renderer>",1,["iced_widget::toggler::Toggler"]],["impl<'a, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for Tooltip<'a, Message, Theme, Renderer>",1,["iced_widget::tooltip::Tooltip"]],["impl<'a, Message, Theme, Renderer> UnwindSafe for Radio<'a, Message, Theme, Renderer>
    where\n Message: UnwindSafe,\n <Theme as Catalog>::Class<'a>: UnwindSafe,\n <Renderer as Renderer>::Font: UnwindSafe,
    ",1,["iced_widget::radio::Radio"]],["impl<'a, Message, Theme, Renderer, Dependency, View> !UnwindSafe for Lazy<'a, Message, Theme, Renderer, Dependency, View>",1,["iced_widget::lazy::Lazy"]],["impl<'a, T> UnwindSafe for Contents<'a, T>
    where\n T: UnwindSafe,
    ",1,["iced_widget::pane_grid::Contents"]],["impl<'a, T, L, V, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for PickList<'a, T, L, V, Message, Theme, Renderer>",1,["iced_widget::pick_list::PickList"]],["impl<'a, T, Message, Theme = Theme> !UnwindSafe for Slider<'a, T, Message, Theme>",1,["iced_widget::slider::Slider"]],["impl<'a, T, Message, Theme = Theme> !UnwindSafe for VerticalSlider<'a, T, Message, Theme>",1,["iced_widget::vertical_slider::VerticalSlider"]],["impl<'a, T, Message, Theme = Theme, Renderer = Renderer<Renderer, Renderer>> !UnwindSafe for ComboBox<'a, T, Message, Theme, Renderer>",1,["iced_widget::combo_box::ComboBox"]],["impl<'a, Theme = Theme> !UnwindSafe for QRCode<'a, Theme>",1,["iced_widget::qr_code::QRCode"]],["impl<'a, Theme> UnwindSafe for ProgressBar<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: UnwindSafe,
    ",1,["iced_widget::progress_bar::ProgressBar"]],["impl<'a, Theme> UnwindSafe for Rule<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: UnwindSafe,
    ",1,["iced_widget::rule::Rule"]],["impl<'a, Theme> UnwindSafe for Svg<'a, Theme>
    where\n <Theme as Catalog>::Class<'a>: UnwindSafe,
    ",1,["iced_widget::svg::Svg"]],["impl<Font> UnwindSafe for Handle<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_widget::pick_list::Handle"]],["impl<Font> UnwindSafe for Icon<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_widget::checkbox::Icon"]],["impl<Font> UnwindSafe for Icon<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_widget::pick_list::Icon"]],["impl<Font> UnwindSafe for Icon<Font>
    where\n Font: UnwindSafe,
    ",1,["iced_widget::text_input::Icon"]],["impl<Handle> UnwindSafe for Image<Handle>
    where\n Handle: UnwindSafe,
    ",1,["iced_widget::image::Image"]],["impl<Handle> UnwindSafe for Viewer<Handle>
    where\n Handle: UnwindSafe,
    ",1,["iced_widget::image::viewer::Viewer"]],["impl<Highlighter> UnwindSafe for State<Highlighter>
    where\n <Highlighter as Highlighter>::Settings: UnwindSafe,\n Highlighter: UnwindSafe,
    ",1,["iced_widget::text_editor::State"]],["impl<Message> UnwindSafe for Binding<Message>
    where\n Message: UnwindSafe,
    ",1,["iced_widget::text_editor::Binding"]],["impl<Message, P> UnwindSafe for Shader<Message, P>
    where\n P: UnwindSafe,\n Message: UnwindSafe,
    ",1,["iced_widget::shader::Shader"]],["impl<P> UnwindSafe for State<P>
    where\n P: UnwindSafe,
    ",1,["iced_widget::text_input::State"]],["impl<P, Message, Theme, Renderer> UnwindSafe for Canvas<P, Message, Theme, Renderer>
    where\n P: UnwindSafe,\n Message: UnwindSafe,\n Theme: UnwindSafe,\n Renderer: UnwindSafe,
    ",1,["iced_widget::canvas::Canvas"]],["impl<R> UnwindSafe for Content<R>
    where\n <R as Renderer>::Editor: UnwindSafe,
    ",1,["iced_widget::text_editor::Content"]],["impl<T> UnwindSafe for Configuration<T>
    where\n T: UnwindSafe,
    ",1,["iced_widget::pane_grid::configuration::Configuration"]],["impl<T> UnwindSafe for State<T>
    where\n T: UnwindSafe,
    ",1,["iced_widget::combo_box::State"]],["impl<T> UnwindSafe for State<T>
    where\n T: UnwindSafe,
    ",1,["iced_widget::pane_grid::state::State"]]]],["iced_winit",[["impl !UnwindSafe for Error",1,["iced_winit::error::Error"]],["impl !UnwindSafe for Clipboard",1,["iced_winit::clipboard::Clipboard"]],["impl UnwindSafe for Appearance",1,["iced_winit::program::Appearance"]],["impl UnwindSafe for Settings",1,["iced_winit::settings::Settings"]],["impl<P> UnwindSafe for State<P>
    where\n <P as Program>::Theme: UnwindSafe,
    ",1,["iced_winit::program::state::State"]],["impl<T> !UnwindSafe for Proxy<T>",1,["iced_winit::proxy::Proxy"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[2130,44047,3514,19057,1401,2373,6317,3266,3847,54455,2630]} \ No newline at end of file +//{"start":57,"fragment_lengths":[2130,44047,3514,19057,1401,2373,6317,3266,3847,56273,2630]} \ No newline at end of file diff --git a/trait.impl/iced_core/widget/trait.Widget.js b/trait.impl/iced_core/widget/trait.Widget.js index 6dde964b19..4d57245bc3 100644 --- a/trait.impl/iced_core/widget/trait.Widget.js +++ b/trait.impl/iced_core/widget/trait.Widget.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["iced",[]],["iced_core",[]],["iced_widget",[["impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where\n Highlighter: Highlighter,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Key, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Column<'a, Key, Message, Theme, Renderer>
    where\n Renderer: Renderer,\n Key: Copy + PartialEq + 'static,
    "],["impl<'a, Link, Theme, Renderer> Widget<Link, Theme, Renderer> for Rich<'a, Link, Theme, Renderer>
    where\n Link: Clone + 'static,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme> Widget<Message, Theme, Renderer<Renderer, Renderer>> for QRCode<'a, Theme>
    where\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Button<'a, Message, Theme, Renderer>
    where\n Message: 'a + Clone,\n Renderer: 'a + Renderer,\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Checkbox<'a, Message, Theme, Renderer>
    where\n Renderer: Renderer,\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Container<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PaneGrid<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ProgressBar<'a, Theme>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Radio<'a, Message, Theme, Renderer>
    where\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Rule<'a, Theme>
    where\n Renderer: Renderer,\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Scrollable<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Responsive<'a, Message, Theme, Renderer>
    where\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Svg<'a, Theme>
    where\n Renderer: Renderer,\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextInput<'a, Message, Theme, Renderer>
    where\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Toggler<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Tooltip<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer, Dependency, View> Widget<Message, Theme, Renderer> for Lazy<'a, Message, Theme, Renderer, Dependency, View>
    where\n View: Into<Element<'static, Message, Theme, Renderer>> + 'static,\n Dependency: Hash + 'a,\n Message: 'static,\n Theme: 'static,\n Renderer: Renderer + 'static,
    "],["impl<'a, T, L, V, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PickList<'a, T, L, V, Message, Theme, Renderer>
    where\n T: Clone + ToString + PartialEq + 'a,\n L: Borrow<[T]>,\n V: Borrow<T>,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ComboBox<'a, T, Message, Theme, Renderer>
    where\n T: Display + Clone + 'static,\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Slider<'a, T, Message, Theme>
    where\n T: Copy + Into<f64> + FromPrimitive,\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for VerticalSlider<'a, T, Message, Theme>
    where\n T: Copy + Into<f64> + FromPrimitive,\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Image<Handle>
    where\n Renderer: Renderer<Handle = Handle>,\n Handle: Clone,
    "],["impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Viewer<Handle>
    where\n Renderer: Renderer<Handle = Handle>,\n Handle: Clone,
    "],["impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Canvas<P, Message, Theme, Renderer>
    where\n Renderer: Renderer,\n P: Program<Message, Theme, Renderer>,
    "],["impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Shader<Message, P>
    where\n P: Program<Message>,\n Renderer: Renderer,
    "]]]]); + var implementors = Object.fromEntries([["iced",[]],["iced_core",[]],["iced_widget",[["impl<'a, Highlighter, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextEditor<'a, Highlighter, Message, Theme, Renderer>
    where\n Highlighter: Highlighter,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Key, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Column<'a, Key, Message, Theme, Renderer>
    where\n Renderer: Renderer,\n Key: Copy + PartialEq + 'static,
    "],["impl<'a, Link, Theme, Renderer> Widget<Link, Theme, Renderer> for Rich<'a, Link, Theme, Renderer>
    where\n Link: Clone + 'static,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme> Widget<Message, Theme, Renderer<Renderer, Renderer>> for QRCode<'a, Theme>
    where\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Button<'a, Message, Theme, Renderer>
    where\n Message: 'a + Clone,\n Renderer: 'a + Renderer,\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Checkbox<'a, Message, Theme, Renderer>
    where\n Renderer: Renderer,\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Container<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PaneGrid<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ProgressBar<'a, Theme>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Radio<'a, Message, Theme, Renderer>
    where\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Rule<'a, Theme>
    where\n Renderer: Renderer,\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Scrollable<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Responsive<'a, Message, Theme, Renderer>
    where\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Svg<'a, Theme>
    where\n Renderer: Renderer,\n Theme: Catalog,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for TextInput<'a, Message, Theme, Renderer>
    where\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Toggler<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Tooltip<'a, Message, Theme, Renderer>
    where\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, Message, Theme, Renderer, Dependency, View> Widget<Message, Theme, Renderer> for Lazy<'a, Message, Theme, Renderer, Dependency, View>
    where\n View: Into<Element<'static, Message, Theme, Renderer>> + 'static,\n Dependency: Hash + 'a,\n Message: 'static,\n Theme: 'static,\n Renderer: Renderer + 'static,
    "],["impl<'a, T, L, V, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for PickList<'a, T, L, V, Message, Theme, Renderer>
    where\n T: Clone + ToString + PartialEq + 'a,\n L: Borrow<[T]>,\n V: Borrow<T>,\n Message: Clone + 'a,\n Theme: Catalog + 'a,\n Renderer: Renderer + 'a,
    "],["impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for ComboBox<'a, T, Message, Theme, Renderer>
    where\n T: Display + Clone + 'static,\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Slider<'a, T, Message, Theme>
    where\n T: Copy + Into<f64> + FromPrimitive,\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<'a, T, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for VerticalSlider<'a, T, Message, Theme>
    where\n T: Copy + Into<f64> + FromPrimitive,\n Message: Clone,\n Theme: Catalog,\n Renderer: Renderer,
    "],["impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Image<Handle>
    where\n Renderer: Renderer<Handle = Handle>,\n Handle: Clone,
    "],["impl<Message, Theme, Renderer, Handle> Widget<Message, Theme, Renderer> for Viewer<Handle>
    where\n Renderer: Renderer<Handle = Handle>,\n Handle: Clone,
    "],["impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Canvas<P, Message, Theme, Renderer>
    where\n Renderer: Renderer,\n P: Program<Message, Theme, Renderer>,
    "],["impl<P, Message, Theme, Renderer> Widget<Message, Theme, Renderer> for Shader<Message, P>
    where\n P: Program<Message>,\n Renderer: Renderer,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[11,17,15797]} \ No newline at end of file +//{"start":57,"fragment_lengths":[11,17,16017]} \ No newline at end of file diff --git a/type.impl/alloc/borrow/enum.Cow.js b/type.impl/alloc/borrow/enum.Cow.js index 2d0c051c8d..58508e4b20 100644 --- a/type.impl/alloc/borrow/enum.Cow.js +++ b/type.impl/alloc/borrow/enum.Cow.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["iced",[["
    1.14.0 · source§

    impl<'a> Add<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: &'a str) -> <Cow<'a, str> as Add<&'a str>>::Output

    Performs the + operation. Read more
    ","Add<&'a str>","iced::widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> Add for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Cow<'a, str>) -> <Cow<'a, str> as Add>::Output

    Performs the + operation. Read more
    ","Add","iced::widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn add_assign(&mut self, rhs: &'a str)

    Performs the += operation. Read more
    ","AddAssign<&'a str>","iced::widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn add_assign(&mut self, rhs: Cow<'a, str>)

    Performs the += operation. Read more
    ","AddAssign","iced::widget::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced::widget::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    Available on crate feature alloc only.
    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced::widget::text::Fragment"],["
    §

    impl<T> AsRawXcbConnection for Cow<'_, T>
    where\n T: AsRawXcbConnection + ToOwned + ?Sized,

    Available on crate feature alloc only.
    §

    fn as_raw_xcb_connection(&self) -> *mut xcb_connection_t

    Get a raw xcb connection pointer from this object.
    ","AsRawXcbConnection","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<T> AsRef<T> for Cow<'_, T>
    where\n T: ToOwned + ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> Borrow<B> for Cow<'a, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn borrow(&self) -> &B

    Immutably borrows from an owned value. Read more
    ","Borrow","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Clone for Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn clone(&self) -> Cow<'_, B>

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, source: &Cow<'_, B>)

    Performs copy-assignment from source. Read more
    ","Clone","iced::widget::text::Fragment"],["
    §

    impl<C> Connection for Cow<'_, C>
    where\n C: Connection + ToOwned + ?Sized,

    §

    fn wait_for_event(&self) -> Result<Event, ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event(\n &self,\n) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn wait_for_event_with_sequence(&self) -> Result<(Event, u64), ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event_with_sequence(\n &self,\n) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, u64), ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event(\n &self,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Poll for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event_with_sequence(\n &self,\n) -> Result<Option<(Event, u64)>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event_with_sequence(\n &self,\n) -> Result<Option<(<Cow<'_, C> as RequestConnection>::Buf, u64)>, ConnectionError>

    Poll for a new unparsed/raw event from the X11 server.
    §

    fn flush(&self) -> Result<(), ConnectionError>

    Send all pending requests to the server. Read more
    §

    fn setup(&self) -> &Setup

    Get the setup information sent by the X11 server. Read more
    §

    fn generate_id(&self) -> Result<u32, ReplyOrIdError>

    Generate a new X11 identifier. Read more
    ","Connection","iced::widget::text::Fragment"],["
    source§

    impl<B> Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source

    pub const fn is_borrowed(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is borrowed, i.e. if to_mut would require additional work.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow = Cow::Borrowed(\"moo\");\nassert!(cow.is_borrowed());\n\nlet bull: Cow<'_, str> = Cow::Owned(\"...moo?\".to_string());\nassert!(!bull.is_borrowed());
    \n
    source

    pub const fn is_owned(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is owned, i.e. if to_mut would be a no-op.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow: Cow<'_, str> = Cow::Owned(\"moo\".to_string());\nassert!(cow.is_owned());\n\nlet bull = Cow::Borrowed(\"...moo?\");\nassert!(!bull.is_owned());
    \n
    1.0.0 · source

    pub fn to_mut(&mut self) -> &mut <B as ToOwned>::Owned

    Acquires a mutable reference to the owned form of the data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n
    use std::borrow::Cow;\n\nlet mut cow = Cow::Borrowed(\"foo\");\ncow.to_mut().make_ascii_uppercase();\n\nassert_eq!(\n  cow,\n  Cow::Owned(String::from(\"FOO\")) as Cow<'_, str>\n);
    \n
    1.0.0 · source

    pub fn into_owned(self) -> <B as ToOwned>::Owned

    Extracts the owned data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n

    Calling into_owned on a Cow::Borrowed returns a clone of the borrowed data:

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow = Cow::Borrowed(s);\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n

    Calling into_owned on a Cow::Owned returns the owned data. The data is moved out of the\nCow without being cloned.

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow: Cow<'_, str> = Cow::Owned(String::from(s));\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n
    ",0,"iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Debug for Cow<'_, B>
    where\n B: Debug + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","iced::widget::text::Fragment"],["
    1.11.0 · source§

    impl<B> Default for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Default,

    source§

    fn default() -> Cow<'_, B>

    Creates an owned Cow<’a, B> with the default value for the contained owned value.

    \n
    ","Default","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Deref for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    source§

    type Target = B

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &B

    Dereferences the value.
    ","Deref","iced::widget::text::Fragment"],["
    source§

    impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T>
    where\n T: ToOwned + ?Sized,\n <T as ToOwned>::Owned: Deserialize<'de>,

    Available on crate features std or alloc only.
    source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Display for Cow<'_, B>
    where\n B: Display + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Display,

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","iced::widget::text::Fragment"],["
    1.28.0 · source§

    impl<'a> From<&'a String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: &'a String) -> Cow<'a, str>

    Converts a String reference into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nassert_eq!(Cow::from(&s), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a String>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: &'a str) -> Cow<'a, str>

    Converts a string slice into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    assert_eq!(Cow::from(\"eggplant\"), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a str>","iced::widget::text::Fragment"],["
    §

    impl<'a> From<CowStr<'a>> for Cow<'a, str>

    §

    fn from(s: CowStr<'a>) -> Cow<'a, str>

    Converts to this type from the input type.
    ","From>","iced::widget::text::Fragment"],["
    §

    impl<'a> From<PercentEncode<'a>> for Cow<'a, str>

    Available on crate feature alloc only.
    §

    fn from(iter: PercentEncode<'a>) -> Cow<'a, str>

    Converts to this type from the input type.
    ","From>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: String) -> Cow<'a, str>

    Converts a String into an Owned variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nlet s2 = \"eggplant\".to_string();\nassert_eq!(Cow::from(s), Cow::<'static, str>::Owned(s2));
    \n
    ","From","iced::widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a, 'b> FromIterator<&'b str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = &'b str>,

    Creates a value from an iterator. Read more
    ","FromIterator<&'b str>","iced::widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = String>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced::widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<char> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = char>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced::widget::text::Fragment"],["
    §

    impl<'a, C, T> FromParallelIterator<T> for Cow<'a, C>
    where\n C: ToOwned + ?Sized,\n <C as ToOwned>::Owned: FromParallelIterator<T>,\n T: Send,

    Collects an arbitrary Cow collection.

    \n

    Note, the standard library only has FromIterator for Cow<'a, str> and\nCow<'a, [T]>, because no one thought to add a blanket implementation\nbefore it was stabilized.

    \n
    §

    fn from_par_iter<I>(par_iter: I) -> Cow<'a, C>
    where\n I: IntoParallelIterator<Item = T>,

    Creates an instance of the collection from the parallel iterator par_iter. Read more
    ","FromParallelIterator","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Hash for Cow<'_, B>
    where\n B: Hash + ToOwned + ?Sized,

    source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iced::widget::text::Fragment"],["
    source§

    impl<'de, 'a, E> IntoDeserializer<'de, E> for Cow<'a, str>
    where\n E: Error,

    Available on crate features std or alloc only.
    source§

    type Deserializer = CowStrDeserializer<'a, E>

    The type of the deserializer being converted into.
    source§

    fn into_deserializer(self) -> CowStrDeserializer<'a, E>

    Convert this value into a deserializer.
    ","IntoDeserializer<'de, E>","iced::widget::text::Fragment"],["
    §

    impl<'a> IntoFragment<'a> for Cow<'a, str>

    §

    fn into_fragment(self) -> Cow<'a, str>

    Converts the value to some text Fragment.
    ","IntoFragment<'a>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Ord for Cow<'_, B>
    where\n B: Ord + ToOwned + ?Sized,

    source§

    fn cmp(&self, other: &Cow<'_, B>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>

    source§

    fn eq(&self, other: &&'b str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &&'b str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq<&'b str>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>
    where\n B: PartialEq<C> + ToOwned + ?Sized,\n C: ToOwned + ?Sized,

    source§

    fn eq(&self, other: &Cow<'b, C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<String> for Cow<'a, str>

    source§

    fn eq(&self, other: &String) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &String) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<str> for Cow<'a, str>

    source§

    fn eq(&self, other: &str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> PartialOrd for Cow<'a, B>
    where\n B: PartialOrd + ToOwned + ?Sized,

    source§

    fn partial_cmp(&self, other: &Cow<'a, B>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","iced::widget::text::Fragment"],["
    §

    impl<C> RequestConnection for Cow<'_, C>
    where\n C: RequestConnection + ToOwned + ?Sized,

    §

    type Buf = <C as RequestConnection>::Buf

    Type used as buffer to store raw replies or events before\nthey are parsed.
    §

    fn send_request_with_reply<R>(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<Cookie<'_, Cow<'_, C>, R>, ConnectionError>
    where\n R: TryParse,

    Send a request with a reply to the server. Read more
    §

    fn send_trait_request_with_reply<R>(\n &self,\n request: R,\n) -> Result<Cookie<'_, Cow<'_, C>, <R as ReplyRequest>::Reply>, ConnectionError>
    where\n R: ReplyRequest,

    Send a request with a reply to the server. Read more
    §

    fn send_request_with_reply_with_fds<R>(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<CookieWithFds<'_, Cow<'_, C>, R>, ConnectionError>
    where\n R: TryParseFd,

    Send a request with a reply containing file descriptors to the server. Read more
    §

    fn send_trait_request_with_reply_with_fds<R>(\n &self,\n request: R,\n) -> Result<CookieWithFds<'_, Cow<'_, C>, <R as ReplyFDsRequest>::Reply>, ConnectionError>
    where\n R: ReplyFDsRequest,

    Send a request with a reply containing file descriptors to the server. Read more
    §

    fn send_request_without_reply(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>

    Send a request without a reply to the server. Read more
    §

    fn send_trait_request_without_reply<R>(\n &self,\n request: R,\n) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>
    where\n R: VoidRequest,

    Send a request without a reply to the server. Read more
    §

    fn discard_reply(&self, sequence: u64, kind: RequestKind, mode: DiscardMode)

    A reply to an error should be discarded. Read more
    §

    fn prefetch_extension_information(\n &self,\n extension_name: &'static str,\n) -> Result<(), ConnectionError>

    Prefetches information about an extension. Read more
    §

    fn extension_information(\n &self,\n extension_name: &'static str,\n) -> Result<Option<ExtensionInformation>, ConnectionError>

    Get information about an extension. Read more
    §

    fn wait_for_reply_or_error(\n &self,\n sequence: u64,\n) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ReplyError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply_or_raw_error(\n &self,\n sequence: u64,\n) -> Result<ReplyOrError<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply(\n &self,\n sequence: u64,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply_with_fds(\n &self,\n sequence: u64,\n) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), ReplyError>

    Wait for the reply to a request that has FDs. Read more
    §

    fn wait_for_reply_with_fds_raw(\n &self,\n sequence: u64,\n) -> Result<ReplyOrError<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), <Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request that has FDs. Read more
    §

    fn check_for_error(&self, sequence: u64) -> Result<(), ReplyError>

    Check whether a request that does not have a reply caused an X11 error. Read more
    §

    fn check_for_raw_error(\n &self,\n sequence: u64,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Check whether a request that does not have a reply caused an X11 error. Read more
    §

    fn prefetch_maximum_request_bytes(&self)

    Prefetches the maximum request length. Read more
    §

    fn maximum_request_bytes(&self) -> usize

    The maximum number of bytes that the X11 server accepts in a request.
    §

    fn parse_error(&self, error: &[u8]) -> Result<X11Error, ParseError>

    Parse a generic error.
    §

    fn parse_event(&self, event: &[u8]) -> Result<Event, ParseError>

    Parse a generic event.
    ","RequestConnection","iced::widget::text::Fragment"],["
    source§

    impl<'a, T> Serialize for Cow<'a, T>
    where\n T: Serialize + ToOwned + ?Sized,

    Available on crate features std or alloc only.
    source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iced::widget::text::Fragment"],["
    §

    impl<T> Type for Cow<'_, T>
    where\n T: Type + ToOwned + ?Sized,

    §

    fn signature() -> Signature<'static>

    Get the signature for the implementing type. Read more
    ","Type","iced::widget::text::Fragment"],["
    source§

    impl<B> DerefPure for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    ","DerefPure","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Eq for Cow<'_, B>
    where\n B: Eq + ToOwned + ?Sized,

    ","Eq","iced::widget::text::Fragment"],["
    §

    impl<T> IoSafe for Cow<'_, T>
    where\n T: Clone + IoSafe + ?Sized,

    ","IoSafe","iced::widget::text::Fragment"]]],["iced_core",[["
    1.14.0 · source§

    impl<'a> Add<&'a str> for Cow<'a, str>

    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: &'a str) -> <Cow<'a, str> as Add<&'a str>>::Output

    Performs the + operation. Read more
    ","Add<&'a str>","iced_core::text::Fragment"],["
    1.14.0 · source§

    impl<'a> Add for Cow<'a, str>

    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Cow<'a, str>) -> <Cow<'a, str> as Add>::Output

    Performs the + operation. Read more
    ","Add","iced_core::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign<&'a str> for Cow<'a, str>

    source§

    fn add_assign(&mut self, rhs: &'a str)

    Performs the += operation. Read more
    ","AddAssign<&'a str>","iced_core::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign for Cow<'a, str>

    source§

    fn add_assign(&mut self, rhs: Cow<'a, str>)

    Performs the += operation. Read more
    ","AddAssign","iced_core::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<T> AsRef<T> for Cow<'_, T>
    where\n T: ToOwned + ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> Borrow<B> for Cow<'a, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn borrow(&self) -> &B

    Immutably borrows from an owned value. Read more
    ","Borrow","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Clone for Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn clone(&self) -> Cow<'_, B>

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, source: &Cow<'_, B>)

    Performs copy-assignment from source. Read more
    ","Clone","iced_core::text::Fragment"],["
    source§

    impl<B> Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source

    pub const fn is_borrowed(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is borrowed, i.e. if to_mut would require additional work.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow = Cow::Borrowed(\"moo\");\nassert!(cow.is_borrowed());\n\nlet bull: Cow<'_, str> = Cow::Owned(\"...moo?\".to_string());\nassert!(!bull.is_borrowed());
    \n
    source

    pub const fn is_owned(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is owned, i.e. if to_mut would be a no-op.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow: Cow<'_, str> = Cow::Owned(\"moo\".to_string());\nassert!(cow.is_owned());\n\nlet bull = Cow::Borrowed(\"...moo?\");\nassert!(!bull.is_owned());
    \n
    1.0.0 · source

    pub fn to_mut(&mut self) -> &mut <B as ToOwned>::Owned

    Acquires a mutable reference to the owned form of the data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n
    use std::borrow::Cow;\n\nlet mut cow = Cow::Borrowed(\"foo\");\ncow.to_mut().make_ascii_uppercase();\n\nassert_eq!(\n  cow,\n  Cow::Owned(String::from(\"FOO\")) as Cow<'_, str>\n);
    \n
    1.0.0 · source

    pub fn into_owned(self) -> <B as ToOwned>::Owned

    Extracts the owned data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n

    Calling into_owned on a Cow::Borrowed returns a clone of the borrowed data:

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow = Cow::Borrowed(s);\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n

    Calling into_owned on a Cow::Owned returns the owned data. The data is moved out of the\nCow without being cloned.

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow: Cow<'_, str> = Cow::Owned(String::from(s));\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n
    ",0,"iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Debug for Cow<'_, B>
    where\n B: Debug + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","iced_core::text::Fragment"],["
    1.11.0 · source§

    impl<B> Default for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Default,

    source§

    fn default() -> Cow<'_, B>

    Creates an owned Cow<’a, B> with the default value for the contained owned value.

    \n
    ","Default","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Deref for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    source§

    type Target = B

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &B

    Dereferences the value.
    ","Deref","iced_core::text::Fragment"],["
    source§

    impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T>
    where\n T: ToOwned + ?Sized,\n <T as ToOwned>::Owned: Deserialize<'de>,

    source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Display for Cow<'_, B>
    where\n B: Display + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Display,

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","iced_core::text::Fragment"],["
    1.28.0 · source§

    impl<'a> From<&'a String> for Cow<'a, str>

    source§

    fn from(s: &'a String) -> Cow<'a, str>

    Converts a String reference into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nassert_eq!(Cow::from(&s), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a String>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<&'a str> for Cow<'a, str>

    source§

    fn from(s: &'a str) -> Cow<'a, str>

    Converts a string slice into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    assert_eq!(Cow::from(\"eggplant\"), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a str>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<String> for Cow<'a, str>

    source§

    fn from(s: String) -> Cow<'a, str>

    Converts a String into an Owned variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nlet s2 = \"eggplant\".to_string();\nassert_eq!(Cow::from(s), Cow::<'static, str>::Owned(s2));
    \n
    ","From","iced_core::text::Fragment"],["
    1.12.0 · source§

    impl<'a, 'b> FromIterator<&'b str> for Cow<'a, str>

    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = &'b str>,

    Creates a value from an iterator. Read more
    ","FromIterator<&'b str>","iced_core::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<String> for Cow<'a, str>

    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = String>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced_core::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<char> for Cow<'a, str>

    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = char>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Hash for Cow<'_, B>
    where\n B: Hash + ToOwned + ?Sized,

    source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iced_core::text::Fragment"],["
    source§

    impl<'de, 'a, E> IntoDeserializer<'de, E> for Cow<'a, str>
    where\n E: Error,

    source§

    type Deserializer = CowStrDeserializer<'a, E>

    The type of the deserializer being converted into.
    source§

    fn into_deserializer(self) -> CowStrDeserializer<'a, E>

    Convert this value into a deserializer.
    ","IntoDeserializer<'de, E>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Ord for Cow<'_, B>
    where\n B: Ord + ToOwned + ?Sized,

    source§

    fn cmp(&self, other: &Cow<'_, B>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>

    source§

    fn eq(&self, other: &&'b str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &&'b str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq<&'b str>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>
    where\n B: PartialEq<C> + ToOwned + ?Sized,\n C: ToOwned + ?Sized,

    source§

    fn eq(&self, other: &Cow<'b, C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<String> for Cow<'a, str>

    source§

    fn eq(&self, other: &String) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &String) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<str> for Cow<'a, str>

    source§

    fn eq(&self, other: &str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> PartialOrd for Cow<'a, B>
    where\n B: PartialOrd + ToOwned + ?Sized,

    source§

    fn partial_cmp(&self, other: &Cow<'a, B>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","iced_core::text::Fragment"],["
    source§

    impl<'a, T> Serialize for Cow<'a, T>
    where\n T: Serialize + ToOwned + ?Sized,

    source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iced_core::text::Fragment"],["
    §

    impl<T> Type for Cow<'_, T>
    where\n T: Type + ToOwned + ?Sized,

    §

    fn signature() -> Signature<'static>

    Get the signature for the implementing type. Read more
    ","Type","iced_core::text::Fragment"],["
    source§

    impl<B> DerefPure for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    ","DerefPure","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Eq for Cow<'_, B>
    where\n B: Eq + ToOwned + ?Sized,

    ","Eq","iced_core::text::Fragment"],["
    §

    impl<T> IoSafe for Cow<'_, T>
    where\n T: Clone + IoSafe + ?Sized,

    ","IoSafe","iced_core::text::Fragment"]]],["iced_widget",[["
    1.14.0 · source§

    impl<'a> Add<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: &'a str) -> <Cow<'a, str> as Add<&'a str>>::Output

    Performs the + operation. Read more
    ","Add<&'a str>","iced_widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> Add for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Cow<'a, str>) -> <Cow<'a, str> as Add>::Output

    Performs the + operation. Read more
    ","Add","iced_widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn add_assign(&mut self, rhs: &'a str)

    Performs the += operation. Read more
    ","AddAssign<&'a str>","iced_widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn add_assign(&mut self, rhs: Cow<'a, str>)

    Performs the += operation. Read more
    ","AddAssign","iced_widget::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced_widget::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    Available on crate feature alloc only.
    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced_widget::text::Fragment"],["
    §

    impl<T> AsRawXcbConnection for Cow<'_, T>
    where\n T: AsRawXcbConnection + ToOwned + ?Sized,

    Available on crate feature alloc only.
    §

    fn as_raw_xcb_connection(&self) -> *mut xcb_connection_t

    Get a raw xcb connection pointer from this object.
    ","AsRawXcbConnection","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<T> AsRef<T> for Cow<'_, T>
    where\n T: ToOwned + ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> Borrow<B> for Cow<'a, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn borrow(&self) -> &B

    Immutably borrows from an owned value. Read more
    ","Borrow","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Clone for Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn clone(&self) -> Cow<'_, B>

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, source: &Cow<'_, B>)

    Performs copy-assignment from source. Read more
    ","Clone","iced_widget::text::Fragment"],["
    §

    impl<C> Connection for Cow<'_, C>
    where\n C: Connection + ToOwned + ?Sized,

    §

    fn wait_for_event(&self) -> Result<Event, ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event(\n &self,\n) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn wait_for_event_with_sequence(&self) -> Result<(Event, u64), ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event_with_sequence(\n &self,\n) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, u64), ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event(\n &self,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Poll for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event_with_sequence(\n &self,\n) -> Result<Option<(Event, u64)>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event_with_sequence(\n &self,\n) -> Result<Option<(<Cow<'_, C> as RequestConnection>::Buf, u64)>, ConnectionError>

    Poll for a new unparsed/raw event from the X11 server.
    §

    fn flush(&self) -> Result<(), ConnectionError>

    Send all pending requests to the server. Read more
    §

    fn setup(&self) -> &Setup

    Get the setup information sent by the X11 server. Read more
    §

    fn generate_id(&self) -> Result<u32, ReplyOrIdError>

    Generate a new X11 identifier. Read more
    ","Connection","iced_widget::text::Fragment"],["
    source§

    impl<B> Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source

    pub const fn is_borrowed(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is borrowed, i.e. if to_mut would require additional work.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow = Cow::Borrowed(\"moo\");\nassert!(cow.is_borrowed());\n\nlet bull: Cow<'_, str> = Cow::Owned(\"...moo?\".to_string());\nassert!(!bull.is_borrowed());
    \n
    source

    pub const fn is_owned(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is owned, i.e. if to_mut would be a no-op.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow: Cow<'_, str> = Cow::Owned(\"moo\".to_string());\nassert!(cow.is_owned());\n\nlet bull = Cow::Borrowed(\"...moo?\");\nassert!(!bull.is_owned());
    \n
    1.0.0 · source

    pub fn to_mut(&mut self) -> &mut <B as ToOwned>::Owned

    Acquires a mutable reference to the owned form of the data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n
    use std::borrow::Cow;\n\nlet mut cow = Cow::Borrowed(\"foo\");\ncow.to_mut().make_ascii_uppercase();\n\nassert_eq!(\n  cow,\n  Cow::Owned(String::from(\"FOO\")) as Cow<'_, str>\n);
    \n
    1.0.0 · source

    pub fn into_owned(self) -> <B as ToOwned>::Owned

    Extracts the owned data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n

    Calling into_owned on a Cow::Borrowed returns a clone of the borrowed data:

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow = Cow::Borrowed(s);\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n

    Calling into_owned on a Cow::Owned returns the owned data. The data is moved out of the\nCow without being cloned.

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow: Cow<'_, str> = Cow::Owned(String::from(s));\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n
    ",0,"iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Debug for Cow<'_, B>
    where\n B: Debug + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","iced_widget::text::Fragment"],["
    1.11.0 · source§

    impl<B> Default for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Default,

    source§

    fn default() -> Cow<'_, B>

    Creates an owned Cow<’a, B> with the default value for the contained owned value.

    \n
    ","Default","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Deref for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    source§

    type Target = B

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &B

    Dereferences the value.
    ","Deref","iced_widget::text::Fragment"],["
    source§

    impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T>
    where\n T: ToOwned + ?Sized,\n <T as ToOwned>::Owned: Deserialize<'de>,

    Available on crate features std or alloc only.
    source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Display for Cow<'_, B>
    where\n B: Display + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Display,

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","iced_widget::text::Fragment"],["
    1.28.0 · source§

    impl<'a> From<&'a String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: &'a String) -> Cow<'a, str>

    Converts a String reference into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nassert_eq!(Cow::from(&s), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a String>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: &'a str) -> Cow<'a, str>

    Converts a string slice into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    assert_eq!(Cow::from(\"eggplant\"), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a str>","iced_widget::text::Fragment"],["
    §

    impl<'a> From<CowStr<'a>> for Cow<'a, str>

    §

    fn from(s: CowStr<'a>) -> Cow<'a, str>

    Converts to this type from the input type.
    ","From>","iced_widget::text::Fragment"],["
    §

    impl<'a> From<PercentEncode<'a>> for Cow<'a, str>

    Available on crate feature alloc only.
    §

    fn from(iter: PercentEncode<'a>) -> Cow<'a, str>

    Converts to this type from the input type.
    ","From>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: String) -> Cow<'a, str>

    Converts a String into an Owned variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nlet s2 = \"eggplant\".to_string();\nassert_eq!(Cow::from(s), Cow::<'static, str>::Owned(s2));
    \n
    ","From","iced_widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a, 'b> FromIterator<&'b str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = &'b str>,

    Creates a value from an iterator. Read more
    ","FromIterator<&'b str>","iced_widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = String>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced_widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<char> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = char>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced_widget::text::Fragment"],["
    §

    impl<'a, C, T> FromParallelIterator<T> for Cow<'a, C>
    where\n C: ToOwned + ?Sized,\n <C as ToOwned>::Owned: FromParallelIterator<T>,\n T: Send,

    Collects an arbitrary Cow collection.

    \n

    Note, the standard library only has FromIterator for Cow<'a, str> and\nCow<'a, [T]>, because no one thought to add a blanket implementation\nbefore it was stabilized.

    \n
    §

    fn from_par_iter<I>(par_iter: I) -> Cow<'a, C>
    where\n I: IntoParallelIterator<Item = T>,

    Creates an instance of the collection from the parallel iterator par_iter. Read more
    ","FromParallelIterator","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Hash for Cow<'_, B>
    where\n B: Hash + ToOwned + ?Sized,

    source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iced_widget::text::Fragment"],["
    source§

    impl<'de, 'a, E> IntoDeserializer<'de, E> for Cow<'a, str>
    where\n E: Error,

    Available on crate features std or alloc only.
    source§

    type Deserializer = CowStrDeserializer<'a, E>

    The type of the deserializer being converted into.
    source§

    fn into_deserializer(self) -> CowStrDeserializer<'a, E>

    Convert this value into a deserializer.
    ","IntoDeserializer<'de, E>","iced_widget::text::Fragment"],["
    §

    impl<'a> IntoFragment<'a> for Cow<'a, str>

    §

    fn into_fragment(self) -> Cow<'a, str>

    Converts the value to some text Fragment.
    ","IntoFragment<'a>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Ord for Cow<'_, B>
    where\n B: Ord + ToOwned + ?Sized,

    source§

    fn cmp(&self, other: &Cow<'_, B>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>

    source§

    fn eq(&self, other: &&'b str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &&'b str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq<&'b str>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>
    where\n B: PartialEq<C> + ToOwned + ?Sized,\n C: ToOwned + ?Sized,

    source§

    fn eq(&self, other: &Cow<'b, C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<String> for Cow<'a, str>

    source§

    fn eq(&self, other: &String) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &String) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<str> for Cow<'a, str>

    source§

    fn eq(&self, other: &str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> PartialOrd for Cow<'a, B>
    where\n B: PartialOrd + ToOwned + ?Sized,

    source§

    fn partial_cmp(&self, other: &Cow<'a, B>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","iced_widget::text::Fragment"],["
    §

    impl<C> RequestConnection for Cow<'_, C>
    where\n C: RequestConnection + ToOwned + ?Sized,

    §

    type Buf = <C as RequestConnection>::Buf

    Type used as buffer to store raw replies or events before\nthey are parsed.
    §

    fn send_request_with_reply<R>(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<Cookie<'_, Cow<'_, C>, R>, ConnectionError>
    where\n R: TryParse,

    Send a request with a reply to the server. Read more
    §

    fn send_trait_request_with_reply<R>(\n &self,\n request: R,\n) -> Result<Cookie<'_, Cow<'_, C>, <R as ReplyRequest>::Reply>, ConnectionError>
    where\n R: ReplyRequest,

    Send a request with a reply to the server. Read more
    §

    fn send_request_with_reply_with_fds<R>(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<CookieWithFds<'_, Cow<'_, C>, R>, ConnectionError>
    where\n R: TryParseFd,

    Send a request with a reply containing file descriptors to the server. Read more
    §

    fn send_trait_request_with_reply_with_fds<R>(\n &self,\n request: R,\n) -> Result<CookieWithFds<'_, Cow<'_, C>, <R as ReplyFDsRequest>::Reply>, ConnectionError>
    where\n R: ReplyFDsRequest,

    Send a request with a reply containing file descriptors to the server. Read more
    §

    fn send_request_without_reply(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>

    Send a request without a reply to the server. Read more
    §

    fn send_trait_request_without_reply<R>(\n &self,\n request: R,\n) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>
    where\n R: VoidRequest,

    Send a request without a reply to the server. Read more
    §

    fn discard_reply(&self, sequence: u64, kind: RequestKind, mode: DiscardMode)

    A reply to an error should be discarded. Read more
    §

    fn prefetch_extension_information(\n &self,\n extension_name: &'static str,\n) -> Result<(), ConnectionError>

    Prefetches information about an extension. Read more
    §

    fn extension_information(\n &self,\n extension_name: &'static str,\n) -> Result<Option<ExtensionInformation>, ConnectionError>

    Get information about an extension. Read more
    §

    fn wait_for_reply_or_error(\n &self,\n sequence: u64,\n) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ReplyError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply_or_raw_error(\n &self,\n sequence: u64,\n) -> Result<ReplyOrError<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply(\n &self,\n sequence: u64,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply_with_fds(\n &self,\n sequence: u64,\n) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), ReplyError>

    Wait for the reply to a request that has FDs. Read more
    §

    fn wait_for_reply_with_fds_raw(\n &self,\n sequence: u64,\n) -> Result<ReplyOrError<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), <Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request that has FDs. Read more
    §

    fn check_for_error(&self, sequence: u64) -> Result<(), ReplyError>

    Check whether a request that does not have a reply caused an X11 error. Read more
    §

    fn check_for_raw_error(\n &self,\n sequence: u64,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Check whether a request that does not have a reply caused an X11 error. Read more
    §

    fn prefetch_maximum_request_bytes(&self)

    Prefetches the maximum request length. Read more
    §

    fn maximum_request_bytes(&self) -> usize

    The maximum number of bytes that the X11 server accepts in a request.
    §

    fn parse_error(&self, error: &[u8]) -> Result<X11Error, ParseError>

    Parse a generic error.
    §

    fn parse_event(&self, event: &[u8]) -> Result<Event, ParseError>

    Parse a generic event.
    ","RequestConnection","iced_widget::text::Fragment"],["
    source§

    impl<'a, T> Serialize for Cow<'a, T>
    where\n T: Serialize + ToOwned + ?Sized,

    Available on crate features std or alloc only.
    source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iced_widget::text::Fragment"],["
    §

    impl<T> Type for Cow<'_, T>
    where\n T: Type + ToOwned + ?Sized,

    §

    fn signature() -> Signature<'static>

    Get the signature for the implementing type. Read more
    ","Type","iced_widget::text::Fragment"],["
    source§

    impl<B> DerefPure for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    ","DerefPure","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Eq for Cow<'_, B>
    where\n B: Eq + ToOwned + ?Sized,

    ","Eq","iced_widget::text::Fragment"],["
    §

    impl<T> IoSafe for Cow<'_, T>
    where\n T: Clone + IoSafe + ?Sized,

    ","IoSafe","iced_widget::text::Fragment"]]]]); + var type_impls = Object.fromEntries([["iced",[["
    1.14.0 · source§

    impl<'a> Add<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: &'a str) -> <Cow<'a, str> as Add<&'a str>>::Output

    Performs the + operation. Read more
    ","Add<&'a str>","iced::widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> Add for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Cow<'a, str>) -> <Cow<'a, str> as Add>::Output

    Performs the + operation. Read more
    ","Add","iced::widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn add_assign(&mut self, rhs: &'a str)

    Performs the += operation. Read more
    ","AddAssign<&'a str>","iced::widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn add_assign(&mut self, rhs: Cow<'a, str>)

    Performs the += operation. Read more
    ","AddAssign","iced::widget::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced::widget::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    Available on crate feature alloc only.
    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced::widget::text::Fragment"],["
    §

    impl<T> AsRawXcbConnection for Cow<'_, T>
    where\n T: AsRawXcbConnection + ToOwned + ?Sized,

    Available on crate feature alloc only.
    §

    fn as_raw_xcb_connection(&self) -> *mut xcb_connection_t

    Get a raw xcb connection pointer from this object.
    ","AsRawXcbConnection","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<T> AsRef<T> for Cow<'_, T>
    where\n T: ToOwned + ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> Borrow<B> for Cow<'a, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn borrow(&self) -> &B

    Immutably borrows from an owned value. Read more
    ","Borrow","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Clone for Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn clone(&self) -> Cow<'_, B>

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, source: &Cow<'_, B>)

    Performs copy-assignment from source. Read more
    ","Clone","iced::widget::text::Fragment"],["
    §

    impl<C> Connection for Cow<'_, C>
    where\n C: Connection + ToOwned + ?Sized,

    §

    fn wait_for_event(&self) -> Result<Event, ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event(\n &self,\n) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn wait_for_event_with_sequence(&self) -> Result<(Event, u64), ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event_with_sequence(\n &self,\n) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, u64), ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event(\n &self,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Poll for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event_with_sequence(\n &self,\n) -> Result<Option<(Event, u64)>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event_with_sequence(\n &self,\n) -> Result<Option<(<Cow<'_, C> as RequestConnection>::Buf, u64)>, ConnectionError>

    Poll for a new unparsed/raw event from the X11 server.
    §

    fn flush(&self) -> Result<(), ConnectionError>

    Send all pending requests to the server. Read more
    §

    fn setup(&self) -> &Setup

    Get the setup information sent by the X11 server. Read more
    §

    fn generate_id(&self) -> Result<u32, ReplyOrIdError>

    Generate a new X11 identifier. Read more
    ","Connection","iced::widget::text::Fragment"],["
    source§

    impl<B> Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source

    pub const fn is_borrowed(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is borrowed, i.e. if to_mut would require additional work.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow = Cow::Borrowed(\"moo\");\nassert!(cow.is_borrowed());\n\nlet bull: Cow<'_, str> = Cow::Owned(\"...moo?\".to_string());\nassert!(!bull.is_borrowed());
    \n
    source

    pub const fn is_owned(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is owned, i.e. if to_mut would be a no-op.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow: Cow<'_, str> = Cow::Owned(\"moo\".to_string());\nassert!(cow.is_owned());\n\nlet bull = Cow::Borrowed(\"...moo?\");\nassert!(!bull.is_owned());
    \n
    1.0.0 · source

    pub fn to_mut(&mut self) -> &mut <B as ToOwned>::Owned

    Acquires a mutable reference to the owned form of the data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n
    use std::borrow::Cow;\n\nlet mut cow = Cow::Borrowed(\"foo\");\ncow.to_mut().make_ascii_uppercase();\n\nassert_eq!(\n  cow,\n  Cow::Owned(String::from(\"FOO\")) as Cow<'_, str>\n);
    \n
    1.0.0 · source

    pub fn into_owned(self) -> <B as ToOwned>::Owned

    Extracts the owned data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n

    Calling into_owned on a Cow::Borrowed returns a clone of the borrowed data:

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow = Cow::Borrowed(s);\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n

    Calling into_owned on a Cow::Owned returns the owned data. The data is moved out of the\nCow without being cloned.

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow: Cow<'_, str> = Cow::Owned(String::from(s));\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n
    ",0,"iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Debug for Cow<'_, B>
    where\n B: Debug + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","iced::widget::text::Fragment"],["
    1.11.0 · source§

    impl<B> Default for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Default,

    source§

    fn default() -> Cow<'_, B>

    Creates an owned Cow<’a, B> with the default value for the contained owned value.

    \n
    ","Default","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Deref for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    source§

    type Target = B

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &B

    Dereferences the value.
    ","Deref","iced::widget::text::Fragment"],["
    source§

    impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T>
    where\n T: ToOwned + ?Sized,\n <T as ToOwned>::Owned: Deserialize<'de>,

    Available on crate features std or alloc only.
    source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Display for Cow<'_, B>
    where\n B: Display + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Display,

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","iced::widget::text::Fragment"],["
    1.28.0 · source§

    impl<'a> From<&'a String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: &'a String) -> Cow<'a, str>

    Converts a String reference into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nassert_eq!(Cow::from(&s), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a String>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: &'a str) -> Cow<'a, str>

    Converts a string slice into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    assert_eq!(Cow::from(\"eggplant\"), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a str>","iced::widget::text::Fragment"],["
    §

    impl<'a> From<CowStr<'a>> for Cow<'a, str>

    §

    fn from(s: CowStr<'a>) -> Cow<'a, str>

    Converts to this type from the input type.
    ","From>","iced::widget::text::Fragment"],["
    §

    impl<'a> From<PercentEncode<'a>> for Cow<'a, str>

    Available on crate feature alloc only.
    §

    fn from(iter: PercentEncode<'a>) -> Cow<'a, str>

    Converts to this type from the input type.
    ","From>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: String) -> Cow<'a, str>

    Converts a String into an Owned variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nlet s2 = \"eggplant\".to_string();\nassert_eq!(Cow::from(s), Cow::<'static, str>::Owned(s2));
    \n
    ","From","iced::widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a, 'b> FromIterator<&'b str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = &'b str>,

    Creates a value from an iterator. Read more
    ","FromIterator<&'b str>","iced::widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = String>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced::widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<char> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = char>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced::widget::text::Fragment"],["
    §

    impl<'a, C, T> FromParallelIterator<T> for Cow<'a, C>
    where\n C: ToOwned + ?Sized,\n <C as ToOwned>::Owned: FromParallelIterator<T>,\n T: Send,

    Collects an arbitrary Cow collection.

    \n

    Note, the standard library only has FromIterator for Cow<'a, str> and\nCow<'a, [T]>, because no one thought to add a blanket implementation\nbefore it was stabilized.

    \n
    §

    fn from_par_iter<I>(par_iter: I) -> Cow<'a, C>
    where\n I: IntoParallelIterator<Item = T>,

    Creates an instance of the collection from the parallel iterator par_iter. Read more
    ","FromParallelIterator","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Hash for Cow<'_, B>
    where\n B: Hash + ToOwned + ?Sized,

    source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iced::widget::text::Fragment"],["
    source§

    impl<'de, 'a, E> IntoDeserializer<'de, E> for Cow<'a, str>
    where\n E: Error,

    Available on crate features std or alloc only.
    source§

    type Deserializer = CowStrDeserializer<'a, E>

    The type of the deserializer being converted into.
    source§

    fn into_deserializer(self) -> CowStrDeserializer<'a, E>

    Convert this value into a deserializer.
    ","IntoDeserializer<'de, E>","iced::widget::text::Fragment"],["
    source§

    impl<'a> IntoFragment<'a> for Cow<'a, str>

    source§

    fn into_fragment(self) -> Cow<'a, str>

    Converts the value to some text Fragment.
    ","IntoFragment<'a>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Ord for Cow<'_, B>
    where\n B: Ord + ToOwned + ?Sized,

    source§

    fn cmp(&self, other: &Cow<'_, B>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>

    source§

    fn eq(&self, other: &&'b str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &&'b str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq<&'b str>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>
    where\n B: PartialEq<C> + ToOwned + ?Sized,\n C: ToOwned + ?Sized,

    source§

    fn eq(&self, other: &Cow<'b, C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq>","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<String> for Cow<'a, str>

    source§

    fn eq(&self, other: &String) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &String) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<str> for Cow<'a, str>

    source§

    fn eq(&self, other: &str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> PartialOrd for Cow<'a, B>
    where\n B: PartialOrd + ToOwned + ?Sized,

    source§

    fn partial_cmp(&self, other: &Cow<'a, B>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","iced::widget::text::Fragment"],["
    §

    impl<C> RequestConnection for Cow<'_, C>
    where\n C: RequestConnection + ToOwned + ?Sized,

    §

    type Buf = <C as RequestConnection>::Buf

    Type used as buffer to store raw replies or events before\nthey are parsed.
    §

    fn send_request_with_reply<R>(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<Cookie<'_, Cow<'_, C>, R>, ConnectionError>
    where\n R: TryParse,

    Send a request with a reply to the server. Read more
    §

    fn send_trait_request_with_reply<R>(\n &self,\n request: R,\n) -> Result<Cookie<'_, Cow<'_, C>, <R as ReplyRequest>::Reply>, ConnectionError>
    where\n R: ReplyRequest,

    Send a request with a reply to the server. Read more
    §

    fn send_request_with_reply_with_fds<R>(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<CookieWithFds<'_, Cow<'_, C>, R>, ConnectionError>
    where\n R: TryParseFd,

    Send a request with a reply containing file descriptors to the server. Read more
    §

    fn send_trait_request_with_reply_with_fds<R>(\n &self,\n request: R,\n) -> Result<CookieWithFds<'_, Cow<'_, C>, <R as ReplyFDsRequest>::Reply>, ConnectionError>
    where\n R: ReplyFDsRequest,

    Send a request with a reply containing file descriptors to the server. Read more
    §

    fn send_request_without_reply(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>

    Send a request without a reply to the server. Read more
    §

    fn send_trait_request_without_reply<R>(\n &self,\n request: R,\n) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>
    where\n R: VoidRequest,

    Send a request without a reply to the server. Read more
    §

    fn discard_reply(&self, sequence: u64, kind: RequestKind, mode: DiscardMode)

    A reply to an error should be discarded. Read more
    §

    fn prefetch_extension_information(\n &self,\n extension_name: &'static str,\n) -> Result<(), ConnectionError>

    Prefetches information about an extension. Read more
    §

    fn extension_information(\n &self,\n extension_name: &'static str,\n) -> Result<Option<ExtensionInformation>, ConnectionError>

    Get information about an extension. Read more
    §

    fn wait_for_reply_or_error(\n &self,\n sequence: u64,\n) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ReplyError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply_or_raw_error(\n &self,\n sequence: u64,\n) -> Result<ReplyOrError<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply(\n &self,\n sequence: u64,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply_with_fds(\n &self,\n sequence: u64,\n) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), ReplyError>

    Wait for the reply to a request that has FDs. Read more
    §

    fn wait_for_reply_with_fds_raw(\n &self,\n sequence: u64,\n) -> Result<ReplyOrError<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), <Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request that has FDs. Read more
    §

    fn check_for_error(&self, sequence: u64) -> Result<(), ReplyError>

    Check whether a request that does not have a reply caused an X11 error. Read more
    §

    fn check_for_raw_error(\n &self,\n sequence: u64,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Check whether a request that does not have a reply caused an X11 error. Read more
    §

    fn prefetch_maximum_request_bytes(&self)

    Prefetches the maximum request length. Read more
    §

    fn maximum_request_bytes(&self) -> usize

    The maximum number of bytes that the X11 server accepts in a request.
    §

    fn parse_error(&self, error: &[u8]) -> Result<X11Error, ParseError>

    Parse a generic error.
    §

    fn parse_event(&self, event: &[u8]) -> Result<Event, ParseError>

    Parse a generic event.
    ","RequestConnection","iced::widget::text::Fragment"],["
    source§

    impl<'a, T> Serialize for Cow<'a, T>
    where\n T: Serialize + ToOwned + ?Sized,

    Available on crate features std or alloc only.
    source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iced::widget::text::Fragment"],["
    §

    impl<T> Type for Cow<'_, T>
    where\n T: Type + ToOwned + ?Sized,

    §

    fn signature() -> Signature<'static>

    Get the signature for the implementing type. Read more
    ","Type","iced::widget::text::Fragment"],["
    source§

    impl<B> DerefPure for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    ","DerefPure","iced::widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Eq for Cow<'_, B>
    where\n B: Eq + ToOwned + ?Sized,

    ","Eq","iced::widget::text::Fragment"],["
    §

    impl<T> IoSafe for Cow<'_, T>
    where\n T: Clone + IoSafe + ?Sized,

    ","IoSafe","iced::widget::text::Fragment"]]],["iced_core",[["
    1.14.0 · source§

    impl<'a> Add<&'a str> for Cow<'a, str>

    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: &'a str) -> <Cow<'a, str> as Add<&'a str>>::Output

    Performs the + operation. Read more
    ","Add<&'a str>","iced_core::text::Fragment"],["
    1.14.0 · source§

    impl<'a> Add for Cow<'a, str>

    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Cow<'a, str>) -> <Cow<'a, str> as Add>::Output

    Performs the + operation. Read more
    ","Add","iced_core::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign<&'a str> for Cow<'a, str>

    source§

    fn add_assign(&mut self, rhs: &'a str)

    Performs the += operation. Read more
    ","AddAssign<&'a str>","iced_core::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign for Cow<'a, str>

    source§

    fn add_assign(&mut self, rhs: Cow<'a, str>)

    Performs the += operation. Read more
    ","AddAssign","iced_core::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<T> AsRef<T> for Cow<'_, T>
    where\n T: ToOwned + ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> Borrow<B> for Cow<'a, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn borrow(&self) -> &B

    Immutably borrows from an owned value. Read more
    ","Borrow","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Clone for Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn clone(&self) -> Cow<'_, B>

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, source: &Cow<'_, B>)

    Performs copy-assignment from source. Read more
    ","Clone","iced_core::text::Fragment"],["
    source§

    impl<B> Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source

    pub const fn is_borrowed(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is borrowed, i.e. if to_mut would require additional work.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow = Cow::Borrowed(\"moo\");\nassert!(cow.is_borrowed());\n\nlet bull: Cow<'_, str> = Cow::Owned(\"...moo?\".to_string());\nassert!(!bull.is_borrowed());
    \n
    source

    pub const fn is_owned(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is owned, i.e. if to_mut would be a no-op.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow: Cow<'_, str> = Cow::Owned(\"moo\".to_string());\nassert!(cow.is_owned());\n\nlet bull = Cow::Borrowed(\"...moo?\");\nassert!(!bull.is_owned());
    \n
    1.0.0 · source

    pub fn to_mut(&mut self) -> &mut <B as ToOwned>::Owned

    Acquires a mutable reference to the owned form of the data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n
    use std::borrow::Cow;\n\nlet mut cow = Cow::Borrowed(\"foo\");\ncow.to_mut().make_ascii_uppercase();\n\nassert_eq!(\n  cow,\n  Cow::Owned(String::from(\"FOO\")) as Cow<'_, str>\n);
    \n
    1.0.0 · source

    pub fn into_owned(self) -> <B as ToOwned>::Owned

    Extracts the owned data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n

    Calling into_owned on a Cow::Borrowed returns a clone of the borrowed data:

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow = Cow::Borrowed(s);\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n

    Calling into_owned on a Cow::Owned returns the owned data. The data is moved out of the\nCow without being cloned.

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow: Cow<'_, str> = Cow::Owned(String::from(s));\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n
    ",0,"iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Debug for Cow<'_, B>
    where\n B: Debug + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","iced_core::text::Fragment"],["
    1.11.0 · source§

    impl<B> Default for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Default,

    source§

    fn default() -> Cow<'_, B>

    Creates an owned Cow<’a, B> with the default value for the contained owned value.

    \n
    ","Default","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Deref for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    source§

    type Target = B

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &B

    Dereferences the value.
    ","Deref","iced_core::text::Fragment"],["
    source§

    impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T>
    where\n T: ToOwned + ?Sized,\n <T as ToOwned>::Owned: Deserialize<'de>,

    source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Display for Cow<'_, B>
    where\n B: Display + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Display,

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","iced_core::text::Fragment"],["
    1.28.0 · source§

    impl<'a> From<&'a String> for Cow<'a, str>

    source§

    fn from(s: &'a String) -> Cow<'a, str>

    Converts a String reference into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nassert_eq!(Cow::from(&s), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a String>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<&'a str> for Cow<'a, str>

    source§

    fn from(s: &'a str) -> Cow<'a, str>

    Converts a string slice into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    assert_eq!(Cow::from(\"eggplant\"), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a str>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<String> for Cow<'a, str>

    source§

    fn from(s: String) -> Cow<'a, str>

    Converts a String into an Owned variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nlet s2 = \"eggplant\".to_string();\nassert_eq!(Cow::from(s), Cow::<'static, str>::Owned(s2));
    \n
    ","From","iced_core::text::Fragment"],["
    1.12.0 · source§

    impl<'a, 'b> FromIterator<&'b str> for Cow<'a, str>

    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = &'b str>,

    Creates a value from an iterator. Read more
    ","FromIterator<&'b str>","iced_core::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<String> for Cow<'a, str>

    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = String>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced_core::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<char> for Cow<'a, str>

    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = char>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Hash for Cow<'_, B>
    where\n B: Hash + ToOwned + ?Sized,

    source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iced_core::text::Fragment"],["
    source§

    impl<'de, 'a, E> IntoDeserializer<'de, E> for Cow<'a, str>
    where\n E: Error,

    source§

    type Deserializer = CowStrDeserializer<'a, E>

    The type of the deserializer being converted into.
    source§

    fn into_deserializer(self) -> CowStrDeserializer<'a, E>

    Convert this value into a deserializer.
    ","IntoDeserializer<'de, E>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Ord for Cow<'_, B>
    where\n B: Ord + ToOwned + ?Sized,

    source§

    fn cmp(&self, other: &Cow<'_, B>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>

    source§

    fn eq(&self, other: &&'b str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &&'b str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq<&'b str>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>
    where\n B: PartialEq<C> + ToOwned + ?Sized,\n C: ToOwned + ?Sized,

    source§

    fn eq(&self, other: &Cow<'b, C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq>","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<String> for Cow<'a, str>

    source§

    fn eq(&self, other: &String) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &String) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<str> for Cow<'a, str>

    source§

    fn eq(&self, other: &str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> PartialOrd for Cow<'a, B>
    where\n B: PartialOrd + ToOwned + ?Sized,

    source§

    fn partial_cmp(&self, other: &Cow<'a, B>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","iced_core::text::Fragment"],["
    source§

    impl<'a, T> Serialize for Cow<'a, T>
    where\n T: Serialize + ToOwned + ?Sized,

    source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iced_core::text::Fragment"],["
    §

    impl<T> Type for Cow<'_, T>
    where\n T: Type + ToOwned + ?Sized,

    §

    fn signature() -> Signature<'static>

    Get the signature for the implementing type. Read more
    ","Type","iced_core::text::Fragment"],["
    source§

    impl<B> DerefPure for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    ","DerefPure","iced_core::text::Fragment"],["
    1.0.0 · source§

    impl<B> Eq for Cow<'_, B>
    where\n B: Eq + ToOwned + ?Sized,

    ","Eq","iced_core::text::Fragment"],["
    §

    impl<T> IoSafe for Cow<'_, T>
    where\n T: Clone + IoSafe + ?Sized,

    ","IoSafe","iced_core::text::Fragment"]]],["iced_widget",[["
    1.14.0 · source§

    impl<'a> Add<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: &'a str) -> <Cow<'a, str> as Add<&'a str>>::Output

    Performs the + operation. Read more
    ","Add<&'a str>","iced_widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> Add for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    type Output = Cow<'a, str>

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Cow<'a, str>) -> <Cow<'a, str> as Add>::Output

    Performs the + operation. Read more
    ","Add","iced_widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn add_assign(&mut self, rhs: &'a str)

    Performs the += operation. Read more
    ","AddAssign<&'a str>","iced_widget::text::Fragment"],["
    1.14.0 · source§

    impl<'a> AddAssign for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn add_assign(&mut self, rhs: Cow<'a, str>)

    Performs the += operation. Read more
    ","AddAssign","iced_widget::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a Cow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced_widget::text::Fragment"],["
    §

    impl<'a> Arg for Cow<'a, str>

    Available on crate feature alloc only.
    §

    fn as_str(&self) -> Result<&str, Errno>

    Returns a view of this string as a string slice.
    §

    fn to_string_lossy(&self) -> Cow<'_, str>

    Returns a potentially-lossy rendering of this string as a\nCow<'_, str>.
    §

    fn as_cow_c_str(&self) -> Result<Cow<'_, CStr>, Errno>

    Returns a view of this string as a maybe-owned CStr.
    §

    fn into_c_str<'b>(self) -> Result<Cow<'b, CStr>, Errno>
    where\n Cow<'a, str>: 'b,

    Consumes self and returns a view of this string as a maybe-owned\nCStr.
    §

    fn into_with_c_str<T, F>(self, f: F) -> Result<T, Errno>
    where\n Cow<'a, str>: Sized,\n F: FnOnce(&CStr) -> Result<T, Errno>,

    Runs a closure with self passed in as a &CStr.
    ","Arg","iced_widget::text::Fragment"],["
    §

    impl<T> AsRawXcbConnection for Cow<'_, T>
    where\n T: AsRawXcbConnection + ToOwned + ?Sized,

    Available on crate feature alloc only.
    §

    fn as_raw_xcb_connection(&self) -> *mut xcb_connection_t

    Get a raw xcb connection pointer from this object.
    ","AsRawXcbConnection","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<T> AsRef<T> for Cow<'_, T>
    where\n T: ToOwned + ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> Borrow<B> for Cow<'a, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn borrow(&self) -> &B

    Immutably borrows from an owned value. Read more
    ","Borrow","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Clone for Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source§

    fn clone(&self) -> Cow<'_, B>

    Returns a copy of the value. Read more
    source§

    fn clone_from(&mut self, source: &Cow<'_, B>)

    Performs copy-assignment from source. Read more
    ","Clone","iced_widget::text::Fragment"],["
    §

    impl<C> Connection for Cow<'_, C>
    where\n C: Connection + ToOwned + ?Sized,

    §

    fn wait_for_event(&self) -> Result<Event, ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event(\n &self,\n) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn wait_for_event_with_sequence(&self) -> Result<(Event, u64), ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event_with_sequence(\n &self,\n) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, u64), ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event(\n &self,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Poll for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event_with_sequence(\n &self,\n) -> Result<Option<(Event, u64)>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event_with_sequence(\n &self,\n) -> Result<Option<(<Cow<'_, C> as RequestConnection>::Buf, u64)>, ConnectionError>

    Poll for a new unparsed/raw event from the X11 server.
    §

    fn flush(&self) -> Result<(), ConnectionError>

    Send all pending requests to the server. Read more
    §

    fn setup(&self) -> &Setup

    Get the setup information sent by the X11 server. Read more
    §

    fn generate_id(&self) -> Result<u32, ReplyOrIdError>

    Generate a new X11 identifier. Read more
    ","Connection","iced_widget::text::Fragment"],["
    source§

    impl<B> Cow<'_, B>
    where\n B: ToOwned + ?Sized,

    source

    pub const fn is_borrowed(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is borrowed, i.e. if to_mut would require additional work.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow = Cow::Borrowed(\"moo\");\nassert!(cow.is_borrowed());\n\nlet bull: Cow<'_, str> = Cow::Owned(\"...moo?\".to_string());\nassert!(!bull.is_borrowed());
    \n
    source

    pub const fn is_owned(&self) -> bool

    🔬This is a nightly-only experimental API. (cow_is_borrowed)

    Returns true if the data is owned, i.e. if to_mut would be a no-op.

    \n
    §Examples
    \n
    #![feature(cow_is_borrowed)]\nuse std::borrow::Cow;\n\nlet cow: Cow<'_, str> = Cow::Owned(\"moo\".to_string());\nassert!(cow.is_owned());\n\nlet bull = Cow::Borrowed(\"...moo?\");\nassert!(!bull.is_owned());
    \n
    1.0.0 · source

    pub fn to_mut(&mut self) -> &mut <B as ToOwned>::Owned

    Acquires a mutable reference to the owned form of the data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n
    use std::borrow::Cow;\n\nlet mut cow = Cow::Borrowed(\"foo\");\ncow.to_mut().make_ascii_uppercase();\n\nassert_eq!(\n  cow,\n  Cow::Owned(String::from(\"FOO\")) as Cow<'_, str>\n);
    \n
    1.0.0 · source

    pub fn into_owned(self) -> <B as ToOwned>::Owned

    Extracts the owned data.

    \n

    Clones the data if it is not already owned.

    \n
    §Examples
    \n

    Calling into_owned on a Cow::Borrowed returns a clone of the borrowed data:

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow = Cow::Borrowed(s);\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n

    Calling into_owned on a Cow::Owned returns the owned data. The data is moved out of the\nCow without being cloned.

    \n\n
    use std::borrow::Cow;\n\nlet s = \"Hello world!\";\nlet cow: Cow<'_, str> = Cow::Owned(String::from(s));\n\nassert_eq!(\n  cow.into_owned(),\n  String::from(s)\n);
    \n
    ",0,"iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Debug for Cow<'_, B>
    where\n B: Debug + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Debug,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","iced_widget::text::Fragment"],["
    1.11.0 · source§

    impl<B> Default for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Default,

    source§

    fn default() -> Cow<'_, B>

    Creates an owned Cow<’a, B> with the default value for the contained owned value.

    \n
    ","Default","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Deref for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    source§

    type Target = B

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &B

    Dereferences the value.
    ","Deref","iced_widget::text::Fragment"],["
    source§

    impl<'de, 'a, T> Deserialize<'de> for Cow<'a, T>
    where\n T: ToOwned + ?Sized,\n <T as ToOwned>::Owned: Deserialize<'de>,

    Available on crate features std or alloc only.
    source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Cow<'a, T>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Display for Cow<'_, B>
    where\n B: Display + ToOwned + ?Sized,\n <B as ToOwned>::Owned: Display,

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","iced_widget::text::Fragment"],["
    1.28.0 · source§

    impl<'a> From<&'a String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: &'a String) -> Cow<'a, str>

    Converts a String reference into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nassert_eq!(Cow::from(&s), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a String>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<&'a str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: &'a str) -> Cow<'a, str>

    Converts a string slice into a Borrowed variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    assert_eq!(Cow::from(\"eggplant\"), Cow::Borrowed(\"eggplant\"));
    \n
    ","From<&'a str>","iced_widget::text::Fragment"],["
    §

    impl<'a> From<CowStr<'a>> for Cow<'a, str>

    §

    fn from(s: CowStr<'a>) -> Cow<'a, str>

    Converts to this type from the input type.
    ","From>","iced_widget::text::Fragment"],["
    §

    impl<'a> From<PercentEncode<'a>> for Cow<'a, str>

    Available on crate feature alloc only.
    §

    fn from(iter: PercentEncode<'a>) -> Cow<'a, str>

    Converts to this type from the input type.
    ","From>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a> From<String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from(s: String) -> Cow<'a, str>

    Converts a String into an Owned variant.\nNo heap allocation is performed, and the string\nis not copied.

    \n
    §Example
    \n
    let s = \"eggplant\".to_string();\nlet s2 = \"eggplant\".to_string();\nassert_eq!(Cow::from(s), Cow::<'static, str>::Owned(s2));
    \n
    ","From","iced_widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a, 'b> FromIterator<&'b str> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = &'b str>,

    Creates a value from an iterator. Read more
    ","FromIterator<&'b str>","iced_widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<String> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = String>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced_widget::text::Fragment"],["
    1.12.0 · source§

    impl<'a> FromIterator<char> for Cow<'a, str>

    Available on non-no_global_oom_handling only.
    source§

    fn from_iter<I>(it: I) -> Cow<'a, str>
    where\n I: IntoIterator<Item = char>,

    Creates a value from an iterator. Read more
    ","FromIterator","iced_widget::text::Fragment"],["
    §

    impl<'a, C, T> FromParallelIterator<T> for Cow<'a, C>
    where\n C: ToOwned + ?Sized,\n <C as ToOwned>::Owned: FromParallelIterator<T>,\n T: Send,

    Collects an arbitrary Cow collection.

    \n

    Note, the standard library only has FromIterator for Cow<'a, str> and\nCow<'a, [T]>, because no one thought to add a blanket implementation\nbefore it was stabilized.

    \n
    §

    fn from_par_iter<I>(par_iter: I) -> Cow<'a, C>
    where\n I: IntoParallelIterator<Item = T>,

    Creates an instance of the collection from the parallel iterator par_iter. Read more
    ","FromParallelIterator","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Hash for Cow<'_, B>
    where\n B: Hash + ToOwned + ?Sized,

    source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","iced_widget::text::Fragment"],["
    source§

    impl<'de, 'a, E> IntoDeserializer<'de, E> for Cow<'a, str>
    where\n E: Error,

    Available on crate features std or alloc only.
    source§

    type Deserializer = CowStrDeserializer<'a, E>

    The type of the deserializer being converted into.
    source§

    fn into_deserializer(self) -> CowStrDeserializer<'a, E>

    Convert this value into a deserializer.
    ","IntoDeserializer<'de, E>","iced_widget::text::Fragment"],["
    §

    impl<'a> IntoFragment<'a> for Cow<'a, str>

    §

    fn into_fragment(self) -> Cow<'a, str>

    Converts the value to some text Fragment.
    ","IntoFragment<'a>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Ord for Cow<'_, B>
    where\n B: Ord + ToOwned + ?Sized,

    source§

    fn cmp(&self, other: &Cow<'_, B>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<&'b str> for Cow<'a, str>

    source§

    fn eq(&self, other: &&'b str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &&'b str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq<&'b str>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b, B, C> PartialEq<Cow<'b, C>> for Cow<'a, B>
    where\n B: PartialEq<C> + ToOwned + ?Sized,\n C: ToOwned + ?Sized,

    source§

    fn eq(&self, other: &Cow<'b, C>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq>","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<String> for Cow<'a, str>

    source§

    fn eq(&self, other: &String) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &String) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, 'b> PartialEq<str> for Cow<'a, str>

    source§

    fn eq(&self, other: &str) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &str) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<'a, B> PartialOrd for Cow<'a, B>
    where\n B: PartialOrd + ToOwned + ?Sized,

    source§

    fn partial_cmp(&self, other: &Cow<'a, B>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    ","PartialOrd","iced_widget::text::Fragment"],["
    §

    impl<C> RequestConnection for Cow<'_, C>
    where\n C: RequestConnection + ToOwned + ?Sized,

    §

    type Buf = <C as RequestConnection>::Buf

    Type used as buffer to store raw replies or events before\nthey are parsed.
    §

    fn send_request_with_reply<R>(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<Cookie<'_, Cow<'_, C>, R>, ConnectionError>
    where\n R: TryParse,

    Send a request with a reply to the server. Read more
    §

    fn send_trait_request_with_reply<R>(\n &self,\n request: R,\n) -> Result<Cookie<'_, Cow<'_, C>, <R as ReplyRequest>::Reply>, ConnectionError>
    where\n R: ReplyRequest,

    Send a request with a reply to the server. Read more
    §

    fn send_request_with_reply_with_fds<R>(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<CookieWithFds<'_, Cow<'_, C>, R>, ConnectionError>
    where\n R: TryParseFd,

    Send a request with a reply containing file descriptors to the server. Read more
    §

    fn send_trait_request_with_reply_with_fds<R>(\n &self,\n request: R,\n) -> Result<CookieWithFds<'_, Cow<'_, C>, <R as ReplyFDsRequest>::Reply>, ConnectionError>
    where\n R: ReplyFDsRequest,

    Send a request with a reply containing file descriptors to the server. Read more
    §

    fn send_request_without_reply(\n &self,\n bufs: &[IoSlice<'_>],\n fds: Vec<OwnedFd>,\n) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>

    Send a request without a reply to the server. Read more
    §

    fn send_trait_request_without_reply<R>(\n &self,\n request: R,\n) -> Result<VoidCookie<'_, Cow<'_, C>>, ConnectionError>
    where\n R: VoidRequest,

    Send a request without a reply to the server. Read more
    §

    fn discard_reply(&self, sequence: u64, kind: RequestKind, mode: DiscardMode)

    A reply to an error should be discarded. Read more
    §

    fn prefetch_extension_information(\n &self,\n extension_name: &'static str,\n) -> Result<(), ConnectionError>

    Prefetches information about an extension. Read more
    §

    fn extension_information(\n &self,\n extension_name: &'static str,\n) -> Result<Option<ExtensionInformation>, ConnectionError>

    Get information about an extension. Read more
    §

    fn wait_for_reply_or_error(\n &self,\n sequence: u64,\n) -> Result<<Cow<'_, C> as RequestConnection>::Buf, ReplyError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply_or_raw_error(\n &self,\n sequence: u64,\n) -> Result<ReplyOrError<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply(\n &self,\n sequence: u64,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request. Read more
    §

    fn wait_for_reply_with_fds(\n &self,\n sequence: u64,\n) -> Result<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), ReplyError>

    Wait for the reply to a request that has FDs. Read more
    §

    fn wait_for_reply_with_fds_raw(\n &self,\n sequence: u64,\n) -> Result<ReplyOrError<(<Cow<'_, C> as RequestConnection>::Buf, Vec<OwnedFd>), <Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Wait for the reply to a request that has FDs. Read more
    §

    fn check_for_error(&self, sequence: u64) -> Result<(), ReplyError>

    Check whether a request that does not have a reply caused an X11 error. Read more
    §

    fn check_for_raw_error(\n &self,\n sequence: u64,\n) -> Result<Option<<Cow<'_, C> as RequestConnection>::Buf>, ConnectionError>

    Check whether a request that does not have a reply caused an X11 error. Read more
    §

    fn prefetch_maximum_request_bytes(&self)

    Prefetches the maximum request length. Read more
    §

    fn maximum_request_bytes(&self) -> usize

    The maximum number of bytes that the X11 server accepts in a request.
    §

    fn parse_error(&self, error: &[u8]) -> Result<X11Error, ParseError>

    Parse a generic error.
    §

    fn parse_event(&self, event: &[u8]) -> Result<Event, ParseError>

    Parse a generic event.
    ","RequestConnection","iced_widget::text::Fragment"],["
    source§

    impl<'a, T> Serialize for Cow<'a, T>
    where\n T: Serialize + ToOwned + ?Sized,

    Available on crate features std or alloc only.
    source§

    fn serialize<S>(\n &self,\n serializer: S,\n) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
    where\n S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    ","Serialize","iced_widget::text::Fragment"],["
    §

    impl<T> Type for Cow<'_, T>
    where\n T: Type + ToOwned + ?Sized,

    §

    fn signature() -> Signature<'static>

    Get the signature for the implementing type. Read more
    ","Type","iced_widget::text::Fragment"],["
    source§

    impl<B> DerefPure for Cow<'_, B>
    where\n B: ToOwned + ?Sized,\n <B as ToOwned>::Owned: Borrow<B>,

    ","DerefPure","iced_widget::text::Fragment"],["
    1.0.0 · source§

    impl<B> Eq for Cow<'_, B>
    where\n B: Eq + ToOwned + ?Sized,

    ","Eq","iced_widget::text::Fragment"],["
    §

    impl<T> IoSafe for Cow<'_, T>
    where\n T: Clone + IoSafe + ?Sized,

    ","IoSafe","iced_widget::text::Fragment"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[140981,96936,140946]} \ No newline at end of file +//{"start":55,"fragment_lengths":[141135,96936,140946]} \ No newline at end of file diff --git a/type.impl/alloc/boxed/struct.Box.js b/type.impl/alloc/boxed/struct.Box.js index aa21ff0ff3..5b65b643af 100644 --- a/type.impl/alloc/boxed/struct.Box.js +++ b/type.impl/alloc/boxed/struct.Box.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["iced",[["
    §

    impl<A, T> ApplicationHandler<T> for Box<A>
    where\n A: ApplicationHandler<T> + ?Sized,\n T: 'static,

    §

    fn new_events(&mut self, event_loop: &ActiveEventLoop, cause: StartCause)

    Emitted when new events arrive from the OS to be processed. Read more
    §

    fn resumed(&mut self, event_loop: &ActiveEventLoop)

    Emitted when the application has been resumed. Read more
    §

    fn user_event(&mut self, event_loop: &ActiveEventLoop, event: T)

    Emitted when an event is sent from EventLoopProxy::send_event.
    §

    fn window_event(\n &mut self,\n event_loop: &ActiveEventLoop,\n window_id: WindowId,\n event: WindowEvent,\n)

    Emitted when the OS sends an event to a winit window.
    §

    fn device_event(\n &mut self,\n event_loop: &ActiveEventLoop,\n device_id: DeviceId,\n event: DeviceEvent,\n)

    Emitted when the OS sends an event to a device.
    §

    fn about_to_wait(&mut self, event_loop: &ActiveEventLoop)

    Emitted when the event loop is about to block and wait for new events. Read more
    §

    fn suspended(&mut self, event_loop: &ActiveEventLoop)

    Emitted when the application has been suspended. Read more
    §

    fn exiting(&mut self, event_loop: &ActiveEventLoop)

    Emitted when the event loop is being shut down. Read more
    §

    fn memory_warning(&mut self, event_loop: &ActiveEventLoop)

    Emitted when the application has received a memory warning. Read more
    §

    fn received_url(&mut self, event_loop: &ActiveEventLoop, url: String)

    Emitted when the application has received a URL, through a\ncustom URL handler. Read more
    ","ApplicationHandler","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.64.0 · source§

    impl<T> AsFd for Box<T>
    where\n T: AsFd + ?Sized,

    source§

    fn as_fd(&self) -> BorrowedFd<'_>

    Borrows the file descriptor. Read more
    ","AsFd","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.5.0 · source§

    impl<T, A> AsMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

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

    Converts this type into a mutable reference of the (usually inferred) input type.
    ","AsMut","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.63.0 · source§

    impl<T> AsRawFd for Box<T>
    where\n T: AsRawFd,

    source§

    fn as_raw_fd(&self) -> i32

    Extracts the raw file descriptor. Read more
    ","AsRawFd","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> AsRawXcbConnection for Box<T>
    where\n T: AsRawXcbConnection + ?Sized,

    Available on crate feature alloc only.
    §

    fn as_raw_xcb_connection(&self) -> *mut xcb_connection_t

    Get a raw xcb connection pointer from this object.
    ","AsRawXcbConnection","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.5.0 · source§

    impl<T, A> AsRef<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> AsyncBufRead for Box<T>
    where\n T: AsyncBufRead + Unpin + ?Sized,

    §

    fn poll_fill_buf(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

    Attempt to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
    §

    fn consume(self: Pin<&mut Box<T>>, amt: usize)

    Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
    ","AsyncBufRead","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> AsyncBufRead for Box<T>
    where\n T: AsyncBufRead + Unpin + ?Sized,

    §

    fn poll_fill_buf(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<&[u8], Error>>

    Attempts to return the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
    §

    fn consume(self: Pin<&mut Box<T>>, amt: usize)

    Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to poll_read. Read more
    ","AsyncBufRead","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<Args, F, A> AsyncFn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFn<Args> + ?Sized,\n A: Allocator,

    source§

    extern "rust-call" fn async_call(\n &self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFn, returning a future which may borrow from the called closure.
    ","AsyncFn","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<Args, F, A> AsyncFnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnMut<Args> + ?Sized,\n A: Allocator,

    source§

    type CallRefFuture<'a> = <F as AsyncFnMut<Args>>::CallRefFuture<'a>\nwhere\n Box<F, A>: 'a

    🔬This is a nightly-only experimental API. (async_fn_traits)
    source§

    extern "rust-call" fn async_call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnMut, returning a future which may borrow from the called closure.
    ","AsyncFnMut","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<Args, F, A> AsyncFnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnOnce<Args> + ?Sized,\n A: Allocator,

    source§

    type Output = <F as AsyncFnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Output type of the called closure’s future.
    source§

    type CallOnceFuture = <F as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Future returned by AsyncFnOnce::async_call_once.
    source§

    extern "rust-call" fn async_call_once(\n self,\n args: Args,\n) -> <Box<F, A> as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnOnce, returning a future which may move out of the called closure.
    ","AsyncFnOnce","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<S> AsyncIterator for Box<S>
    where\n S: AsyncIterator + Unpin + ?Sized,

    source§

    type Item = <S as AsyncIterator>::Item

    🔬This is a nightly-only experimental API. (async_iterator)
    The type of items yielded by the async iterator.
    source§

    fn poll_next(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Option<<Box<S> as AsyncIterator>::Item>>

    🔬This is a nightly-only experimental API. (async_iterator)
    Attempts to pull out the next value of this async iterator, registering the\ncurrent task for wakeup if the value is not yet available, and returning\nNone if the async iterator is exhausted. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    🔬This is a nightly-only experimental API. (async_iterator)
    Returns the bounds on the remaining length of the async iterator. Read more
    ","AsyncIterator","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> AsyncRead for Box<T>
    where\n T: AsyncRead + Unpin + ?Sized,

    §

    fn poll_read(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &mut ReadBuf<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to read from the AsyncRead into buf. Read more
    ","AsyncRead","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> AsyncRead for Box<T>
    where\n T: AsyncRead + Unpin + ?Sized,

    §

    fn poll_read(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &mut [u8],\n) -> Poll<Result<usize, Error>>

    Attempt to read from the AsyncRead into buf. Read more
    §

    fn poll_read_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &mut [IoSliceMut<'_>],\n) -> Poll<Result<usize, Error>>

    Attempt to read from the AsyncRead into bufs using vectored\nIO operations. Read more
    ","AsyncRead","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> AsyncSeek for Box<T>
    where\n T: AsyncSeek + Unpin + ?Sized,

    §

    fn poll_seek(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n pos: SeekFrom,\n) -> Poll<Result<u64, Error>>

    Attempt to seek to an offset, in bytes, in a stream. Read more
    ","AsyncSeek","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> AsyncSeek for Box<T>
    where\n T: AsyncSeek + Unpin + ?Sized,

    §

    fn start_seek(self: Pin<&mut Box<T>>, pos: SeekFrom) -> Result<(), Error>

    Attempts to seek to an offset, in bytes, in a stream. Read more
    §

    fn poll_complete(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<u64, Error>>

    Waits for a seek operation to complete. Read more
    ","AsyncSeek","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> AsyncWrite for Box<T>
    where\n T: AsyncWrite + Unpin + ?Sized,

    §

    fn poll_write(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &[u8],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from buf into the object. Read more
    §

    fn poll_write_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &[IoSlice<'_>],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from bufs into the object using vectored\nIO operations. Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempt to flush the object, ensuring that any buffered data reach\ntheir destination. Read more
    §

    fn poll_close(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempt to close the object. Read more
    ","AsyncWrite","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> AsyncWrite for Box<T>
    where\n T: AsyncWrite + Unpin + ?Sized,

    §

    fn poll_write(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n buf: &[u8],\n) -> Poll<Result<usize, Error>>

    Attempt to write bytes from buf into the object. Read more
    §

    fn poll_write_vectored(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n bufs: &[IoSlice<'_>],\n) -> Poll<Result<usize, Error>>

    Like poll_write, except that it writes from a slice of buffers. Read more
    §

    fn is_write_vectored(&self) -> bool

    Determines if this writer has an efficient poll_write_vectored\nimplementation. Read more
    §

    fn poll_flush(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Attempts to flush the object, ensuring that any buffered data reach\ntheir destination. Read more
    §

    fn poll_shutdown(\n self: Pin<&mut Box<T>>,\n cx: &mut Context<'_>,\n) -> Poll<Result<(), Error>>

    Initiates or attempts to shut down this writer, returning success when\nthe I/O connection has completely shut down. Read more
    ","AsyncWrite","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.1.0 · source§

    impl<T, A> Borrow<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    ","Borrow","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.1.0 · source§

    impl<T, A> BorrowMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

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

    Mutably borrows from an owned value. Read more
    ","BorrowMut","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<T> Box<T>
    where\n T: ?Sized,

    1.4.0 · source

    pub unsafe fn from_raw(raw: *mut T) -> Box<T>

    Constructs a box from a raw pointer.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw:

    \n\n
    let x = Box::new(5);\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    use std::alloc::{alloc, Layout};\n\nunsafe {\n    let ptr = alloc(Layout::new::<i32>()) as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw(ptr);\n}
    \n
    source

    pub unsafe fn from_non_null(ptr: NonNull<T>) -> Box<T>

    🔬This is a nightly-only experimental API. (box_vec_non_null)

    Constructs a box from a NonNull pointer.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same NonNull pointer.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull\npointer using Box::into_non_null:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(5);\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{alloc, Layout};\nuse std::ptr::NonNull;\n\nunsafe {\n    let non_null = NonNull::new(alloc(Layout::new::<i32>()).cast::<i32>())\n        .expect(\"allocation failed\");\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null(non_null);\n}
    \n
    ",0,"iced::widget::text::StyleFn"],["
    source§

    impl<T> Box<T>
    where\n T: ?Sized,

    1.4.0 · source

    pub unsafe fn from_raw(raw: *mut T) -> Box<T>

    Available on crate feature advanced only.

    Constructs a box from a raw pointer.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw:

    \n\n
    let x = Box::new(5);\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    use std::alloc::{alloc, Layout};\n\nunsafe {\n    let ptr = alloc(Layout::new::<i32>()) as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw(ptr);\n}
    \n
    source

    pub unsafe fn from_non_null(ptr: NonNull<T>) -> Box<T>

    🔬This is a nightly-only experimental API. (box_vec_non_null)
    Available on crate feature advanced only.

    Constructs a box from a NonNull pointer.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same NonNull pointer.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull\npointer using Box::into_non_null:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(5);\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{alloc, Layout};\nuse std::ptr::NonNull;\n\nunsafe {\n    let non_null = NonNull::new(alloc(Layout::new::<i32>()).cast::<i32>())\n        .expect(\"allocation failed\");\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null(non_null);\n}
    \n
    ",0,"iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<T> Box<T>

    1.0.0 · source

    pub fn new(x: T) -> Box<T>

    Available on crate feature advanced and non-no_global_oom_handling only.

    Allocates memory on the heap and then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    let five = Box::new(5);
    \n
    1.82.0 · source

    pub fn new_uninit() -> Box<MaybeUninit<T>>

    Available on crate feature advanced and non-no_global_oom_handling only.

    Constructs a new box with uninitialized contents.

    \n
    §Examples
    \n
    let mut five = Box::<u32>::new_uninit();\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5)
    \n
    source

    pub fn new_zeroed() -> Box<MaybeUninit<T>>

    🔬This is a nightly-only experimental API. (new_zeroed_alloc)
    Available on crate feature advanced and non-no_global_oom_handling only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(new_zeroed_alloc)]\n\nlet zero = Box::<u32>::new_zeroed();\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    \n
    1.33.0 · source

    pub fn pin(x: T) -> Pin<Box<T>>

    Available on crate feature advanced and non-no_global_oom_handling only.

    Constructs a new Pin<Box<T>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin(x)\ndoes the same as Box::into_pin(Box::new(x)). Consider using\ninto_pin if you already have a Box<T>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new.

    \n
    source

    pub fn try_new(x: T) -> Result<Box<T>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Allocates memory on the heap then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet five = Box::try_new(5)?;
    \n
    source

    pub fn try_new_uninit() -> Result<Box<MaybeUninit<T>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Constructs a new box with uninitialized contents on the heap,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet mut five = Box::<u32>::try_new_uninit()?;\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5);
    \n
    source

    pub fn try_new_zeroed() -> Result<Box<MaybeUninit<T>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes on the heap

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet zero = Box::<u32>::try_new_zeroed()?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    \n
    ",0,"iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<T> Box<T>

    1.0.0 · source

    pub fn new(x: T) -> Box<T>

    Available on non-no_global_oom_handling only.

    Allocates memory on the heap and then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    let five = Box::new(5);
    \n
    1.82.0 · source

    pub fn new_uninit() -> Box<MaybeUninit<T>>

    Available on non-no_global_oom_handling only.

    Constructs a new box with uninitialized contents.

    \n
    §Examples
    \n
    let mut five = Box::<u32>::new_uninit();\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5)
    \n
    source

    pub fn new_zeroed() -> Box<MaybeUninit<T>>

    🔬This is a nightly-only experimental API. (new_zeroed_alloc)
    Available on non-no_global_oom_handling only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(new_zeroed_alloc)]\n\nlet zero = Box::<u32>::new_zeroed();\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    \n
    1.33.0 · source

    pub fn pin(x: T) -> Pin<Box<T>>

    Available on non-no_global_oom_handling only.

    Constructs a new Pin<Box<T>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin(x)\ndoes the same as Box::into_pin(Box::new(x)). Consider using\ninto_pin if you already have a Box<T>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new.

    \n
    source

    pub fn try_new(x: T) -> Result<Box<T>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Allocates memory on the heap then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet five = Box::try_new(5)?;
    \n
    source

    pub fn try_new_uninit() -> Result<Box<MaybeUninit<T>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new box with uninitialized contents on the heap,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet mut five = Box::<u32>::try_new_uninit()?;\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5);
    \n
    source

    pub fn try_new_zeroed() -> Result<Box<MaybeUninit<T>>, AllocError>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes on the heap

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet zero = Box::<u32>::try_new_zeroed()?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    \n
    ",0,"iced::widget::text::StyleFn"],["
    source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source

    pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Box<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a box from a raw pointer in the given allocator.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw_with_allocator:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let ptr = System.allocate(Layout::new::<i32>())?.as_mut_ptr() as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw_in(ptr, System);\n}
    \n
    source

    pub const unsafe fn from_non_null_in(raw: NonNull<T>, alloc: A) -> Box<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a box from a NonNull pointer in the given allocator.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull pointer\nusing Box::into_non_null_with_allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let non_null = System.allocate(Layout::new::<i32>())?.cast::<i32>();\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null_in(non_null, System);\n}
    \n
    1.4.0 · source

    pub fn into_raw(b: Box<T, A>) -> *mut T

    Consumes the Box, returning a wrapped raw pointer.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw(b) instead of b.into_raw(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw\nfor automatic cleanup:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    use std::alloc::{dealloc, Layout};\nuse std::ptr;\n\nlet x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    dealloc(ptr as *mut u8, Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    drop(Box::from_raw(ptr));\n}
    \n
    source

    pub fn into_non_null(b: Box<T, A>) -> NonNull<T>

    🔬This is a nightly-only experimental API. (box_vec_non_null)

    Consumes the Box, returning a wrapped NonNull pointer.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null(b) instead of b.into_non_null().\nThis is so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with Box::from_non_null\nfor automatic cleanup:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{dealloc, Layout};\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    non_null.drop_in_place();\n    dealloc(non_null.as_ptr().cast::<u8>(), Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    drop(Box::from_non_null(non_null));\n}
    \n
    source

    pub fn into_raw_with_allocator(b: Box<T, A>) -> (*mut T, A)

    🔬This is a nightly-only experimental API. (allocator_api)

    Consumes the Box, returning a wrapped raw pointer and the allocator.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw_in function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw_with_allocator(b) instead of b.into_raw_with_allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw_in\nfor automatic cleanup:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::{Allocator, Layout, System};\nuse std::ptr::{self, NonNull};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    let non_null = NonNull::new_unchecked(ptr);\n    alloc.deallocate(non_null.cast(), Layout::new::<String>());\n}
    \n
    source

    pub fn into_non_null_with_allocator(b: Box<T, A>) -> (NonNull<T>, A)

    🔬This is a nightly-only experimental API. (allocator_api)

    Consumes the Box, returning a wrapped NonNull pointer and the allocator.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null_in function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null_with_allocator(b) instead of\nb.into_non_null_with_allocator(). This is so that there is no\nconflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with\nBox::from_non_null_in for automatic cleanup:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nunsafe {\n    non_null.drop_in_place();\n    alloc.deallocate(non_null.cast::<u8>(), Layout::new::<String>());\n}
    \n
    source

    pub fn as_mut_ptr(b: &mut Box<T, A>) -> *mut T

    🔬This is a nightly-only experimental API. (box_as_ptr)

    Returns a raw mutable pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize references to the memory\nmay still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut b = Box::new(0);\n    let ptr1 = Box::as_mut_ptr(&mut b);\n    ptr1.write(1);\n    let ptr2 = Box::as_mut_ptr(&mut b);\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`:\n    ptr1.write(3);\n}
    \n
    source

    pub fn as_ptr(b: &Box<T, A>) -> *const T

    🔬This is a nightly-only experimental API. (box_as_ptr)

    Returns a raw pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    The caller must also ensure that the memory the pointer (non-transitively) points to\nis never written to (except inside an UnsafeCell) using this pointer or any pointer\nderived from it. If you need to mutate the contents of the Box, use as_mut_ptr.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize mutable references to the memory,\nas well as writing to this memory, may still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut v = Box::new(0);\n    let ptr1 = Box::as_ptr(&v);\n    let ptr2 = Box::as_mut_ptr(&mut v);\n    let _val = ptr2.read();\n    // No write to this memory has happened yet, so `ptr1` is still valid.\n    let _val = ptr1.read();\n    // However, once we do a write...\n    ptr2.write(1);\n    // ... `ptr1` is no longer valid.\n    // This would be UB: let _val = ptr1.read();\n}
    \n
    source

    pub const fn allocator(b: &Box<T, A>) -> &A

    🔬This is a nightly-only experimental API. (allocator_api)

    Returns a reference to the underlying allocator.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::allocator(&b) instead of b.allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    1.26.0 · source

    pub fn leak<'a>(b: Box<T, A>) -> &'a mut T
    where\n A: 'a,

    Consumes and leaks the Box, returning a mutable reference,\n&'a mut T.

    \n

    Note that the type T must outlive the chosen lifetime 'a. If the type\nhas only static references, or none at all, then this may be chosen to be\n'static.

    \n

    This function is mainly useful for data that lives for the remainder of\nthe program’s life. Dropping the returned reference will cause a memory\nleak. If this is not acceptable, the reference should first be wrapped\nwith the Box::from_raw function producing a Box. This Box can\nthen be dropped which will properly destroy T and release the\nallocated memory.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::leak(b) instead of b.leak(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Simple usage:

    \n\n
    let x = Box::new(41);\nlet static_ref: &'static mut usize = Box::leak(x);\n*static_ref += 1;\nassert_eq!(*static_ref, 42);
    \n

    Unsized data:

    \n\n
    let x = vec![1, 2, 3].into_boxed_slice();\nlet static_ref = Box::leak(x);\nstatic_ref[0] = 4;\nassert_eq!(*static_ref, [4, 2, 3]);
    \n
    1.63.0 (const: unstable) · source

    pub fn into_pin(boxed: Box<T, A>) -> Pin<Box<T, A>>
    where\n A: 'static,

    Converts a Box<T> into a Pin<Box<T>>. If T does not implement Unpin, then\n*boxed will be pinned in memory and unable to be moved.

    \n

    This conversion does not allocate on the heap and happens in place.

    \n

    This is also available via From.

    \n

    Constructing and pinning a Box with Box::into_pin(Box::new(x))\ncan also be written more concisely using Box::pin(x).\nThis into_pin method is useful if you already have a Box<T>, or you are\nconstructing a (pinned) Box in a different way than with Box::new.

    \n
    §Notes
    \n

    It’s not recommended that crates add an impl like From<Box<T>> for Pin<T>,\nas it’ll introduce an ambiguity when calling Pin::from.\nA demonstration of such a poor impl is shown below.

    \n\n
    struct Foo; // A type defined in this crate.\nimpl From<Box<()>> for Pin<Foo> {\n    fn from(_: Box<()>) -> Pin<Foo> {\n        Pin::new(Foo)\n    }\n}\n\nlet foo = Box::new(());\nlet bar = Pin::from(foo);
    \n
    ",0,"iced::widget::text::StyleFn"],["
    source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source

    pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Box<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Constructs a box from a raw pointer in the given allocator.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw_with_allocator:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let ptr = System.allocate(Layout::new::<i32>())?.as_mut_ptr() as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw_in(ptr, System);\n}
    \n
    source

    pub const unsafe fn from_non_null_in(raw: NonNull<T>, alloc: A) -> Box<T, A>

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Constructs a box from a NonNull pointer in the given allocator.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull pointer\nusing Box::into_non_null_with_allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let non_null = System.allocate(Layout::new::<i32>())?.cast::<i32>();\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null_in(non_null, System);\n}
    \n
    1.4.0 · source

    pub fn into_raw(b: Box<T, A>) -> *mut T

    Available on crate feature advanced only.

    Consumes the Box, returning a wrapped raw pointer.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw(b) instead of b.into_raw(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw\nfor automatic cleanup:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    use std::alloc::{dealloc, Layout};\nuse std::ptr;\n\nlet x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    dealloc(ptr as *mut u8, Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    drop(Box::from_raw(ptr));\n}
    \n
    source

    pub fn into_non_null(b: Box<T, A>) -> NonNull<T>

    🔬This is a nightly-only experimental API. (box_vec_non_null)
    Available on crate feature advanced only.

    Consumes the Box, returning a wrapped NonNull pointer.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null(b) instead of b.into_non_null().\nThis is so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with Box::from_non_null\nfor automatic cleanup:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{dealloc, Layout};\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    non_null.drop_in_place();\n    dealloc(non_null.as_ptr().cast::<u8>(), Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    drop(Box::from_non_null(non_null));\n}
    \n
    source

    pub fn into_raw_with_allocator(b: Box<T, A>) -> (*mut T, A)

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Consumes the Box, returning a wrapped raw pointer and the allocator.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw_in function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw_with_allocator(b) instead of b.into_raw_with_allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw_in\nfor automatic cleanup:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::{Allocator, Layout, System};\nuse std::ptr::{self, NonNull};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    let non_null = NonNull::new_unchecked(ptr);\n    alloc.deallocate(non_null.cast(), Layout::new::<String>());\n}
    \n
    source

    pub fn into_non_null_with_allocator(b: Box<T, A>) -> (NonNull<T>, A)

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Consumes the Box, returning a wrapped NonNull pointer and the allocator.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null_in function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null_with_allocator(b) instead of\nb.into_non_null_with_allocator(). This is so that there is no\nconflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with\nBox::from_non_null_in for automatic cleanup:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nunsafe {\n    non_null.drop_in_place();\n    alloc.deallocate(non_null.cast::<u8>(), Layout::new::<String>());\n}
    \n
    source

    pub fn as_mut_ptr(b: &mut Box<T, A>) -> *mut T

    🔬This is a nightly-only experimental API. (box_as_ptr)
    Available on crate feature advanced only.

    Returns a raw mutable pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize references to the memory\nmay still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut b = Box::new(0);\n    let ptr1 = Box::as_mut_ptr(&mut b);\n    ptr1.write(1);\n    let ptr2 = Box::as_mut_ptr(&mut b);\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`:\n    ptr1.write(3);\n}
    \n
    source

    pub fn as_ptr(b: &Box<T, A>) -> *const T

    🔬This is a nightly-only experimental API. (box_as_ptr)
    Available on crate feature advanced only.

    Returns a raw pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    The caller must also ensure that the memory the pointer (non-transitively) points to\nis never written to (except inside an UnsafeCell) using this pointer or any pointer\nderived from it. If you need to mutate the contents of the Box, use as_mut_ptr.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize mutable references to the memory,\nas well as writing to this memory, may still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut v = Box::new(0);\n    let ptr1 = Box::as_ptr(&v);\n    let ptr2 = Box::as_mut_ptr(&mut v);\n    let _val = ptr2.read();\n    // No write to this memory has happened yet, so `ptr1` is still valid.\n    let _val = ptr1.read();\n    // However, once we do a write...\n    ptr2.write(1);\n    // ... `ptr1` is no longer valid.\n    // This would be UB: let _val = ptr1.read();\n}
    \n
    source

    pub const fn allocator(b: &Box<T, A>) -> &A

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Returns a reference to the underlying allocator.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::allocator(&b) instead of b.allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    1.26.0 · source

    pub fn leak<'a>(b: Box<T, A>) -> &'a mut T
    where\n A: 'a,

    Available on crate feature advanced only.

    Consumes and leaks the Box, returning a mutable reference,\n&'a mut T.

    \n

    Note that the type T must outlive the chosen lifetime 'a. If the type\nhas only static references, or none at all, then this may be chosen to be\n'static.

    \n

    This function is mainly useful for data that lives for the remainder of\nthe program’s life. Dropping the returned reference will cause a memory\nleak. If this is not acceptable, the reference should first be wrapped\nwith the Box::from_raw function producing a Box. This Box can\nthen be dropped which will properly destroy T and release the\nallocated memory.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::leak(b) instead of b.leak(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Simple usage:

    \n\n
    let x = Box::new(41);\nlet static_ref: &'static mut usize = Box::leak(x);\n*static_ref += 1;\nassert_eq!(*static_ref, 42);
    \n

    Unsized data:

    \n\n
    let x = vec![1, 2, 3].into_boxed_slice();\nlet static_ref = Box::leak(x);\nstatic_ref[0] = 4;\nassert_eq!(*static_ref, [4, 2, 3]);
    \n
    1.63.0 (const: unstable) · source

    pub fn into_pin(boxed: Box<T, A>) -> Pin<Box<T, A>>
    where\n A: 'static,

    Available on crate feature advanced only.

    Converts a Box<T> into a Pin<Box<T>>. If T does not implement Unpin, then\n*boxed will be pinned in memory and unable to be moved.

    \n

    This conversion does not allocate on the heap and happens in place.

    \n

    This is also available via From.

    \n

    Constructing and pinning a Box with Box::into_pin(Box::new(x))\ncan also be written more concisely using Box::pin(x).\nThis into_pin method is useful if you already have a Box<T>, or you are\nconstructing a (pinned) Box in a different way than with Box::new.

    \n
    §Notes
    \n

    It’s not recommended that crates add an impl like From<Box<T>> for Pin<T>,\nas it’ll introduce an ambiguity when calling Pin::from.\nA demonstration of such a poor impl is shown below.

    \n\n
    struct Foo; // A type defined in this crate.\nimpl From<Box<()>> for Pin<Foo> {\n    fn from(_: Box<()>) -> Pin<Foo> {\n        Pin::new(Foo)\n    }\n}\n\nlet foo = Box::new(());\nlet bar = Pin::from(foo);
    \n
    ",0,"iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,

    source

    pub fn new_in(x: T, alloc: A) -> Box<T, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced and non-no_global_oom_handling only.

    Allocates memory in the given allocator then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::new_in(5, System);
    \n
    source

    pub fn try_new_in(x: T, alloc: A) -> Result<Box<T, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Allocates memory in the given allocator then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::try_new_in(5, System)?;
    \n
    source

    pub fn new_uninit_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced and non-no_global_oom_handling only.

    Constructs a new box with uninitialized contents in the provided allocator.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::new_uninit_in(System);\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5)
    \n
    source

    pub fn try_new_uninit_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Constructs a new box with uninitialized contents in the provided allocator,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::try_new_uninit_in(System)?;\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5);
    \n
    source

    pub fn new_zeroed_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced and non-no_global_oom_handling only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::new_zeroed_in(System);\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    \n
    source

    pub fn try_new_zeroed_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator,\nreturning an error if the allocation fails,

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::try_new_zeroed_in(System)?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    \n
    source

    pub fn pin_in(x: T, alloc: A) -> Pin<Box<T, A>>
    where\n A: 'static + Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on crate feature advanced and non-no_global_oom_handling only.

    Constructs a new Pin<Box<T, A>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin_in(x, alloc)\ndoes the same as Box::into_pin(Box::new_in(x, alloc)). Consider using\ninto_pin if you already have a Box<T, A>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new_in.

    \n
    source

    pub fn into_boxed_slice(boxed: Box<T, A>) -> Box<[T], A>

    🔬This is a nightly-only experimental API. (box_into_boxed_slice)
    Available on crate feature advanced only.

    Converts a Box<T> into a Box<[T]>

    \n

    This conversion does not allocate on the heap and happens in place.

    \n
    source

    pub fn into_inner(boxed: Box<T, A>) -> T

    🔬This is a nightly-only experimental API. (box_into_inner)
    Available on crate feature advanced only.

    Consumes the Box, returning the wrapped value.

    \n
    §Examples
    \n
    #![feature(box_into_inner)]\n\nlet c = Box::new(5);\n\nassert_eq!(Box::into_inner(c), 5);
    \n
    ",0,"iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,

    source

    pub fn new_in(x: T, alloc: A) -> Box<T, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on non-no_global_oom_handling only.

    Allocates memory in the given allocator then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::new_in(5, System);
    \n
    source

    pub fn try_new_in(x: T, alloc: A) -> Result<Box<T, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)

    Allocates memory in the given allocator then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::try_new_in(5, System)?;
    \n
    source

    pub fn new_uninit_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on non-no_global_oom_handling only.

    Constructs a new box with uninitialized contents in the provided allocator.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::new_uninit_in(System);\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5)
    \n
    source

    pub fn try_new_uninit_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new box with uninitialized contents in the provided allocator,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::try_new_uninit_in(System)?;\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5);
    \n
    source

    pub fn new_zeroed_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on non-no_global_oom_handling only.

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::new_zeroed_in(System);\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    \n
    source

    pub fn try_new_zeroed_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator,\nreturning an error if the allocation fails,

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::try_new_zeroed_in(System)?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    \n
    source

    pub fn pin_in(x: T, alloc: A) -> Pin<Box<T, A>>
    where\n A: 'static + Allocator,

    🔬This is a nightly-only experimental API. (allocator_api)
    Available on non-no_global_oom_handling only.

    Constructs a new Pin<Box<T, A>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin_in(x, alloc)\ndoes the same as Box::into_pin(Box::new_in(x, alloc)). Consider using\ninto_pin if you already have a Box<T, A>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new_in.

    \n
    source

    pub fn into_boxed_slice(boxed: Box<T, A>) -> Box<[T], A>

    🔬This is a nightly-only experimental API. (box_into_boxed_slice)

    Converts a Box<T> into a Box<[T]>

    \n

    This conversion does not allocate on the heap and happens in place.

    \n
    source

    pub fn into_inner(boxed: Box<T, A>) -> T

    🔬This is a nightly-only experimental API. (box_into_inner)

    Consumes the Box, returning the wrapped value.

    \n
    §Examples
    \n
    #![feature(box_into_inner)]\n\nlet c = Box::new(5);\n\nassert_eq!(Box::into_inner(c), 5);
    \n
    ",0,"iced::widget::text::StyleFn"],["
    §

    impl<T> Buf for Box<T>
    where\n T: Buf + ?Sized,

    §

    fn remaining(&self) -> usize

    Returns the number of bytes between the current position and the end of\nthe buffer. Read more
    §

    fn chunk(&self) -> &[u8]

    Returns a slice starting at the current position and of length between 0\nand Buf::remaining(). Note that this can return shorter slice (this allows\nnon-continuous internal representation). Read more
    §

    fn chunks_vectored<'b>(&'b self, dst: &mut [IoSlice<'b>]) -> usize

    Available on crate feature std only.
    Fills dst with potentially multiple slices starting at self’s\ncurrent position. Read more
    §

    fn advance(&mut self, cnt: usize)

    Advance the internal cursor of the Buf Read more
    §

    fn has_remaining(&self) -> bool

    Returns true if there are any more bytes to consume Read more
    §

    fn copy_to_slice(&mut self, dst: &mut [u8])

    Copies bytes from self into dst. Read more
    §

    fn get_u8(&mut self) -> u8

    Gets an unsigned 8 bit integer from self. Read more
    §

    fn get_i8(&mut self) -> i8

    Gets a signed 8 bit integer from self. Read more
    §

    fn get_u16(&mut self) -> u16

    Gets an unsigned 16 bit integer from self in big-endian byte order. Read more
    §

    fn get_u16_le(&mut self) -> u16

    Gets an unsigned 16 bit integer from self in little-endian byte order. Read more
    §

    fn get_u16_ne(&mut self) -> u16

    Gets an unsigned 16 bit integer from self in native-endian byte order. Read more
    §

    fn get_i16(&mut self) -> i16

    Gets a signed 16 bit integer from self in big-endian byte order. Read more
    §

    fn get_i16_le(&mut self) -> i16

    Gets a signed 16 bit integer from self in little-endian byte order. Read more
    §

    fn get_i16_ne(&mut self) -> i16

    Gets a signed 16 bit integer from self in native-endian byte order. Read more
    §

    fn get_u32(&mut self) -> u32

    Gets an unsigned 32 bit integer from self in the big-endian byte order. Read more
    §

    fn get_u32_le(&mut self) -> u32

    Gets an unsigned 32 bit integer from self in the little-endian byte order. Read more
    §

    fn get_u32_ne(&mut self) -> u32

    Gets an unsigned 32 bit integer from self in native-endian byte order. Read more
    §

    fn get_i32(&mut self) -> i32

    Gets a signed 32 bit integer from self in big-endian byte order. Read more
    §

    fn get_i32_le(&mut self) -> i32

    Gets a signed 32 bit integer from self in little-endian byte order. Read more
    §

    fn get_i32_ne(&mut self) -> i32

    Gets a signed 32 bit integer from self in native-endian byte order. Read more
    §

    fn get_u64(&mut self) -> u64

    Gets an unsigned 64 bit integer from self in big-endian byte order. Read more
    §

    fn get_u64_le(&mut self) -> u64

    Gets an unsigned 64 bit integer from self in little-endian byte order. Read more
    §

    fn get_u64_ne(&mut self) -> u64

    Gets an unsigned 64 bit integer from self in native-endian byte order. Read more
    §

    fn get_i64(&mut self) -> i64

    Gets a signed 64 bit integer from self in big-endian byte order. Read more
    §

    fn get_i64_le(&mut self) -> i64

    Gets a signed 64 bit integer from self in little-endian byte order. Read more
    §

    fn get_i64_ne(&mut self) -> i64

    Gets a signed 64 bit integer from self in native-endian byte order. Read more
    §

    fn get_uint(&mut self, nbytes: usize) -> u64

    Gets an unsigned n-byte integer from self in big-endian byte order. Read more
    §

    fn get_uint_le(&mut self, nbytes: usize) -> u64

    Gets an unsigned n-byte integer from self in little-endian byte order. Read more
    §

    fn get_uint_ne(&mut self, nbytes: usize) -> u64

    Gets an unsigned n-byte integer from self in native-endian byte order. Read more
    §

    fn get_int(&mut self, nbytes: usize) -> i64

    Gets a signed n-byte integer from self in big-endian byte order. Read more
    §

    fn get_int_le(&mut self, nbytes: usize) -> i64

    Gets a signed n-byte integer from self in little-endian byte order. Read more
    §

    fn get_int_ne(&mut self, nbytes: usize) -> i64

    Gets a signed n-byte integer from self in native-endian byte order. Read more
    §

    fn copy_to_bytes(&mut self, len: usize) -> Bytes

    Consumes len bytes inside self and returns new instance of Bytes\nwith this data. Read more
    §

    fn get_u128(&mut self) -> u128

    Gets an unsigned 128 bit integer from self in big-endian byte order. Read more
    §

    fn get_u128_le(&mut self) -> u128

    Gets an unsigned 128 bit integer from self in little-endian byte order. Read more
    §

    fn get_u128_ne(&mut self) -> u128

    Gets an unsigned 128 bit integer from self in native-endian byte order. Read more
    §

    fn get_i128(&mut self) -> i128

    Gets a signed 128 bit integer from self in big-endian byte order. Read more
    §

    fn get_i128_le(&mut self) -> i128

    Gets a signed 128 bit integer from self in little-endian byte order. Read more
    §

    fn get_i128_ne(&mut self) -> i128

    Gets a signed 128 bit integer from self in native-endian byte order. Read more
    §

    fn get_f32(&mut self) -> f32

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn get_f32_le(&mut self) -> f32

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn get_f32_ne(&mut self) -> f32

    Gets an IEEE754 single-precision (4 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn get_f64(&mut self) -> f64

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in big-endian byte order. Read more
    §

    fn get_f64_le(&mut self) -> f64

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in little-endian byte order. Read more
    §

    fn get_f64_ne(&mut self) -> f64

    Gets an IEEE754 double-precision (8 bytes) floating point number from\nself in native-endian byte order. Read more
    §

    fn take(self, limit: usize) -> Take<Self>
    where\n Self: Sized,

    Creates an adaptor which will read at most limit bytes from self. Read more
    §

    fn chain<U>(self, next: U) -> Chain<Self, U>
    where\n U: Buf,\n Self: Sized,

    Creates an adaptor which will chain this buffer with another. Read more
    §

    fn reader(self) -> Reader<Self>
    where\n Self: Sized,

    Available on crate feature std only.
    Creates an adaptor which implements the Read trait for self. Read more
    ","Buf","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> BufMut for Box<T>
    where\n T: BufMut + ?Sized,

    §

    fn remaining_mut(&self) -> usize

    Returns the number of bytes that can be written from the current\nposition until the end of the buffer is reached. Read more
    §

    fn chunk_mut(&mut self) -> &mut UninitSlice

    Returns a mutable slice starting at the current BufMut position and of\nlength between 0 and BufMut::remaining_mut(). Note that this can be shorter than the\nwhole remainder of the buffer (this allows non-continuous implementation). Read more
    §

    unsafe fn advance_mut(&mut self, cnt: usize)

    Advance the internal cursor of the BufMut Read more
    §

    fn put_slice(&mut self, src: &[u8])

    Transfer bytes into self from src and advance the cursor by the\nnumber of bytes written. Read more
    §

    fn put_u8(&mut self, n: u8)

    Writes an unsigned 8 bit integer to self. Read more
    §

    fn put_i8(&mut self, n: i8)

    Writes a signed 8 bit integer to self. Read more
    §

    fn put_u16(&mut self, n: u16)

    Writes an unsigned 16 bit integer to self in big-endian byte order. Read more
    §

    fn put_u16_le(&mut self, n: u16)

    Writes an unsigned 16 bit integer to self in little-endian byte order. Read more
    §

    fn put_u16_ne(&mut self, n: u16)

    Writes an unsigned 16 bit integer to self in native-endian byte order. Read more
    §

    fn put_i16(&mut self, n: i16)

    Writes a signed 16 bit integer to self in big-endian byte order. Read more
    §

    fn put_i16_le(&mut self, n: i16)

    Writes a signed 16 bit integer to self in little-endian byte order. Read more
    §

    fn put_i16_ne(&mut self, n: i16)

    Writes a signed 16 bit integer to self in native-endian byte order. Read more
    §

    fn put_u32(&mut self, n: u32)

    Writes an unsigned 32 bit integer to self in big-endian byte order. Read more
    §

    fn put_u32_le(&mut self, n: u32)

    Writes an unsigned 32 bit integer to self in little-endian byte order. Read more
    §

    fn put_u32_ne(&mut self, n: u32)

    Writes an unsigned 32 bit integer to self in native-endian byte order. Read more
    §

    fn put_i32(&mut self, n: i32)

    Writes a signed 32 bit integer to self in big-endian byte order. Read more
    §

    fn put_i32_le(&mut self, n: i32)

    Writes a signed 32 bit integer to self in little-endian byte order. Read more
    §

    fn put_i32_ne(&mut self, n: i32)

    Writes a signed 32 bit integer to self in native-endian byte order. Read more
    §

    fn put_u64(&mut self, n: u64)

    Writes an unsigned 64 bit integer to self in the big-endian byte order. Read more
    §

    fn put_u64_le(&mut self, n: u64)

    Writes an unsigned 64 bit integer to self in little-endian byte order. Read more
    §

    fn put_u64_ne(&mut self, n: u64)

    Writes an unsigned 64 bit integer to self in native-endian byte order. Read more
    §

    fn put_i64(&mut self, n: i64)

    Writes a signed 64 bit integer to self in the big-endian byte order. Read more
    §

    fn put_i64_le(&mut self, n: i64)

    Writes a signed 64 bit integer to self in little-endian byte order. Read more
    §

    fn put_i64_ne(&mut self, n: i64)

    Writes a signed 64 bit integer to self in native-endian byte order. Read more
    §

    fn has_remaining_mut(&self) -> bool

    Returns true if there is space in self for more bytes. Read more
    §

    fn put<T>(&mut self, src: T)
    where\n T: Buf,\n Self: Sized,

    Transfer bytes into self from src and advance the cursor by the\nnumber of bytes written. Read more
    §

    fn put_bytes(&mut self, val: u8, cnt: usize)

    Put cnt bytes val into self. Read more
    §

    fn put_u128(&mut self, n: u128)

    Writes an unsigned 128 bit integer to self in the big-endian byte order. Read more
    §

    fn put_u128_le(&mut self, n: u128)

    Writes an unsigned 128 bit integer to self in little-endian byte order. Read more
    §

    fn put_u128_ne(&mut self, n: u128)

    Writes an unsigned 128 bit integer to self in native-endian byte order. Read more
    §

    fn put_i128(&mut self, n: i128)

    Writes a signed 128 bit integer to self in the big-endian byte order. Read more
    §

    fn put_i128_le(&mut self, n: i128)

    Writes a signed 128 bit integer to self in little-endian byte order. Read more
    §

    fn put_i128_ne(&mut self, n: i128)

    Writes a signed 128 bit integer to self in native-endian byte order. Read more
    §

    fn put_uint(&mut self, n: u64, nbytes: usize)

    Writes an unsigned n-byte integer to self in big-endian byte order. Read more
    §

    fn put_uint_le(&mut self, n: u64, nbytes: usize)

    Writes an unsigned n-byte integer to self in the little-endian byte order. Read more
    §

    fn put_uint_ne(&mut self, n: u64, nbytes: usize)

    Writes an unsigned n-byte integer to self in the native-endian byte order. Read more
    §

    fn put_int(&mut self, n: i64, nbytes: usize)

    Writes low nbytes of a signed integer to self in big-endian byte order. Read more
    §

    fn put_int_le(&mut self, n: i64, nbytes: usize)

    Writes low nbytes of a signed integer to self in little-endian byte order. Read more
    §

    fn put_int_ne(&mut self, n: i64, nbytes: usize)

    Writes low nbytes of a signed integer to self in native-endian byte order. Read more
    §

    fn put_f32(&mut self, n: f32)

    Writes an IEEE754 single-precision (4 bytes) floating point number to\nself in big-endian byte order. Read more
    §

    fn put_f32_le(&mut self, n: f32)

    Writes an IEEE754 single-precision (4 bytes) floating point number to\nself in little-endian byte order. Read more
    §

    fn put_f32_ne(&mut self, n: f32)

    Writes an IEEE754 single-precision (4 bytes) floating point number to\nself in native-endian byte order. Read more
    §

    fn put_f64(&mut self, n: f64)

    Writes an IEEE754 double-precision (8 bytes) floating point number to\nself in big-endian byte order. Read more
    §

    fn put_f64_le(&mut self, n: f64)

    Writes an IEEE754 double-precision (8 bytes) floating point number to\nself in little-endian byte order. Read more
    §

    fn put_f64_ne(&mut self, n: f64)

    Writes an IEEE754 double-precision (8 bytes) floating point number to\nself in native-endian byte order. Read more
    §

    fn limit(self, limit: usize) -> Limit<Self>
    where\n Self: Sized,

    Creates an adaptor which can write at most limit bytes to self. Read more
    §

    fn writer(self) -> Writer<Self>
    where\n Self: Sized,

    Available on crate feature std only.
    Creates an adaptor which implements the Write trait for self. Read more
    §

    fn chain_mut<U>(self, next: U) -> Chain<Self, U>
    where\n U: BufMut,\n Self: Sized,

    Creates an adapter which will chain this buffer with another. Read more
    ","BufMut","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<B> BufRead for Box<B>
    where\n B: BufRead + ?Sized,

    source§

    fn fill_buf(&mut self) -> Result<&[u8], Error>

    Returns the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
    source§

    fn consume(&mut self, amt: usize)

    Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to read. Read more
    source§

    fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes into buf until the delimiter byte or EOF is reached. Read more
    source§

    fn read_line(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until a newline (the 0xA byte) is reached, and append\nthem to the provided String buffer. Read more
    source§

    fn has_data_left(&mut self) -> Result<bool, Error>

    🔬This is a nightly-only experimental API. (buf_read_has_data_left)
    Checks if the underlying Read has any data left to be read. Read more
    1.84.0 · source§

    fn skip_until(&mut self, byte: u8) -> Result<usize, Error>

    Skips all bytes until the delimiter byte or EOF is reached. Read more
    1.0.0 · source§

    fn split(self, byte: u8) -> Split<Self>
    where\n Self: Sized,

    Returns an iterator over the contents of this reader split on the byte\nbyte. Read more
    1.0.0 · source§

    fn lines(self) -> Lines<Self>
    where\n Self: Sized,

    Returns an iterator over the lines of this reader. Read more
    ","BufRead","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<T, A> Clone for Box<T, A>
    where\n T: Clone,\n A: Allocator + Clone,

    Available on non-no_global_oom_handling only.
    source§

    fn clone(&self) -> Box<T, A>

    Returns a new box with a clone() of this box’s contents.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet y = x.clone();\n\n// The value is the same\nassert_eq!(x, y);\n\n// But they are unique objects\nassert_ne!(&*x as *const i32, &*y as *const i32);
    \n
    source§

    fn clone_from(&mut self, source: &Box<T, A>)

    Copies source’s contents into self without creating a new allocation.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet mut y = Box::new(10);\nlet yp: *const i32 = &*y;\n\ny.clone_from(&x);\n\n// The value is the same\nassert_eq!(x, y);\n\n// And no allocation occurred\nassert_eq!(yp, &*y);
    \n
    ","Clone","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<C> Connection for Box<C>
    where\n C: Connection + ?Sized,

    §

    fn wait_for_event(&self) -> Result<Event, ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event(\n &self,\n) -> Result<<Box<C> as RequestConnection>::Buf, ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn wait_for_event_with_sequence(&self) -> Result<(Event, u64), ConnectionError>

    Wait for a new event from the X11 server.
    §

    fn wait_for_raw_event_with_sequence(\n &self,\n) -> Result<(<Box<C> as RequestConnection>::Buf, u64), ConnectionError>

    Wait for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event(&self) -> Result<Option<Event>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event(\n &self,\n) -> Result<Option<<Box<C> as RequestConnection>::Buf>, ConnectionError>

    Poll for a new raw/unparsed event from the X11 server.
    §

    fn poll_for_event_with_sequence(\n &self,\n) -> Result<Option<(Event, u64)>, ConnectionError>

    Poll for a new event from the X11 server.
    §

    fn poll_for_raw_event_with_sequence(\n &self,\n) -> Result<Option<(<Box<C> as RequestConnection>::Buf, u64)>, ConnectionError>

    Poll for a new unparsed/raw event from the X11 server.
    §

    fn flush(&self) -> Result<(), ConnectionError>

    Send all pending requests to the server. Read more
    §

    fn setup(&self) -> &Setup

    Get the setup information sent by the X11 server. Read more
    §

    fn generate_id(&self) -> Result<u32, ReplyOrIdError>

    Generate a new X11 identifier. Read more
    ","Connection","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<G, R, A> Coroutine<R> for Box<G, A>
    where\n G: Coroutine<R> + Unpin + ?Sized,\n A: Allocator,

    source§

    type Yield = <G as Coroutine<R>>::Yield

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine yields. Read more
    source§

    type Return = <G as Coroutine<R>>::Return

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine returns. Read more
    source§

    fn resume(\n self: Pin<&mut Box<G, A>>,\n arg: R,\n) -> CoroutineState<<Box<G, A> as Coroutine<R>>::Yield, <Box<G, A> as Coroutine<R>>::Return>

    🔬This is a nightly-only experimental API. (coroutine_trait)
    Resumes the execution of this coroutine. Read more
    ","Coroutine","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<T, A> Debug for Box<T, A>
    where\n T: Debug + ?Sized,\n A: Allocator,

    source§

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

    Formats the value using the given formatter. Read more
    ","Debug","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<T> Default for Box<T>
    where\n T: Default,

    Available on non-no_global_oom_handling only.
    source§

    fn default() -> Box<T>

    Creates a Box<T>, with the Default value for T.

    \n
    ","Default","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    ","Deref","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<T, A> DerefMut for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

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

    Mutably dereferences the value.
    ","DerefMut","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<'de, T> Deserialize<'de> for Box<T>
    where\n T: Deserialize<'de>,

    Available on crate features std or alloc only.
    source§

    fn deserialize<D>(\n deserializer: D,\n) -> Result<Box<T>, <D as Deserializer<'de>>::Error>
    where\n D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    ","Deserialize<'de>","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<T, A> Display for Box<T, A>
    where\n T: Display + ?Sized,\n A: Allocator,

    source§

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

    Formats the value using the given formatter. Read more
    ","Display","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<I, A> DoubleEndedIterator for Box<I, A>
    where\n I: DoubleEndedIterator + ?Sized,\n A: Allocator,

    source§

    fn next_back(&mut self) -> Option<<I as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn nth_back(&mut self, n: usize) -> Option<<I as Iterator>::Item>

    Returns the nth element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> R,\n R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes\nelements starting from the back of the iterator. Read more
    1.27.0 · source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single,\nfinal value, starting from the back. Read more
    1.27.0 · source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    ","DoubleEndedIterator","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<T, A> Drop for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    ","Drop","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.8.0 · source§

    impl<T> Error for Box<T>
    where\n T: Error,

    source§

    fn description(&self) -> &str

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

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

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

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

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

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

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    ","Error","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> EventSource for Box<T>
    where\n T: EventSource,

    Blanket implementation for boxed event sources. [EventSource] is not an\nobject safe trait, so this does not include trait objects.

    \n
    §

    const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = T::NEEDS_EXTRA_LIFECYCLE_EVENTS

    Whether this source needs to be sent the [EventSource::before_sleep]\nand [EventSource::before_handle_events] notifications. These are opt-in because\nthey require more expensive checks, and almost all sources will not need these notifications
    §

    type Event = <T as EventSource>::Event

    The type of events generated by your source.
    §

    type Metadata = <T as EventSource>::Metadata

    Some metadata of your event source Read more
    §

    type Ret = <T as EventSource>::Ret

    The return type of the user callback Read more
    §

    type Error = <T as EventSource>::Error

    The error type returned from\nprocess_events() (not the user callback!).
    §

    fn process_events<F>(\n &mut self,\n readiness: Readiness,\n token: Token,\n callback: F,\n) -> Result<PostAction, <Box<T> as EventSource>::Error>
    where\n F: FnMut(<Box<T> as EventSource>::Event, &mut <Box<T> as EventSource>::Metadata) -> <Box<T> as EventSource>::Ret,

    Process any relevant events Read more
    §

    fn register(\n &mut self,\n poll: &mut Poll,\n token_factory: &mut TokenFactory,\n) -> Result<(), Error>

    Register yourself to this poll instance Read more
    §

    fn reregister(\n &mut self,\n poll: &mut Poll,\n token_factory: &mut TokenFactory,\n) -> Result<(), Error>

    Re-register your file descriptors Read more
    §

    fn unregister(&mut self, poll: &mut Poll) -> Result<(), Error>

    Unregister your file descriptors Read more
    §

    fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>

    Notification that a single poll is about to begin Read more
    §

    fn before_handle_events(&mut self, events: EventIterator<'_>)

    Notification that polling is complete, and [EventSource::process_events] will\nbe called with the given events for this source. The iterator may be empty,\nwhich indicates that no events were generated for this source Read more
    ","EventSource","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    §

    impl<T> EventSource for Box<T>
    where\n T: EventSource,

    Blanket implementation for boxed event sources. [EventSource] is not an\nobject safe trait, so this does not include trait objects.

    \n
    §

    const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = T::NEEDS_EXTRA_LIFECYCLE_EVENTS

    Whether this source needs to be sent the [EventSource::before_sleep]\nand [EventSource::before_handle_events] notifications. These are opt-in because\nthey require more expensive checks, and almost all sources will not need these notifications
    §

    type Event = <T as EventSource>::Event

    The type of events generated by your source.
    §

    type Metadata = <T as EventSource>::Metadata

    Some metadata of your event source Read more
    §

    type Ret = <T as EventSource>::Ret

    The return type of the user callback Read more
    §

    type Error = <T as EventSource>::Error

    The error type returned from\nprocess_events() (not the user callback!).
    §

    fn process_events<F>(\n &mut self,\n readiness: Readiness,\n token: Token,\n callback: F,\n) -> Result<PostAction, <Box<T> as EventSource>::Error>
    where\n F: FnMut(<Box<T> as EventSource>::Event, &mut <Box<T> as EventSource>::Metadata) -> <Box<T> as EventSource>::Ret,

    Process any relevant events Read more
    §

    fn register(\n &mut self,\n poll: &mut Poll,\n token_factory: &mut TokenFactory,\n) -> Result<(), Error>

    Register yourself to this poll instance Read more
    §

    fn reregister(\n &mut self,\n poll: &mut Poll,\n token_factory: &mut TokenFactory,\n) -> Result<(), Error>

    Re-register your file descriptors Read more
    §

    fn unregister(&mut self, poll: &mut Poll) -> Result<(), Error>

    Unregister your file descriptors Read more
    §

    fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>

    Notification that a single poll is about to begin Read more
    §

    fn before_handle_events(&mut self, events: EventIterator<'_>)

    Notification that polling is complete, and [EventSource::process_events] will\nbe called with the given events for this source. The iterator may be empty,\nwhich indicates that no events were generated for this source Read more
    ","EventSource","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.0.0 · source§

    impl<I, A> ExactSizeIterator for Box<I, A>
    where\n I: ExactSizeIterator + ?Sized,\n A: Allocator,

    source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    ","ExactSizeIterator","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.35.0 · source§

    impl<Args, F, A> Fn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: Fn<Args> + ?Sized,\n A: Allocator,

    source§

    extern "rust-call" fn call(\n &self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","Fn","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.35.0 · source§

    impl<Args, F, A> FnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnMut<Args> + ?Sized,\n A: Allocator,

    source§

    extern "rust-call" fn call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnMut","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    1.35.0 · source§

    impl<Args, F, A> FnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnOnce<Args> + ?Sized,\n A: Allocator,

    source§

    type Output = <F as FnOnce<Args>>::Output

    The returned type after the call operator is used.
    source§

    extern "rust-call" fn call_once(\n self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnOnce","iced::widget::text::StyleFn","iced::widget::overlay::menu::StyleFn","iced::widget::button::StyleFn","iced::widget::checkbox::StyleFn","iced::widget::container::StyleFn","iced::widget::pane_grid::StyleFn","iced::widget::pick_list::StyleFn","iced::widget::progress_bar::StyleFn","iced::widget::radio::StyleFn","iced::widget::rule::StyleFn","iced::widget::scrollable::StyleFn","iced::widget::vertical_slider::StyleFn","iced::widget::text_editor::StyleFn","iced::widget::text_input::StyleFn","iced::widget::toggler::StyleFn","iced::widget::svg::StyleFn","iced::widget::qr_code::StyleFn"],["
    source§

    impl<'a, Theme> From<Style> for Box<dyn Fn(&Theme) -> Style + 'a>

    source§

    fn from(style: Style) -> Box<dyn Fn(&Theme) -> Style + 'a>

    Converts to this type from the input type.
    ","From