Trait makepad_draw::font_atlas::ShapeCacheKey
source · pub trait ShapeCacheKey {
// Required methods
fn direction(&self) -> Direction;
fn string(&self) -> &str;
}Required Methods§
Trait Implementations§
source§impl<'a> Borrow<dyn ShapeCacheKey + 'a> for (Direction, Rc<str>)
impl<'a> Borrow<dyn ShapeCacheKey + 'a> for (Direction, Rc<str>)
source§fn borrow(&self) -> &(dyn ShapeCacheKey + 'a)
fn borrow(&self) -> &(dyn ShapeCacheKey + 'a)
Immutably borrows from an owned value. Read more