MCPcopy Create free account

hub / github.com/dfrg/swash_demo / functions

Functions417 in github.com/dfrg/swash_demo

Methoddefault
()
src/layout/font/family.rs:39
Methoddefault
()
src/layout/font/index.rs:38
Methoddefault
()
src/layout/font/context.rs:271
Methoddefault
()
src/layout/font/builder.rs:28
Methoddefault
()
src/util/fxhash.rs:173
Methoddefault_level
(types: &[BidiClass])
src/layout/bidi.rs:152
Methoddefault_level_until_pdi
(types: &[BidiClass])
src/layout/bidi.rs:174
Methodderef
(&self)
src/layout/font/shared_data.rs:101
Methoddraw_image
Draws an image with the specified rectangle, depth and color.
src/comp/mod.rs:83
Methoddrop
(&mut self)
src/gfx/mod.rs:85
Methoddrop
(&mut self)
src/util/string.rs:64
Methoddump
(&self, layout: &Paragraph)
src/layout/nav.rs:341
Methoddump_clusters
(&self)
src/layout/layout.rs:14
Methoddump_lines
(&self)
src/comp/image_cache/atlas.rs:282
Methodeq
(&self, other: &Self)
src/layout/font/mod.rs:123
Methodeq
(&self, other: &Self)
src/layout/font/family.rs:48
Methodeq
(&self, other: &Self)
src/comp/image_cache/glyph.rs:215
Methodeq
(&self, other: &Self)
src/util/string.rs:91
Methoderase
Returns the range of text that should be erased based on the current selection. This operation implements the action of the `delete` key.
src/layout/nav.rs:153
Methoderase2
(&mut self, offset: usize)
src/doc/mod.rs:94
Methodfamilies
Returns an iterator over the font families represented by the names.
src/layout/font/family.rs:29
Methodfamily
Returns the family entry.
src/layout/font/index.rs:419
Methodfamily_list
(families: impl Into<FamilyList>)
src/layout/span_style.rs:45
Methodfamily_name
Returns the family name.
src/layout/font/index.rs:427
Methodfeatures
(features: impl Into<Cow<'a, [Setting<u16>]>>)
src/layout/span_style.rs:49
Methodfinish
(&self)
src/util/fxhash.rs:218
Methodfmt
(&self, f: &mut fmt::Formatter)
src/util/string.rs:123
Methodfont_by_id
Returns a font entry for the specified identifier.
src/layout/font/index.rs:338
Methodfonts
Returns an iterator over the fonts in the family.
src/layout/font/index.rs:374
Methodfrom
(value: Direction)
src/layout/span_style.rs:122
Methodfrom
(f: &'a Font)
src/layout/font/mod.rs:131
Methodfrom
(name: &'a str)
src/layout/font/types.rs:76
Methodfrom
(s: &str)
src/layout/font/family.rs:56
Methodfrom
(v: (FontId, Attributes, Attributes))
src/layout/font/context.rs:578
Methodfrom
(c: Color)
src/comp/color.rs:257
Methodfrom
(v: [f32; 4])
src/comp/batch/mod.rs:35
Methodfrom_file
Creates shared data from the specified path.
src/layout/font/shared_data.rs:55
Methodfrom_focus
(focus: Node)
src/layout/nav.rs:348
Methodfrom_name
Creates a new color from a CSS name.
src/comp/color.rs:26
Methodfrom_offset
Creates a new selection with a focus nearest to the character with the specified byte offset.
src/layout/nav.rs:90
Methodfrom_point
Creates a new selection with the focus at the specified point.
src/layout/nav.rs:34
Methodfrom_point_direct
(layout: &Paragraph, mut x: f32, y: f32)
src/layout/nav.rs:534
Methodfrom_visual_cluster
(layout: &Paragraph, mut index: u32, mut after: bool)
src/layout/nav.rs:572
Methodget
(&self)
src/layout/font/fallback.rs:29
Methodget
(&self)
src/layout/font/index_data.rs:222
Methodget_image
(&mut self, image: ImageId)
src/comp/image_cache/glyph.rs:109
Methodglyph_metrics
Returns glyph metrics for the font and the specified normalized variation coordinates.
src/layout/font/mod.rs:83
Methodglyphs
( &self, detail: &[DetailedClusterData], glyphs: &'a [GlyphData], )
src/layout/layout_data.rs:57
Methodhash
(&self, state: &mut H)
src/comp/image_cache/glyph.rs:223
Methodhash
(&self, hasher: &mut H)
src/util/string.rs:117
Methodheight
Returns the height of the atlas.
src/comp/image_cache/atlas.rs:30
Methodheight
(&self)
src/gfx/mod.rs:127
Methodindex
Returns the index of the font in the source.
src/layout/font/index.rs:409
Methodinstances
Returns an iterator over the named instances for the font.
src/layout/font/mod.rs:61
Methodis_continuation
Returns true if the cluster is a continuation of a ligature.
src/layout/layout.rs:471
Methodis_last_continuation
(&self)
src/layout/layout_data.rs:49
Methodis_ligature
(&self)
src/layout/layout_data.rs:41
Methodis_newline
(&self)
src/layout/layout_data.rs:53
Methodlevel
Returns the bidi level of the run.
src/layout/layout.rs:284
Methodlibrary
Returns the underlying font library.
src/layout/font/context.rs:45
Methodline_from_point
Creates a new selection bounding the line at the specified point.
src/layout/nav.rs:81
Functionmain
()
build.rs:6
Functionmain
()
src/main.rs:21
Methodname
Returns the name of the family.
src/layout/font/index.rs:369
Methodnew
(layout: &'a mut LayoutData, lines: &'a mut LineLayoutData)
src/layout/line_breaker.rs:28
Methodnew
Creates a new layout state.
src/layout/builder_data.rs:126
Methodnew
Creates a new resolver.
src/layout/bidi.rs:30
Methodnew
Creates a new empty paragraph.
src/layout/layout.rs:20
Methodnew
Creates a new layout context with the specified font library.
src/layout/builder.rs:25
Methodnew
(index: StaticIndex)
src/layout/font/library.rs:18
Methodnew
Creates shared data from the specified bytes.
src/layout/font/shared_data.rs:48
Methodnew
Creates a new font descriptor from a CSS style list of family names.
src/layout/font/family.rs:15
Methodnew
(library: FontLibrary)
src/layout/font/context.rs:30
Methodnew
()
src/layout/font/fallback.rs:9
Methodnew
()
src/layout/font/builder.rs:175
Methodnew
Creates a new compositor.
src/comp/mod.rs:32
Methodnew
Creates a new color from RGBA components.
src/comp/color.rs:21
Methodnew
Creates a new rectangle.
src/comp/batch/mod.rs:24
Methodnew
()
src/comp/image_cache/glyph.rs:27
Methodnew
(generation: u8, index: u32, alpha: bool)
src/comp/image_cache/mod.rs:49
Methodnew
Creates a new atlas with the specified dimensions.
src/comp/image_cache/atlas.rs:13
Methodnew
Creates a new image cache.
src/comp/image_cache/cache.rs:18
Methodnew
()
src/gfx/device.rs:14
Methodnew
(kind: BufferKind)
src/gfx/mod.rs:35
Methodnew
()
src/util/atomic.rs:6
Methodnew
(s: &str)
src/util/string.rs:18
Methodnext
(&mut self)
src/layout/layout.rs:355
Methodnext
(&self)
src/util/atomic.rs:10
Methodoffset
Returns the byte offset of the cluster in the source text.
src/layout/layout.rs:486
Methodparse
Parses a generic font family from CSS style names.
src/layout/font/types.rs:52
Methodparse
Creates a new color from a CSS style color definition.
src/comp/color.rs:175
Methodpartial_cmp
(&self, other: &Self)
src/layout/nav.rs:727
Methodprune
(&mut self, epoch: Epoch, target_size: usize)
src/layout/font/context.rs:444
Methodquantize
Skia quantizes subpixel offsets into 1/4 increments. Given the absolute position, return the quantized increment
src/comp/image_cache/glyph.rs:335
Methodquery
Returns a font entry that matches the specified family and attributes.
src/layout/font/index.rs:293
Methodquery
Returns the font that most closely matches the specified attributes.
src/layout/font/index_data.rs:40
Methodrange
Returns the source range for the currently selected text. Note that the ordering of this range is dependent on the direction in which the text was sel
src/layout/nav.rs:133
Methodrange
Returns the byte range of the cluster in the source text.
src/layout/layout.rs:491
Methodremove_image
Removes the image from the compositor.
src/comp/mod.rs:70
Functionreorder
Computes an ordering for a sequence of bidi runs based on levels.
src/layout/bidi.rs:648
← previousnext →301–400 of 417, ranked by callers