Enum Kind
pub enum Kind {
+Kind in iced::advanced::clipboard - Rust 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 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§
Trait Implementations§
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 Swhere
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 Module clipboard
Available on crate feature advanced
only.Expand description
Access the clipboard.
+iced::advanced::clipboard - Rust
\ 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 Struct Null
pub struct Null;
Available on crate feature advanced
only.Expand description
A null implementation of the Clipboard
trait.
-Trait Implementations§
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 Swhere
+Null in iced::advanced::clipboard - Rust pub struct Null;
Available on crate feature advanced
only.Expand description
A null implementation of the Clipboard
trait.
+Trait Implementations§
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 Swhere
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 Trait Clipboard
pub trait Clipboard {
+Clipboard in iced::advanced::clipboard - Rust 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§
Implementations on Foreign Types§
Implementors§
\ No newline at end of file
+
Required Methods§
Implementations on Foreign Types§
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 Enum FilterMethod
pub enum FilterMethod {
+FilterMethod in iced::advanced::image - Rust pub enum FilterMethod {
Linear,
Nearest,
}
Available on crate feature advanced
only.Expand description
Image filtering strategy.
Variants§
Trait Implementations§
§impl Clone for FilterMethod
§fn clone(&self) -> FilterMethod
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more§impl Debug for FilterMethod
§impl Default for FilterMethod
§fn default() -> FilterMethod
Returns the “default value” for a type. Read more§impl Hash for FilterMethod
Trait Implementations§
source§impl Clone for FilterMethod
source§fn clone(&self) -> FilterMethod
Returns a copy of the value. Read more1.0.0 · source§fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read moresource§impl Debug for FilterMethod
source§impl Default for FilterMethod
source§fn default() -> FilterMethod
Returns the “default value” for a type. Read moresource§impl Hash for FilterMethod
§impl PartialEq for FilterMethod
§impl Copy for FilterMethod
§impl Eq for FilterMethod
§impl StructuralPartialEq for FilterMethod
Auto Trait Implementations§
§impl Freeze for FilterMethod
§impl RefUnwindSafe for FilterMethod
§impl Send for FilterMethod
§impl Sync for FilterMethod
§impl Unpin for FilterMethod
§impl UnwindSafe for FilterMethod
Blanket Implementations§
source§impl PartialEq for FilterMethod
source§impl Copy for FilterMethod
source§impl Eq for FilterMethod
source§impl StructuralPartialEq for FilterMethod
Auto Trait Implementations§
§impl Freeze for FilterMethod
§impl RefUnwindSafe for FilterMethod
§impl Send for FilterMethod
§impl Sync for FilterMethod
§impl Unpin for FilterMethod
§impl UnwindSafe for FilterMethod
Blanket Implementations§
source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
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 Enum Handle
pub enum Handle {
+Handle in iced::advanced::image - Rust
Implementations§
Implementations§
source§impl Handle
sourcepub fn from_path<T>(path: T) -> Handle
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.
+sourcepub 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.
+Trait Implementations§
§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§
Trait Implementations§
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 Swhere
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 Module image
Available on crate feature advanced
only.Expand description
Load and draw raster graphics.
+iced::advanced::image - Rust 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§
- Image filtering strategy.
- A handle of some image data.
Traits§
- A
Renderer
that can render raster graphics.
\ 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 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 Hash for Id
§fn hash<__H>(&self, state: &mut __H)where
+Id in iced::advanced::image - Rust pub struct Id(/* private fields */);
Available on crate feature advanced
only.Expand description
The unique identifier of some Handle
data.
+Trait Implementations§
source§impl Ord for Id
§impl PartialOrd for Id
source§impl PartialOrd for Id
§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 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 Swhere
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 Struct Image
pub struct Image<H = Handle> {
+Image in iced::advanced::image - Rust 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 filter_method(self, filter_method: FilterMethod) -> Image
Sets the filter method of the Image
.
-Trait Implementations§
§impl<H> StructuralPartialEq for Image<H>
Auto Trait Implementations§
§impl<H> Freeze for Image<H>where
+Implementations§
source§impl Image
sourcepub fn filter_method(self, filter_method: FilterMethod) -> Image
Sets the filter method of the Image
.
+Trait Implementations§
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 Trait Renderer
pub trait Renderer: Renderer {
+Renderer in iced::advanced::image - Rust 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§
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§
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.Implementations on Foreign Types§
source§impl<A, B> Renderer for Renderer<A, B>
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 Enum Axis
pub enum Axis {
+Axis in iced::advanced::layout::flex - Rust pub enum Axis {
Horizontal,
Vertical,
}
Available on crate feature advanced
only.Expand description
The main axis of a flex layout.
Variants§
Trait Implementations§
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§
Trait Implementations§
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 Swhere
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 Function resolve
pub fn resolve<Message, Theme, Renderer>(
+resolve in iced::advanced::layout::flex - Rust 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],
) -> Nodewhere
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 Module flex
Available on crate feature advanced
only.Expand description
Distribute elements using a flex-based layout.
+iced::advanced::layout::flex - Rust
\ 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 Function atomic
pub fn atomic(
+atomic in iced::advanced::layout - Rust 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 Function contained
pub fn contained(
+contained in iced::advanced::layout - Rust 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 Function next_to_each_other
pub fn next_to_each_other(
+next_to_each_other in iced::advanced::layout - Rust 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 Function padded
pub fn padded(
+padded in iced::advanced::layout - Rust 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 Function positioned
pub fn positioned(
+positioned in iced::advanced::layout - Rust 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 Function sized
pub fn sized(
+sized in iced::advanced::layout - Rust 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 Module layout
Available on crate feature advanced
only.Expand description
Position your widgets properly.
+iced::advanced::layout - Rust 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§
- Computes the resulting
Node
that fits the Limits
given
some width and height requirements and a closure that produces
diff --git a/iced/advanced/layout/struct.Layout.html b/iced/advanced/layout/struct.Layout.html
index b52d5e2d30..d623dca942 100644
--- a/iced/advanced/layout/struct.Layout.html
+++ b/iced/advanced/layout/struct.Layout.html
@@ -1,13 +1,13 @@
-Layout in iced::advanced::layout - Rust 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 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::layout - Rust 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§
Trait Implementations§
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§
Trait Implementations§
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 Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
diff --git a/iced/advanced/layout/struct.Limits.html b/iced/advanced/layout/struct.Limits.html
index e03660c78a..14382178bc 100644
--- a/iced/advanced/layout/struct.Limits.html
+++ b/iced/advanced/layout/struct.Limits.html
@@ -1,17 +1,17 @@
-Limits in iced::advanced::layout - Rust Struct Limits
pub struct Limits { /* private fields */ }
Available on crate feature advanced
only.Expand description
A set of size constraints for layouting.
-Implementations§
§impl Limits
pub fn width(self, width: impl Into<Length>) -> Limits
Applies a width constraint to the current Limits
.
-pub fn height(self, height: impl Into<Length>) -> Limits
Applies a height constraint to the current Limits
.
-pub fn min_width(self, min_width: f32) -> Limits
Applies a minimum width constraint to the current Limits
.
-pub fn max_width(self, max_width: f32) -> Limits
Applies a maximum width constraint to the current Limits
.
-pub fn min_height(self, min_height: f32) -> Limits
Applies a minimum height constraint to the current Limits
.
-pub fn max_height(self, max_height: f32) -> Limits
Applies a maximum height constraint to the current Limits
.
-pub fn resolve(
+Limits in iced::advanced::layout - Rust pub struct Limits { /* private fields */ }
Available on crate feature advanced
only.Expand description
A set of size constraints for layouting.
+Implementations§
source§impl Limits
sourcepub fn width(self, width: impl Into<Length>) -> Limits
Applies a width constraint to the current Limits
.
+sourcepub fn height(self, height: impl Into<Length>) -> Limits
Applies a height constraint to the current Limits
.
+sourcepub fn min_width(self, min_width: f32) -> Limits
Applies a minimum width constraint to the current Limits
.
+sourcepub fn max_width(self, max_width: f32) -> Limits
Applies a maximum width constraint to the current Limits
.
+sourcepub fn min_height(self, min_height: f32) -> Limits
Applies a minimum height constraint to the current Limits
.
+sourcepub fn max_height(self, max_height: f32) -> Limits
Applies a maximum height constraint to the current Limits
.
+Trait Implementations§
§impl Copy for Limits
§impl StructuralPartialEq for Limits
Auto Trait Implementations§
§impl Freeze for Limits
§impl RefUnwindSafe for Limits
§impl Send for Limits
§impl Sync for Limits
§impl Unpin for Limits
§impl UnwindSafe for Limits
Blanket Implementations§
Trait Implementations§
source§impl Copy for Limits
source§impl StructuralPartialEq for Limits
Auto Trait Implementations§
§impl Freeze for Limits
§impl RefUnwindSafe for Limits
§impl Send for Limits
§impl Sync for Limits
§impl Unpin for Limits
§impl UnwindSafe for Limits
Blanket Implementations§
source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
diff --git a/iced/advanced/layout/struct.Node.html b/iced/advanced/layout/struct.Node.html
index b16a75189c..e4d02bfc42 100644
--- a/iced/advanced/layout/struct.Node.html
+++ b/iced/advanced/layout/struct.Node.html
@@ -1,27 +1,27 @@
-Node in iced::advanced::layout - Rust Struct Node
pub struct Node { /* private fields */ }
Available on crate feature advanced
only.Expand description
The bounds of an element and its children.
-Implementations§
§impl Node
pub const fn with_children(size: Size, children: Vec<Node>) -> Node
pub fn align(
+Node in iced::advanced::layout - Rust pub struct Node { /* private fields */ }
Available on crate feature advanced
only.Expand description
The bounds of an element and its children.
+Implementations§
source§impl Node
sourcepub fn align(
self,
horizontal_alignment: Alignment,
vertical_alignment: Alignment,
space: Size,
) -> Node
Aligns the Node
in the given space.
-pub fn align_mut(
+
sourcepub fn align_mut(
&mut self,
horizontal_alignment: Alignment,
vertical_alignment: Alignment,
space: Size,
)
Mutable reference version of Self::align
.
-pub fn move_to_mut(&mut self, position: impl Into<Point>)
Mutable reference version of Self::move_to
.
-pub fn translate(self, translation: impl Into<Vector>) -> Node
Translates the Node
by the given translation.
-pub fn translate_mut(&mut self, translation: impl Into<Vector>)
Translates the Node
by the given translation.
-Trait Implementations§
Auto Trait Implementations§
§impl Freeze for Node
§impl RefUnwindSafe for Node
§impl Send for Node
§impl Sync for Node
§impl Unpin for Node
§impl UnwindSafe for Node
Blanket Implementations§
sourcepub fn move_to(self, position: impl Into<Point>) -> Node
Moves the Node
to the given position.
+sourcepub fn move_to_mut(&mut self, position: impl Into<Point>)
Mutable reference version of Self::move_to
.
+sourcepub fn translate(self, translation: impl Into<Vector>) -> Node
Translates the Node
by the given translation.
+sourcepub fn translate_mut(&mut self, translation: impl Into<Vector>)
Translates the Node
by the given translation.
+
Trait Implementations§
Auto Trait Implementations§
§impl Freeze for Node
§impl RefUnwindSafe for Node
§impl Send for Node
§impl Sync for Node
§impl Unpin for Node
§impl UnwindSafe for Node
Blanket Implementations§
source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
diff --git a/iced/advanced/mouse/click/enum.Kind.html b/iced/advanced/mouse/click/enum.Kind.html
index 0e02b85156..b09e83a171 100644
--- a/iced/advanced/mouse/click/enum.Kind.html
+++ b/iced/advanced/mouse/click/enum.Kind.html
@@ -1,4 +1,4 @@
-Kind in iced::advanced::mouse::click - Rust Enum Kind
pub enum Kind {
+Kind in iced::advanced::mouse::click - Rust pub enum Kind {
Single,
Double,
Triple,
@@ -6,7 +6,7 @@
Variants§
Trait Implementations§
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§
Trait Implementations§
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 Swhere
T: Real + Zero + Arithmetics + Clone,
Swp: WhitePoint<T>,
Dwp: WhitePoint<T>,
diff --git a/iced/advanced/mouse/click/index.html b/iced/advanced/mouse/click/index.html
index 7b3afba52c..fcc28834fc 100644
--- a/iced/advanced/mouse/click/index.html
+++ b/iced/advanced/mouse/click/index.html
@@ -1,2 +1,2 @@
-iced::advanced::mouse::click - Rust Module click
Available on crate feature advanced
only.Expand description
Track mouse clicks.
+iced::advanced::mouse::click - Rust