Struct kas_text::raster::SpriteDescriptor [−][src]
pub struct SpriteDescriptor(_);
Expand description
A Sprite descriptor
This descriptor includes all important properties of a rastered glyph in a
small, easily hashable value. It is thus ideal for caching rastered glyphs
in a HashMap.
Implementations
Construct
Most parameters come from TextDisplay::glyphs output. See also raster.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SpriteDescriptorimpl Send for SpriteDescriptorimpl Sync for SpriteDescriptorimpl Unpin for SpriteDescriptorimpl UnwindSafe for SpriteDescriptorBlanket Implementations
Mutably borrows from an owned value. Read more
Cast to integer, truncating Read more
Cast to the nearest integer Read more
Cast the floor to an integer Read more
Try converting to integer with truncation Read more
Try converting to the nearest integer Read more
Try converting the floor to an integer Read more
Try convert the ceiling to an integer Read more