mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-21 09:14:34 +00:00
Merge pull request #625 from betrusted-io/modals-refactor
fix cargo doc errors
This commit is contained in:
commit
8c89189d69
4 changed files with 6 additions and 4 deletions
|
|
@ -65,6 +65,8 @@ cramium-soc = []
|
||||||
precursor = ["blitstr2/precursor"]
|
precursor = ["blitstr2/precursor"]
|
||||||
derive-rkyv = ["rkyv"]
|
derive-rkyv = ["rkyv"]
|
||||||
|
|
||||||
|
doc-deps = ["hosted", "blitstr2/hosted"]
|
||||||
|
|
||||||
std = [
|
std = [
|
||||||
"derive-rkyv",
|
"derive-rkyv",
|
||||||
"locales",
|
"locales",
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ pub struct TypesetWord {
|
||||||
/// overall height for the word
|
/// overall height for the word
|
||||||
pub height: isize,
|
pub height: isize,
|
||||||
/// set if this `word` is not drawable, e.g. a newline placeholder.
|
/// set if this `word` is not drawable, e.g. a newline placeholder.
|
||||||
/// *however* the Vec<GlyphSprite> should still be checked for an insertion point, so that
|
/// *however* the `Vec<GlyphSprite>` should still be checked for an insertion point, so that
|
||||||
/// successive newlines properly get their insertion point drawn
|
/// successive newlines properly get their insertion point drawn
|
||||||
pub non_drawable: bool,
|
pub non_drawable: bool,
|
||||||
/// the position in the originating abstract string of the first character in the word
|
/// the position in the originating abstract string of the first character in the word
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ pub struct TypesetWord {
|
||||||
/// overall height for the word
|
/// overall height for the word
|
||||||
pub height: isize,
|
pub height: isize,
|
||||||
/// set if this `word` is not drawable, e.g. a newline placeholder.
|
/// set if this `word` is not drawable, e.g. a newline placeholder.
|
||||||
/// *however* the Vec<GlyphSprite> should still be checked for an insertion point, so that
|
/// *however* the `Vec<GlyphSprite>` should still be checked for an insertion point, so that
|
||||||
/// successive newlines properly get their insertion point drawn
|
/// successive newlines properly get their insertion point drawn
|
||||||
pub non_drawable: bool,
|
pub non_drawable: bool,
|
||||||
/// the position in the originating abstract string of the first character in the word
|
/// the position in the originating abstract string of the first character in the word
|
||||||
|
|
@ -277,7 +277,7 @@ impl Typesetter {
|
||||||
/// the caller must reset the cursor to the desired resume position, otherwise it will pick
|
/// the caller must reset the cursor to the desired resume position, otherwise it will pick
|
||||||
/// up again at the overflow position.
|
/// up again at the overflow position.
|
||||||
///
|
///
|
||||||
/// The final Vec::<TypesetWord> is snapped to the top left of the Renderable region. This
|
/// The final `Vec::<TypesetWord>` is snapped to the top left of the Renderable region. This
|
||||||
/// needs to be transformed into the final screen coordinate space before blitting.
|
/// needs to be transformed into the final screen coordinate space before blitting.
|
||||||
pub fn typeset(&mut self, strat: OverflowStrategy) -> ComposedType {
|
pub fn typeset(&mut self, strat: OverflowStrategy) -> ComposedType {
|
||||||
// a composition only lasts as long as the lifetime of this call, and is passed back to the caller
|
// a composition only lasts as long as the lifetime of this call, and is passed back to the caller
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ renode = ["utralib/renode", "trng", "gam", "tts-frontend"]
|
||||||
cramium-soc = ["utralib/cramium-soc", "cram-hal-service"]
|
cramium-soc = ["utralib/cramium-soc", "cram-hal-service"]
|
||||||
hosted-baosec = ["ux-api/hosted-baosec", "cramium-emu"]
|
hosted-baosec = ["ux-api/hosted-baosec", "cramium-emu"]
|
||||||
board-baosec = ["ux-api/board-baosec"]
|
board-baosec = ["ux-api/board-baosec"]
|
||||||
doc-deps = ["gam"]
|
doc-deps = ["gam", "ux-api/doc-deps"]
|
||||||
|
|
||||||
tts = []
|
tts = []
|
||||||
ditherpunk = []
|
ditherpunk = []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue