Struct glyph_packer::SkylinePacker
[−]
[src]
pub struct SkylinePacker<B: Buffer2d> {
// some fields omitted
}pub struct SkylinePacker<B: Buffer2d> {
// some fields omitted
}impl<B: Buffer2d> Packer for SkylinePacker<B>type Buffer = Bfn dimensions(&self) -> (u32, u32)fn set_dimensions(&mut self, w: u32, h: u32)fn new(buf: B) -> SkylinePacker<B>fn pack<O: Buffer2d<Pixel=B>>(&mut self, buf: &O) -> Option<Rect>fn buf(&self) -> &Bfn buf_mut(&mut self) -> &mut Bfn into_buf(self) -> Bfn set_margin(&mut self, val: u32)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).
Search functions by type signature (e.g.
vec -> usize)