Fix majority of unresolved documentation links
This commit is contained in:
parent
89d9c45d25
commit
89d9f1d7d2
40 changed files with 117 additions and 137 deletions
|
|
@ -258,11 +258,11 @@ pub mod system {
|
|||
pub mod overlay {
|
||||
//! Display interactive elements on top of other widgets.
|
||||
|
||||
/// A generic [`Overlay`].
|
||||
/// A generic overlay.
|
||||
///
|
||||
/// This is an alias of an `iced_native` element with a default `Renderer`.
|
||||
/// This is an alias of an [`overlay::Element`] with a default `Renderer`.
|
||||
///
|
||||
/// [`Overlay`]: iced_native::Overlay
|
||||
/// [`overlay::Element`]: crate::core::overlay::Element
|
||||
pub type Element<'a, Message, Renderer = crate::Renderer> =
|
||||
crate::core::overlay::Element<'a, Message, Renderer>;
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ pub struct Settings<Flags> {
|
|||
|
||||
/// The default [`Font`] to be used.
|
||||
///
|
||||
/// By default, it uses [`Font::SansSerif`].
|
||||
/// By default, it uses [`Family::SansSerif`](crate::font::Family::SansSerif).
|
||||
pub default_font: Font,
|
||||
|
||||
/// The text size that will be used by default.
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ use std::path::Path;
|
|||
|
||||
/// Creates an icon from an image file.
|
||||
///
|
||||
/// This will return an error in case the file is missing at run-time. You may prefer [`Self::from_file_data`] instead.
|
||||
/// This will return an error in case the file is missing at run-time. You may prefer [`from_file_data`] instead.
|
||||
#[cfg(feature = "image")]
|
||||
pub fn from_file<P: AsRef<Path>>(icon_path: P) -> Result<Icon, Error> {
|
||||
let icon = image::io::Reader::open(icon_path)?.decode()?.to_rgba8();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue