[−][src]Struct bear_lib_terminal::terminal::config::font::Bitmap
A bitmap font override segment repr, constructed with bitmap()
.
Refer to the official documentation.
Methods
impl Bitmap
[src][−]
For all functions consult the corresponding attributes in the official docs.
pub fn size(self, size: Size) -> Self
[src][−]
The size of a single tile in the tileset.
pub fn resize(self, resize: Size) -> Self
[src][−]
The size to resize the image to.
pub fn resize_filter(self, resize_filter: ResizeFilter) -> Self
[src][−]
How to resize the image.
Default: ResizeFilter::Bilinear
.
pub fn resize_mode(self, resize_mode: ResizeMode) -> Self
[src][−]
Resize aspect method.
Default: ResizeMode::Stretch
.
pub fn raw_size(self, raw_size: Size) -> Self
[src][−]
Raw memory size, size
if not specified.
pub fn codepage(self, codepage: String) -> Self
[src][−]
Tileset's codepage.
Default: "ascii"
.
pub fn align(self, align: Align) -> Self
[src][−]
How tiles are to be aligned.
Default: Align::Center
.
pub fn spacing(self, spacing: Size) -> Self
[src][−]
Tile alignment area [cells].
Default: 1x1
.
Trait Implementations
impl Clone for Bitmap
[src][+]
impl ConfigPart for Bitmap
[src][+]
impl Debug for Bitmap
[src][+]
impl Eq for Bitmap
[src]
impl Hash for Bitmap
[src][+]
impl PartialEq<Bitmap> for Bitmap
[src][+]
impl StructuralEq for Bitmap
[src]
impl StructuralPartialEq for Bitmap
[src]
Auto Trait Implementations
impl RefUnwindSafe for Bitmap
impl Send for Bitmap
impl Sync for Bitmap
impl Unpin for Bitmap
impl UnwindSafe for Bitmap
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,