From 99e0a71504456976ba88040f5d1d3bbc347694ea Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 5 Mar 2023 06:35:20 +0100 Subject: Rename `iced_native` to `iced_runtime` --- native/src/font.rs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 native/src/font.rs (limited to 'native/src/font.rs') diff --git a/native/src/font.rs b/native/src/font.rs deleted file mode 100644 index 15359694..00000000 --- a/native/src/font.rs +++ /dev/null @@ -1,19 +0,0 @@ -//! Load and use fonts. -pub use iced_core::font::*; - -use crate::command::{self, Command}; -use std::borrow::Cow; - -/// An error while loading a font. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub enum Error {} - -/// Load a font from its bytes. -pub fn load( - bytes: impl Into>, -) -> Command> { - Command::single(command::Action::LoadFont { - bytes: bytes.into(), - tagger: Box::new(std::convert::identity), - }) -} -- cgit