Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove traits TextApi, TextApiExt, EditableTextApi #85

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/display/glyph_pos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ impl TextDisplay {
///
/// This may be used as follows:
/// ```no_run
/// # use kas_text::{Glyph, Text, TextApi, TextApiExt, Vec2};
/// # use kas_text::{Glyph, Text, Vec2};
/// # fn draw(_: Vec<(f32, Glyph)>) {}
/// let mut text = Text::new("Some example text");
/// text.prepare();
Expand Down
4 changes: 2 additions & 2 deletions src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub trait FormattableText: std::cmp::PartialEq + std::fmt::Debug {
/// It is expected that [`FontToken::start`] of yielded items is strictly
/// increasing; if not, formatting may not be applied correctly.
///
/// The default [font size][crate::TextApi::set_font_size] (`dpem`) is passed
/// The default [font size][crate::Text::set_font_size] (`dpem`) is passed
/// as a reference.
///
/// For plain text this iterator will be empty.
Expand Down Expand Up @@ -82,7 +82,7 @@ pub trait FormattableTextDyn: std::fmt::Debug {
/// It is expected that [`FontToken::start`] of yielded items is strictly
/// increasing; if not, formatting may not be applied correctly.
///
/// The default [font size][crate::TextApi::set_font_size] (`dpem`) is passed
/// The default [font size][crate::Text::set_font_size] (`dpem`) is passed
/// as a reference.
///
/// For plain text this iterator will be empty.
Expand Down
Loading
Loading